Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 105 kB / 21.96 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 210.1 kB / 25.25 MB, free: 3.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 60.42 kB / 348 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2567, allocations: 49.16 MB / 397.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002775/0.2595, allocations: 1.98 MB / 399.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003281/0.2598, allocations: 160.1 kB / 399.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.2599, allocations: 3.906 kB / 399.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.26, allocations: 26.38 kB / 399.3 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.2601, allocations: 52.16 kB / 399.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.2603, allocations: 42.02 kB / 399.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.2605, allocations: 180.1 kB / 399.6 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2606, allocations: 56.2 kB / 399.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.2607, allocations: 66.23 kB / 399.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2608, allocations: 69.98 kB / 399.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.2608, allocations: 13.91 kB / 399.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.279e-05/0.2609, allocations: 14.19 kB / 399.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.2609, allocations: 42.58 kB / 399.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.261, allocations: 63.88 kB / 399.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.2612, allocations: 183 kB / 400.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2612, allocations: 3.938 kB / 400.1 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2612, allocations: 0 / 400.1 MB, free: 7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2612, allocations: 1.344 kB / 400.1 MB, free: 7 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000543/0.2617, allocations: 395 kB / 400.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2618, allocations: 18.11 kB / 400.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.56e-05/0.2618, allocations: 4.469 kB / 400.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.2618, allocations: 52.42 kB / 400.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.2619, allocations: 19.75 kB / 400.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2621, allocations: 158.7 kB / 400.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2621, allocations: 15.31 kB / 400.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.2621, allocations: 15.81 kB / 400.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2624, allocations: 202.5 kB / 400.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2624, allocations: 0 / 400.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2624, allocations: 10.84 kB / 400.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2624, allocations: 8.25 kB / 400.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.2626, allocations: 95.5 kB / 401 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009524/0.2636, allocations: 0.8888 MB / 401.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2637, allocations: 105.2 kB / 402 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.2637, allocations: 38.59 kB / 402.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2637, allocations: 3 kB / 402.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.2637, allocations: 37.69 kB / 402.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.2638, allocations: 0 / 402.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002768/0.264, allocations: 131.4 kB / 402.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2641, allocations: 106.3 kB / 402.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2642, allocations: 208.1 kB / 402.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.2642, allocations: 25.7 kB / 402.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.2643, allocations: 145.1 kB / 402.7 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2643, allocations: 59.02 kB / 402.8 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.2644, allocations: 43.8 kB / 402.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.2644, allocations: 326 kB / 403.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.2645, allocations: 41.83 kB / 403.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2646, allocations: 145.4 kB / 403.3 MB, free: 4.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.2648, allocations: 200.6 kB / 403.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2648, allocations: 1.469 kB / 403.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002916/0.2651, allocations: 216.4 kB / 403.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2651, allocations: 6.5 kB / 403.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2651, allocations: 8.031 kB / 403.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.2651, allocations: 9.297 kB / 403.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.2653, allocations: 56.61 kB / 403.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2653, allocations: 9.844 kB / 403.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2654, allocations: 28.69 kB / 403.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2654, allocations: 13.86 kB / 403.9 MB, free: 3.902 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.2655, allocations: 131.7 kB / 404 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.2655, allocations: 15.88 kB / 404 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.2656, allocations: 21.8 kB / 404 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2656, allocations: 2.438 kB / 404 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2656, allocations: 4.906 kB / 404 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2656, allocations: 6.047 kB / 404 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.2659, allocations: 200 kB / 404.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2659, allocations: 1.156 kB / 404.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.2661, allocations: 32.11 kB / 404.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2661, allocations: 1.094 kB / 404.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2661, allocations: 2.891 kB / 404.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2661, allocations: 5.922 kB / 404.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2661, allocations: 4.938 kB / 404.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.2663, allocations: 386.5 kB / 404.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2664, allocations: 20.05 kB / 404.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2664, allocations: 6.703 kB / 404.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2665, allocations: 9.156 kB / 404.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.2666, allocations: 11.2 kB / 404.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2666, allocations: 3.797 kB / 404.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.2667, allocations: 153.1 kB / 404.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2667, allocations: 1.031 kB / 404.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.267, allocations: 36.16 kB / 404.9 MB, free: 3.082 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003359/0.2674, allocations: 0.9082 MB / 405.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.2675, allocations: 110.5 kB / 405.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2675, allocations: 0 / 405.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.2676, allocations: 36.47 kB / 405.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.2681, allocations: 40.27 kB / 406 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.2703, allocations: 2.625 MB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2704, allocations: 115 kB / 408.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.999e-05/0.2705, allocations: 21.11 kB / 408.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.2706, allocations: 49.78 kB / 408.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2706, allocations: 4 kB / 408.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2965, allocations: 3.734 MB / 412.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.77, allocations: 11.02 kB / 412.5 MB, free: 14.74 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.97430868493393]