Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001229, allocations: 113.7 kB / 18.4 MB, free: 4.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 194.8 kB / 21.34 MB, free: 1.719 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.467/1.467, allocations: 205.1 MB / 229.2 MB, free: 4.383 MB / 174.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 51.66 kB / 335.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09791, allocations: 46.62 MB / 381.8 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002588/0.1005, allocations: 1.347 MB / 383.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.1145, allocations: 12.09 MB / 395.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.1146, allocations: 0 / 395.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.1147, allocations: 7.922 kB / 395.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.1178, allocations: 1.045 MB / 396.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.1197, allocations: 0.6295 MB / 397 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1199, allocations: 67.7 kB / 397 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1199, allocations: 3.984 kB / 397 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.12, allocations: 23.94 kB / 397.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1201, allocations: 35.83 kB / 397.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1201, allocations: 4 kB / 397.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.1234, allocations: 1.612 MB / 398.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.1234, allocations: 15.92 kB / 398.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.1235, allocations: 31.84 kB / 398.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.1255, allocations: 1.064 MB / 399.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1256, allocations: 0 / 399.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1256, allocations: 0 / 399.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1256, allocations: 0 / 399.8 MB, free: 14.41 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008726/0.1265, allocations: 0.5482 MB / 400.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1265, allocations: 12.03 kB / 400.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1266, allocations: 12.88 kB / 400.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1268, allocations: 180.3 kB / 400.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.1269, allocations: 8.375 kB / 400.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1269, allocations: 384 / 400.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1271, allocations: 75.45 kB / 400.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1272, allocations: 7.938 kB / 400.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1272, allocations: 3.938 kB / 400.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1272, allocations: 0 / 400.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1273, allocations: 23.97 kB / 400.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.1275, allocations: 182.5 kB / 400.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.1278, allocations: 77.22 kB / 400.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.1279, allocations: 25.77 kB / 401 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006624/0.1346, allocations: 3.294 MB / 404.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.1346, allocations: 34.5 kB / 404.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.1346, allocations: 8 kB / 404.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003642/0.135, allocations: 77.56 kB / 404.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1351, allocations: 85.09 kB / 404.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1352, allocations: 113.8 kB / 404.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1352, allocations: 29.64 kB / 404.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.1353, allocations: 88.14 kB / 404.7 MB, free: 8.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1353, allocations: 11.84 kB / 404.7 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1354, allocations: 21.7 kB / 404.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1355, allocations: 322.8 kB / 405 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.1356, allocations: 7.984 kB / 405 MB, free: 8.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.1356, allocations: 25.72 kB / 405.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1358, allocations: 37.7 kB / 405.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1358, allocations: 0 / 405.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001777/0.136, allocations: 77.88 kB / 405.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.136, allocations: 4 kB / 405.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.136, allocations: 8.078 kB / 405.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.136, allocations: 3.984 kB / 405.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.1361, allocations: 8 kB / 405.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1361, allocations: 320 / 405.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.1362, allocations: 11.94 kB / 405.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1362, allocations: 0 / 405.2 MB, free: 8.309 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.029e-05/0.1363, allocations: 121.7 kB / 405.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.1363, allocations: 15.89 kB / 405.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1366, allocations: 105.4 kB / 405.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1366, allocations: 4 kB / 405.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1366, allocations: 0 / 405.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1366, allocations: 0 / 405.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1368, allocations: 169.6 kB / 405.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1368, allocations: 4 kB / 405.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.1369, allocations: 15.94 kB / 405.6 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1369, allocations: 3.984 kB / 405.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1369, allocations: 0 / 405.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1369, allocations: 8.062 kB / 405.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1369, allocations: 7.938 kB / 405.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.1371, allocations: 101.9 kB / 405.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.1372, allocations: 89.03 kB / 405.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1372, allocations: 4 kB / 405.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.1373, allocations: 4 kB / 405.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.1373, allocations: 7.984 kB / 405.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1374, allocations: 4 kB / 405.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.1374, allocations: 95.27 kB / 406 MB, free: 7.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1374, allocations: 0 / 406 MB, free: 7.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008153/0.1382, allocations: 326.8 kB / 406.3 MB, free: 7.137 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.00116/0.1394, allocations: 0.5874 MB / 406.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1396, allocations: 35.97 kB / 406.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1396, allocations: 0 / 406.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.1397, allocations: 15.94 kB / 406.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.1399, allocations: 27.89 kB / 406.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1403, allocations: 160 kB / 407.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1407, allocations: 0.6922 MB / 407.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1408, allocations: 44.16 kB / 407.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.1409, allocations: 23.36 kB / 407.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1409, allocations: 4 kB / 407.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of Templates: time 0.01444/0.1553, allocations: 8.982 MB / 416.8 MB, free: 12.49 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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: 6.470584949478507]