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.001456/0.001456, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.001737/0.001737, allocations: 214.2 kB / 22.99 MB, free: 4.879 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.41/1.41, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.2263/0.2263, allocations: 44.27 MB / 330.3 MB, free: 9.289 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",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.002359/0.002359, allocations: 71.91 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1291, allocations: 61.04 MB / 0.5161 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4218/0.5509, allocations: 131 MB / 0.644 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.5526, allocations: 1.078 MB / 0.6451 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.5527, allocations: 0 / 0.6451 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.553, allocations: 31.88 kB / 0.6451 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.5553, allocations: 0.8932 MB / 0.646 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.598e-06/0.5553, allocations: 0 / 0.646 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.5554, allocations: 47.72 kB / 0.646 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.5554, allocations: 4 kB / 0.646 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.5555, allocations: 15.92 kB / 0.646 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.5555, allocations: 23.91 kB / 0.6461 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.203e-06/0.5556, allocations: 0 / 0.6461 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.5579, allocations: 1.38 MB / 0.6474 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.5579, allocations: 7.984 kB / 0.6474 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.558, allocations: 11.94 kB / 0.6474 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.5591, allocations: 0.7501 MB / 0.6482 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5591, allocations: 0 / 0.6482 GB, free: 11.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5591, allocations: 0 / 0.6482 GB, free: 11.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.5591, allocations: 0 / 0.6482 GB, free: 11.1 MB / 494.1 MB 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.0006454/0.5598, allocations: 385 kB / 0.6485 GB, free: 10.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5598, allocations: 12.88 kB / 0.6485 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.5599, allocations: 38.69 kB / 0.6486 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.5599, allocations: 12.89 kB / 0.6486 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.56, allocations: 106.3 kB / 0.6487 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.56, allocations: 3.984 kB / 0.6487 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.56, allocations: 7.938 kB / 0.6487 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.5602, allocations: 66.91 kB / 0.6488 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5602, allocations: 0 / 0.6488 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.5602, allocations: 0 / 0.6488 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.5602, allocations: 11.98 kB / 0.6488 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.5603, allocations: 51.97 kB / 0.6488 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.5607, allocations: 267.8 kB / 0.6491 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.78e-05/0.5608, allocations: 38.56 kB / 0.6491 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.5608, allocations: 4.859 kB / 0.6491 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.5609, allocations: 20.05 kB / 0.6492 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.561, allocations: 30.56 kB / 0.6492 GB, free: 9.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.561, allocations: 0 / 0.6492 GB, free: 9.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000166/0.5611, allocations: 57.83 kB / 0.6492 GB, free: 9.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5612, allocations: 55.97 kB / 0.6493 GB, free: 9.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.5613, allocations: 97.86 kB / 0.6494 GB, free: 9.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.5613, allocations: 25.7 kB / 0.6494 GB, free: 9.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.5613, allocations: 99.97 kB / 0.6495 GB, free: 9.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.5613, allocations: 15.91 kB / 0.6495 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.5614, allocations: 21.72 kB / 0.6495 GB, free: 9.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5615, allocations: 318.7 kB / 0.6498 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.5615, allocations: 8 kB / 0.6498 GB, free: 9.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.5616, allocations: 31.42 kB / 0.6499 GB, free: 9.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.5616, allocations: 47.38 kB / 0.6499 GB, free: 9.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5617, allocations: 0 / 0.6499 GB, free: 9.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001108/0.5618, allocations: 77.58 kB / 0.65 GB, free: 9.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5618, allocations: 4 kB / 0.65 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5618, allocations: 8.688 kB / 0.65 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5618, allocations: 0 / 0.65 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.5619, allocations: 8 kB / 0.65 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5619, allocations: 4 kB / 0.65 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.5619, allocations: 3.953 kB / 0.65 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5619, allocations: 4.938 kB / 0.65 GB, free: 8.98 MB / 494.1 MB 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 8.417e-05/0.562, allocations: 125.7 kB / 0.6501 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.562, allocations: 0 / 0.6501 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.5621, allocations: 72.73 kB / 0.6502 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5621, allocations: 0 / 0.6502 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5621, allocations: 0 / 0.6502 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5622, allocations: 3.984 kB / 0.6502 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.5623, allocations: 128.8 kB / 0.6503 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5623, allocations: 0 / 0.6503 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.5623, allocations: 4 kB / 0.6503 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5623, allocations: 4 kB / 0.6504 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.5624, allocations: 3.938 kB / 0.6504 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5624, allocations: 4 kB / 0.6504 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5624, allocations: 0 / 0.6504 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.5625, allocations: 143.5 kB / 0.6505 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.5625, allocations: 7.953 kB / 0.6505 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.5625, allocations: 5.5 kB / 0.6505 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.5625, allocations: 0 / 0.6505 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.5626, allocations: 3.984 kB / 0.6505 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.5626, allocations: 4 kB / 0.6505 GB, free: 8.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.5626, allocations: 79.61 kB / 0.6506 GB, free: 8.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5626, allocations: 0 / 0.6506 GB, free: 8.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.563, allocations: 99.61 kB / 0.6507 GB, free: 8.238 MB / 494.1 MB 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.0009112/0.5639, allocations: 0.8313 MB / 0.6515 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.462e-05/0.564, allocations: 23.94 kB / 0.6515 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.564, allocations: 0 / 0.6515 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.564, allocations: 15.92 kB / 0.6515 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.5643, allocations: 4 kB / 0.6515 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.5648, allocations: 213.7 kB / 0.6517 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.5648, allocations: 63.34 kB / 0.6518 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.5649, allocations: 9.641 kB / 0.6518 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.5649, allocations: 19.42 kB / 0.6518 GB, free: 6.98 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5649, allocations: 0 / 0.6518 GB, free: 6.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.5961, allocations: 4.333 MB / 0.6561 GB, free: 2.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.89, allocations: 11.94 kB / 0.6561 GB, free: 2.637 MB / 494.1 MB " [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.738147169351578]