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.001547/0.001547, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001512/0.001512, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.2145/0.2145, allocations: 44.9 MB / 359.6 MB, free: 6.301 MB / 286.1 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: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002052/0.002052, allocations: 67.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 65.46 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1825/0.4999, allocations: 154.4 MB / 0.709 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.5022, allocations: 1.351 MB / 0.7103 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.5022, allocations: 4 kB / 0.7103 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.5026, allocations: 43.8 kB / 0.7103 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.5058, allocations: 1.049 MB / 0.7114 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.909e-06/0.5058, allocations: 0 / 0.7114 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.5059, allocations: 51.66 kB / 0.7114 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.5059, allocations: 7.984 kB / 0.7114 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.074e-05/0.506, allocations: 23.92 kB / 0.7115 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.506, allocations: 23.91 kB / 0.7115 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.5061, allocations: 0 / 0.7115 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.5095, allocations: 1.899 MB / 0.7133 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.5096, allocations: 15.92 kB / 0.7133 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.5096, allocations: 27.86 kB / 0.7134 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5112, allocations: 0.9157 MB / 0.7143 GB, free: 7.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5112, allocations: 0 / 0.7143 GB, free: 7.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5112, allocations: 4 kB / 0.7143 GB, free: 7.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5112, allocations: 0 / 0.7143 GB, free: 7.348 MB / 0.545 GB 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.0007598/0.512, allocations: 428.6 kB / 0.7147 GB, free: 6.898 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.512, allocations: 12.03 kB / 0.7147 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.512, allocations: 0.9375 kB / 0.7147 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.5121, allocations: 121.7 kB / 0.7148 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5122, allocations: 0 / 0.7148 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.5122, allocations: 11.97 kB / 0.7148 GB, free: 6.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.5124, allocations: 73.61 kB / 0.7149 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5124, allocations: 8 kB / 0.7149 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.5124, allocations: 0 / 0.7149 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.5124, allocations: 7.938 kB / 0.7149 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5125, allocations: 55.97 kB / 0.715 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.513, allocations: 271.8 kB / 0.7152 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.513, allocations: 30.56 kB / 0.7152 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.5131, allocations: 12.86 kB / 0.7153 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.5132, allocations: 36.05 kB / 0.7153 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.5132, allocations: 34.5 kB / 0.7153 GB, free: 6.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5132, allocations: 0 / 0.7153 GB, free: 6.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001907/0.5134, allocations: 61.62 kB / 0.7154 GB, free: 6.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.5135, allocations: 51.41 kB / 0.7154 GB, free: 6.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.5136, allocations: 97.84 kB / 0.7155 GB, free: 5.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.5136, allocations: 25.81 kB / 0.7155 GB, free: 5.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.5136, allocations: 103.9 kB / 0.7156 GB, free: 5.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.5137, allocations: 11.91 kB / 0.7157 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.5137, allocations: 25.7 kB / 0.7157 GB, free: 5.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5138, allocations: 314.8 kB / 0.716 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.5139, allocations: 8 kB / 0.716 GB, free: 5.402 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.5139, allocations: 35.42 kB / 0.716 GB, free: 5.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.514, allocations: 51.36 kB / 0.7161 GB, free: 5.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.514, allocations: 0 / 0.7161 GB, free: 5.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.5141, allocations: 77.52 kB / 0.7161 GB, free: 5.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5141, allocations: 4 kB / 0.7162 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5141, allocations: 3.938 kB / 0.7162 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5142, allocations: 7.984 kB / 0.7162 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.5142, allocations: 8.094 kB / 0.7162 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5142, allocations: 8 kB / 0.7162 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.5143, allocations: 3.938 kB / 0.7162 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.5143, allocations: 4 kB / 0.7162 GB, free: 5.172 MB / 0.545 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 (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 9.88e-05/0.5144, allocations: 121.8 kB / 0.7163 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.5144, allocations: 4.359 kB / 0.7163 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.5146, allocations: 73.3 kB / 0.7164 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5146, allocations: 0 / 0.7164 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5146, allocations: 3.938 kB / 0.7164 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.5146, allocations: 3.984 kB / 0.7164 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.5148, allocations: 136.7 kB / 0.7165 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5148, allocations: 4 kB / 0.7165 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.5148, allocations: 7.938 kB / 0.7165 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5148, allocations: 0 / 0.7165 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5148, allocations: 0 / 0.7165 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5148, allocations: 4 kB / 0.7165 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5148, allocations: 0 / 0.7165 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.515, allocations: 155.5 kB / 0.7167 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.515, allocations: 7.938 kB / 0.7167 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.515, allocations: 0 / 0.7167 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.515, allocations: 0 / 0.7167 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.5151, allocations: 4 kB / 0.7167 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.5151, allocations: 4 kB / 0.7167 GB, free: 4.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.5151, allocations: 83.27 kB / 0.7168 GB, free: 4.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5151, allocations: 7.938 kB / 0.7168 GB, free: 4.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000516/0.5156, allocations: 143.5 kB / 0.7169 GB, free: 4.348 MB / 0.545 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 (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.0007227/0.5164, allocations: 310.5 kB / 0.7172 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.5165, allocations: 35.91 kB / 0.7172 GB, free: 4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5165, allocations: 0 / 0.7172 GB, free: 4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.5165, allocations: 8 kB / 0.7173 GB, free: 3.992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.5168, allocations: 6.844 kB / 0.7173 GB, free: 3.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.5171, allocations: 181.7 kB / 0.7174 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5175, allocations: 0.6807 MB / 0.7181 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.5175, allocations: 11.44 kB / 0.7181 GB, free: 3.059 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.5175, allocations: 0 / 0.7181 GB, free: 3.059 MB / 0.545 GB Notification: Performance of Templates: time 0.005601/0.5231, allocations: 2.94 MB / 0.721 GB, free: 120 kB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/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: 8.257760503096506]