Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.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.001841/0.001841, allocations: 109.2 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.001801/0.001801, allocations: 218.1 kB / 23.79 MB, free: 4.703 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.375/1.375, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2178/0.2178, allocations: 44.24 MB / 331.1 MB, free: 9.523 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.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",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.002197/0.002197, allocations: 71.84 kB / 468.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1396, allocations: 61.04 MB / 0.5169 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4158/0.5554, allocations: 152.7 MB / 0.666 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.5573, allocations: 1.217 MB / 0.6672 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.5574, allocations: 0 / 0.6672 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.5576, allocations: 43.8 kB / 0.6673 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.5601, allocations: 0.8943 MB / 0.6681 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.001e-06/0.5601, allocations: 0 / 0.6681 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.5603, allocations: 51.72 kB / 0.6682 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.5603, allocations: 6.047 kB / 0.6682 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.5603, allocations: 11.94 kB / 0.6682 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.5604, allocations: 27.91 kB / 0.6682 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.5604, allocations: 0 / 0.6682 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.5635, allocations: 1.7 MB / 0.6699 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.5635, allocations: 7.984 kB / 0.6699 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.5636, allocations: 15.94 kB / 0.6699 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.5653, allocations: 0.7852 MB / 0.6707 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5653, allocations: 0 / 0.6707 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5653, allocations: 0 / 0.6707 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5653, allocations: 0 / 0.6707 GB, free: 6.309 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007528/0.5661, allocations: 389 kB / 0.6711 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5661, allocations: 12.03 kB / 0.6711 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.604e-05/0.5661, allocations: 4.188 kB / 0.6711 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.5662, allocations: 42.67 kB / 0.6711 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.5662, allocations: 8.891 kB / 0.6711 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.25e-05/0.5663, allocations: 106.1 kB / 0.6712 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.5663, allocations: 4 kB / 0.6712 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.5663, allocations: 0 / 0.6712 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.5665, allocations: 75.25 kB / 0.6713 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5665, allocations: 4 kB / 0.6713 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.5665, allocations: 0 / 0.6713 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.5665, allocations: 4 kB / 0.6713 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.5666, allocations: 55.91 kB / 0.6714 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.5671, allocations: 267.8 kB / 0.6716 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.699e-05/0.5672, allocations: 34.61 kB / 0.6717 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.5672, allocations: 12.91 kB / 0.6717 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-05/0.5673, allocations: 12 kB / 0.6717 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5673, allocations: 38.55 kB / 0.6717 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5673, allocations: 0 / 0.6717 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001777/0.5675, allocations: 49.62 kB / 0.6718 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5676, allocations: 59.34 kB / 0.6718 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.5677, allocations: 102 kB / 0.6719 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.5677, allocations: 25.7 kB / 0.6719 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.5677, allocations: 99.97 kB / 0.672 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.5678, allocations: 15.75 kB / 0.672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.5678, allocations: 21.72 kB / 0.6721 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.568, allocations: 322.8 kB / 0.6724 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.568, allocations: 4 kB / 0.6724 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.568, allocations: 31.42 kB / 0.6724 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.5681, allocations: 55.38 kB / 0.6725 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5681, allocations: 0 / 0.6725 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001118/0.5682, allocations: 61.61 kB / 0.6725 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5682, allocations: 11.94 kB / 0.6725 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.5682, allocations: 0 / 0.6725 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5683, allocations: 0 / 0.6725 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.5683, allocations: 21.25 kB / 0.6726 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5683, allocations: 0 / 0.6726 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.5684, allocations: 4.094 kB / 0.6726 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5684, allocations: 4 kB / 0.6726 GB, free: 4.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 9.382e-05/0.5685, allocations: 117.8 kB / 0.6727 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.5685, allocations: 7.891 kB / 0.6727 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.5687, allocations: 58.72 kB / 0.6727 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5687, allocations: 0 / 0.6727 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5687, allocations: 3.938 kB / 0.6727 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.5687, allocations: 4 kB / 0.6727 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.5689, allocations: 140.7 kB / 0.6729 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5689, allocations: 0 / 0.6729 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.5689, allocations: 10.62 kB / 0.6729 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5689, allocations: 3.938 kB / 0.6729 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.5689, allocations: 0 / 0.6729 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5689, allocations: 0 / 0.6729 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5689, allocations: 0 / 0.6729 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.5691, allocations: 139.5 kB / 0.673 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.5691, allocations: 4 kB / 0.673 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.5691, allocations: 7.938 kB / 0.673 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.304e-05/0.5691, allocations: 3.984 kB / 0.673 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.5691, allocations: 0 / 0.673 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5692, allocations: 4 kB / 0.673 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.5692, allocations: 79.28 kB / 0.6731 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5692, allocations: 3.938 kB / 0.6731 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004628/0.5697, allocations: 100.8 kB / 0.6732 GB, free: 3.438 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.001043/0.5707, allocations: 0.8296 MB / 0.674 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.5708, allocations: 23.92 kB / 0.6741 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5708, allocations: 0 / 0.6741 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-05/0.5708, allocations: 8 kB / 0.6741 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.5711, allocations: 8.188 kB / 0.6741 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.5717, allocations: 213.4 kB / 0.6743 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.572, allocations: 0.6845 MB / 0.6749 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.311e-05/0.5721, allocations: 14.95 kB / 0.675 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.5721, allocations: 15.44 kB / 0.675 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.5721, allocations: 0 / 0.675 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.5962, allocations: 3.943 MB / 0.6788 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.77, allocations: 19.22 kB / 0.6788 GB, free: 13.6 MB / 0.5137 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.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.762067025003489]