Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.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.001545/0.001545, allocations: 109 kB / 20.48 MB, free: 1.492 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.00149/0.00149, allocations: 214 kB / 23.79 MB, free: 4.707 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.498/1.498, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",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.002261/0.002261, allocations: 63.91 kB / 468.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1269, allocations: 61.05 MB / 0.5169 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4335/0.5604, allocations: 153.6 MB / 0.6669 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004856/0.5652, allocations: 3.689 MB / 0.6705 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.5653, allocations: 0 / 0.6705 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.5655, allocations: 39.8 kB / 0.6706 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.5656, allocations: 27.78 kB / 0.6706 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.567, allocations: 437.8 kB / 0.671 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.5671, allocations: 67.61 kB / 0.6711 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.5671, allocations: 15.97 kB / 0.6711 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.5672, allocations: 27.92 kB / 0.6711 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.5673, allocations: 23.92 kB / 0.6712 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.5673, allocations: 7.938 kB / 0.6712 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.5684, allocations: 0.5143 MB / 0.6717 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.5685, allocations: 11.98 kB / 0.6717 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.5685, allocations: 19.88 kB / 0.6717 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.569, allocations: 317.4 kB / 0.672 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.569, allocations: 7.938 kB / 0.672 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.569, allocations: 0 / 0.672 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.569, allocations: 0 / 0.672 GB, free: 4.973 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005498/0.5696, allocations: 333.7 kB / 0.6723 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5696, allocations: 12.03 kB / 0.6723 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.581e-05/0.5696, allocations: 192 / 0.6723 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.5697, allocations: 38.75 kB / 0.6724 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.5697, allocations: 5.766 kB / 0.6724 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.5698, allocations: 113.5 kB / 0.6725 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.5698, allocations: 8 kB / 0.6725 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.5698, allocations: 8 kB / 0.6725 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.57, allocations: 73.66 kB / 0.6726 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.57, allocations: 0 / 0.6726 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.57, allocations: 4 kB / 0.6726 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.57, allocations: 4 kB / 0.6726 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.5701, allocations: 51.91 kB / 0.6726 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.5706, allocations: 352.8 kB / 0.673 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.5707, allocations: 70.55 kB / 0.673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.5708, allocations: 16.86 kB / 0.6731 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.5722, allocations: 263.8 kB / 0.6733 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5722, allocations: 35.31 kB / 0.6733 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5722, allocations: 0 / 0.6733 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.006904/0.5791, allocations: 0.6727 MB / 0.674 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5792, allocations: 51.41 kB / 0.674 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.5793, allocations: 109.8 kB / 0.6741 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.5793, allocations: 25.7 kB / 0.6742 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.5794, allocations: 92.88 kB / 0.6743 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.5794, allocations: 51.53 kB / 0.6743 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.5796, allocations: 45.61 kB / 0.6744 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5797, allocations: 318.8 kB / 0.6747 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.5799, allocations: 81 kB / 0.6747 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.5802, allocations: 110.5 kB / 0.6748 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.5806, allocations: 199.2 kB / 0.675 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5806, allocations: 0 / 0.675 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006035/0.5812, allocations: 257.6 kB / 0.6753 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5813, allocations: 7.938 kB / 0.6753 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5813, allocations: 0 / 0.6753 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5813, allocations: 4 kB / 0.6753 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.5819, allocations: 47.94 kB / 0.6753 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.582, allocations: 4 kB / 0.6753 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.5825, allocations: 12.56 kB / 0.6753 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.5825, allocations: 11.98 kB / 0.6754 GB, free: 1.312 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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 0.0001559/0.5827, allocations: 129.8 kB / 0.6755 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.5827, allocations: 7.953 kB / 0.6755 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008465/0.5836, allocations: 342.5 kB / 0.6758 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5836, allocations: 7.938 kB / 0.6758 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5836, allocations: 3.625 kB / 0.6758 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.5836, allocations: 7.984 kB / 0.6758 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.5849, allocations: 0.7398 MB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5849, allocations: 0 / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.5855, allocations: 47.84 kB / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5855, allocations: 0 / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.5855, allocations: 8 kB / 0.6766 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5855, allocations: 0 / 0.6766 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5855, allocations: 3.984 kB / 0.6766 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.5861, allocations: 359.3 kB / 0.677 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.5862, allocations: 27.91 kB / 0.677 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.5863, allocations: 0 / 0.677 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.5868, allocations: 12 kB / 0.677 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.5868, allocations: 15.91 kB / 0.677 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.5869, allocations: 15.98 kB / 0.677 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.5869, allocations: 83.28 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5869, allocations: 0 / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004547/0.5874, allocations: 107.7 kB / 0.6772 GB, free: 15.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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.001239/0.5886, allocations: 0.9932 MB / 0.6782 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.5891, allocations: 207.2 kB / 0.6784 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5891, allocations: 0 / 0.6784 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.5894, allocations: 116 kB / 0.6785 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.5899, allocations: 33.5 kB / 0.6785 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.5908, allocations: 322.4 kB / 0.6788 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5911, allocations: 0.697 MB / 0.6795 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000327/0.5915, allocations: 68.81 kB / 0.6796 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.5917, allocations: 43.39 kB / 0.6796 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.5917, allocations: 0 / 0.6796 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.6196, allocations: 7.945 MB / 0.6874 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.68, allocations: 8 kB / 0.6874 GB, free: 4.785 MB / 0.5137 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.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: 14.839457444031723]