Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001232/0.001232, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001254/0.001254, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9132/0.9132, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.85e-05, allocations: 6.844 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2789/0.2789, allocations: 132.8 MB / 0.5589 GB, free: 15.82 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.28, allocations: 1.195 MB / 0.5601 GB, free: 14.62 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.2801, allocations: 0 / 0.5601 GB, free: 14.62 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.2803, allocations: 39.75 kB / 0.5601 GB, free: 14.59 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2823, allocations: 1.064 MB / 0.5612 GB, free: 13.52 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.449e-06/0.2823, allocations: 0 / 0.5612 GB, free: 13.52 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2824, allocations: 55.66 kB / 0.5612 GB, free: 13.46 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.2825, allocations: 0 / 0.5612 GB, free: 13.46 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.2825, allocations: 23.97 kB / 0.5613 GB, free: 13.44 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.2826, allocations: 23.92 kB / 0.5613 GB, free: 13.42 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.2826, allocations: 0 / 0.5613 GB, free: 13.42 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.2843, allocations: 1.59 MB / 0.5628 GB, free: 11.82 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.2844, allocations: 15.92 kB / 0.5628 GB, free: 11.81 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.2844, allocations: 8 kB / 0.5629 GB, free: 11.8 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2854, allocations: 1.017 MB / 0.5638 GB, free: 10.78 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2854, allocations: 0 / 0.5638 GB, free: 10.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2854, allocations: 0 / 0.5638 GB, free: 10.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2854, allocations: 0 / 0.5638 GB, free: 10.78 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005372/0.286, allocations: 435.9 kB / 0.5643 GB, free: 10.33 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.286, allocations: 8.031 kB / 0.5643 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.286, allocations: 38.75 kB / 0.5643 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.2861, allocations: 6.297 kB / 0.5643 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.551e-05/0.2861, allocations: 109.7 kB / 0.5644 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2861, allocations: 3.938 kB / 0.5644 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2861, allocations: 11.94 kB / 0.5644 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2862, allocations: 65.67 kB / 0.5645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2863, allocations: 4 kB / 0.5645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2863, allocations: 4 kB / 0.5645 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2863, allocations: 5.5 kB / 0.5645 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.2864, allocations: 59.91 kB / 0.5646 GB, free: 9.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.2867, allocations: 275.8 kB / 0.5648 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.577e-05/0.2868, allocations: 34.56 kB / 0.5649 GB, free: 9.625 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.2868, allocations: 12.94 kB / 0.5649 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.2869, allocations: 27.92 kB / 0.5649 GB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2869, allocations: 34.56 kB / 0.5649 GB, free: 9.539 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.2869, allocations: 0 / 0.5649 GB, free: 9.539 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001729/0.2871, allocations: 57.62 kB / 0.565 GB, free: 9.477 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2871, allocations: 55.39 kB / 0.565 GB, free: 9.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.2872, allocations: 101.9 kB / 0.5651 GB, free: 9.301 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2872, allocations: 29.7 kB / 0.5652 GB, free: 9.266 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.2873, allocations: 95.97 kB / 0.5653 GB, free: 9.168 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.2873, allocations: 15.91 kB / 0.5653 GB, free: 9.152 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.2873, allocations: 17.72 kB / 0.5653 GB, free: 9.129 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.2874, allocations: 314.8 kB / 0.5656 GB, free: 8.812 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.2874, allocations: 10.33 kB / 0.5656 GB, free: 8.805 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.2875, allocations: 39.36 kB / 0.5656 GB, free: 8.754 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.2875, allocations: 47.38 kB / 0.5657 GB, free: 8.695 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2875, allocations: 4 kB / 0.5657 GB, free: 8.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.047e-05/0.2876, allocations: 73.72 kB / 0.5658 GB, free: 8.613 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2876, allocations: 7.938 kB / 0.5658 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2876, allocations: 0 / 0.5658 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2876, allocations: 7.938 kB / 0.5658 GB, free: 8.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.2877, allocations: 8 kB / 0.5658 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.2877, allocations: 7.984 kB / 0.5658 GB, free: 8.582 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.2877, allocations: 7.953 kB / 0.5658 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2877, allocations: 4 kB / 0.5658 GB, free: 8.57 MB / 474.7 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 (7): * Single equations (assignments): 7 * 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 6.318e-05/0.2878, allocations: 123.3 kB / 0.5659 GB, free: 8.441 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.2878, allocations: 0 / 0.5659 GB, free: 8.441 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.2879, allocations: 72.56 kB / 0.566 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2879, allocations: 4.875 kB / 0.566 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.288, allocations: 3.625 kB / 0.566 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.288, allocations: 0 / 0.566 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2881, allocations: 136.7 kB / 0.5661 GB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2881, allocations: 8 kB / 0.5661 GB, free: 8.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.2881, allocations: 4 kB / 0.5661 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2881, allocations: 0 / 0.5661 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2881, allocations: 7.984 kB / 0.5661 GB, free: 8.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2881, allocations: 7.875 kB / 0.5662 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2881, allocations: 0 / 0.5662 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2882, allocations: 146.3 kB / 0.5663 GB, free: 8.004 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.2882, allocations: 4.031 kB / 0.5663 GB, free: 8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.2882, allocations: 4 kB / 0.5663 GB, free: 7.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.2883, allocations: 3.938 kB / 0.5663 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.2883, allocations: 3.984 kB / 0.5663 GB, free: 7.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.2883, allocations: 8 kB / 0.5663 GB, free: 7.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.879e-05/0.2883, allocations: 79.28 kB / 0.5664 GB, free: 7.902 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2883, allocations: 4 kB / 0.5664 GB, free: 7.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.2887, allocations: 147.5 kB / 0.5665 GB, free: 7.754 MB / 474.7 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 (4): * Single equations (assignments): 4 * 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.0007959/0.2895, allocations: 0.9032 MB / 0.5674 GB, free: 6.824 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.925e-05/0.2895, allocations: 31.92 kB / 0.5674 GB, free: 6.793 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2895, allocations: 0 / 0.5674 GB, free: 6.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.2896, allocations: 16.17 kB / 0.5675 GB, free: 6.777 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2898, allocations: 11.94 kB / 0.5675 GB, free: 6.766 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.2902, allocations: 237.2 kB / 0.5677 GB, free: 6.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.2902, allocations: 69.06 kB / 0.5678 GB, free: 6.414 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.386e-05/0.2903, allocations: 11.94 kB / 0.5678 GB, free: 6.402 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.2903, allocations: 24.48 kB / 0.5678 GB, free: 6.383 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2903, allocations: 0 / 0.5678 GB, free: 6.383 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.308, allocations: 5.305 MB / 0.573 GB, free: 1.227 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/7.054, allocations: 3.875 kB / 0.573 GB, free: 1.227 MB / 474.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.04087648820132]