Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002029/0.002029, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.002531/0.002531, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.606/1.606, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 34.27 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.062e-05, allocations: 2.281 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3754/0.3754, allocations: 132.8 MB / 0.562 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3775, allocations: 1.293 MB / 0.5633 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.3776, allocations: 0 / 0.5633 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.3779, allocations: 47.75 kB / 0.5633 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.381, allocations: 1.096 MB / 0.5644 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.381, allocations: 4 kB / 0.5644 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3812, allocations: 71.58 kB / 0.5645 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3812, allocations: 4 kB / 0.5645 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.3813, allocations: 39.83 kB / 0.5645 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.3814, allocations: 27.97 kB / 0.5645 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3814, allocations: 7.938 kB / 0.5645 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.3843, allocations: 1.611 MB / 0.5661 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.3843, allocations: 19.91 kB / 0.5661 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.3844, allocations: 15.94 kB / 0.5661 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.386, allocations: 1.029 MB / 0.5671 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.386, allocations: 7.922 kB / 0.5672 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.386, allocations: 0 / 0.5672 GB, free: 11.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.386, allocations: 0 / 0.5672 GB, free: 11.71 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007797/0.3868, allocations: 436.6 kB / 0.5676 GB, free: 11.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3868, allocations: 12.03 kB / 0.5676 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3869, allocations: 8.891 kB / 0.5676 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.387, allocations: 109.9 kB / 0.5677 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.387, allocations: 7.938 kB / 0.5677 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.387, allocations: 3.984 kB / 0.5677 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3872, allocations: 89.59 kB / 0.5678 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3872, allocations: 0 / 0.5678 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3872, allocations: 4 kB / 0.5678 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.3872, allocations: 15.97 kB / 0.5678 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3874, allocations: 59.97 kB / 0.5679 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.3879, allocations: 268.3 kB / 0.5681 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.388, allocations: 38.5 kB / 0.5682 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.388, allocations: 13.64 kB / 0.5682 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.3881, allocations: 27.97 kB / 0.5682 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.3882, allocations: 38.56 kB / 0.5682 GB, free: 10.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.3882, allocations: 0 / 0.5682 GB, free: 10.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002273/0.3884, allocations: 65.64 kB / 0.5683 GB, free: 10.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.3885, allocations: 55.34 kB / 0.5684 GB, free: 10.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.3885, allocations: 109.8 kB / 0.5685 GB, free: 10.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3886, allocations: 28.14 kB / 0.5685 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.3886, allocations: 104 kB / 0.5686 GB, free: 10.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3886, allocations: 11.84 kB / 0.5686 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.3887, allocations: 21.72 kB / 0.5686 GB, free: 10.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3888, allocations: 322.8 kB / 0.5689 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.3889, allocations: 8 kB / 0.5689 GB, free: 9.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.3889, allocations: 35.42 kB / 0.569 GB, free: 9.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.512e-05/0.389, allocations: 60.73 kB / 0.569 GB, free: 9.605 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.389, allocations: 0 / 0.569 GB, free: 9.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001677/0.3892, allocations: 85.56 kB / 0.5691 GB, free: 9.516 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3892, allocations: 4 kB / 0.5691 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3892, allocations: 4 kB / 0.5691 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3892, allocations: 2.562 kB / 0.5691 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.3893, allocations: 15.94 kB / 0.5691 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3893, allocations: 3.938 kB / 0.5691 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.3894, allocations: 8 kB / 0.5691 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3894, allocations: 4 kB / 0.5691 GB, free: 9.477 MB / 478.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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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.427e-05/0.3895, allocations: 121.8 kB / 0.5693 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.3895, allocations: 8.047 kB / 0.5693 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.3897, allocations: 77.42 kB / 0.5693 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3897, allocations: 0 / 0.5693 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3897, allocations: 3.938 kB / 0.5693 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3897, allocations: 4.109 kB / 0.5694 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3899, allocations: 117.2 kB / 0.5695 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3899, allocations: 0 / 0.5695 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.3899, allocations: 12 kB / 0.5695 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3899, allocations: 4 kB / 0.5695 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3899, allocations: 0 / 0.5695 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3899, allocations: 0 / 0.5695 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3899, allocations: 0.8594 kB / 0.5695 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.3901, allocations: 164.3 kB / 0.5696 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.3901, allocations: 0 / 0.5696 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3901, allocations: 0 / 0.5696 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.3902, allocations: 4.875 kB / 0.5696 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.3902, allocations: 3.984 kB / 0.5696 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3902, allocations: 11.94 kB / 0.5697 GB, free: 8.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.3902, allocations: 86.59 kB / 0.5697 GB, free: 8.812 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 0.5697 GB, free: 8.812 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00057/0.3908, allocations: 159.4 kB / 0.5699 GB, free: 8.656 MB / 478.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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0008104/0.3916, allocations: 342.5 kB / 0.5702 GB, free: 8.312 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3918, allocations: 39.92 kB / 0.5703 GB, free: 8.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3918, allocations: 0 / 0.5703 GB, free: 8.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/0.3918, allocations: 12.17 kB / 0.5703 GB, free: 8.262 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3922, allocations: 15.12 kB / 0.5703 GB, free: 8.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.3927, allocations: 153.9 kB / 0.5704 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.065e-05/0.3927, allocations: 75.27 kB / 0.5705 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.181e-05/0.3928, allocations: 19.92 kB / 0.5705 GB, free: 7.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3928, allocations: 16.5 kB / 0.5705 GB, free: 7.945 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3929, allocations: 4 kB / 0.5705 GB, free: 7.941 MB / 478.1 MB Notification: Performance of Templates: time 0.008274/0.4011, allocations: 3.689 MB / 0.5741 GB, free: 4.27 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.518264926970005]