Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 81.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002325/0.002325, allocations: 159.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 61.62 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09753, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002444/0.09997, allocations: 1.353 MB / 380.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.1132, allocations: 10.71 MB / 391 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.1132, allocations: 4 kB / 391 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.1132, allocations: 3.984 kB / 391 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.116, allocations: 1.022 MB / 392 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1176, allocations: 0.6528 MB / 392.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1177, allocations: 67.7 kB / 392.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.1177, allocations: 0 / 392.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.76e-05/0.1178, allocations: 27.92 kB / 392.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.363e-05/0.1179, allocations: 35.89 kB / 392.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1179, allocations: 0 / 392.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.1205, allocations: 1.479 MB / 394.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.1205, allocations: 15.92 kB / 394.3 MB, free: 24 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.1206, allocations: 19.92 kB / 394.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.1223, allocations: 1.056 MB / 395.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1223, allocations: 0 / 395.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1223, allocations: 4 kB / 395.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1223, allocations: 0 / 395.3 MB, free: 14.94 MB / 366.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.0007242/0.1231, allocations: 484.2 kB / 395.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1231, allocations: 11.98 kB / 395.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1232, allocations: 16.88 kB / 395.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1234, allocations: 114.5 kB / 396 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1234, allocations: 4.375 kB / 396 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1234, allocations: 384 / 396 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1236, allocations: 126.9 kB / 396.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1236, allocations: 3.938 kB / 396.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1236, allocations: 4 kB / 396.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1236, allocations: 0 / 396.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1237, allocations: 19.98 kB / 396.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1239, allocations: 126.2 kB / 396.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1242, allocations: 73.12 kB / 396.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.1243, allocations: 21.78 kB / 396.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005819/0.1301, allocations: 1.513 MB / 397.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1301, allocations: 34.56 kB / 397.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1301, allocations: 0 / 397.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003099/0.1304, allocations: 85.53 kB / 398 MB, free: 12.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1305, allocations: 77.11 kB / 398 MB, free: 12.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1306, allocations: 113.8 kB / 398.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1306, allocations: 29.7 kB / 398.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.1307, allocations: 88.14 kB / 398.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1307, allocations: 23.78 kB / 398.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1307, allocations: 17.72 kB / 398.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1309, allocations: 322.8 kB / 398.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.1309, allocations: 8 kB / 398.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.131, allocations: 29.7 kB / 398.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1311, allocations: 41.7 kB / 398.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1311, allocations: 0 / 398.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001752/0.1313, allocations: 73.5 kB / 398.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1313, allocations: 11.94 kB / 398.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1313, allocations: 0 / 398.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1313, allocations: 4 kB / 398.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.1314, allocations: 11.98 kB / 398.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1314, allocations: 0 / 398.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1315, allocations: 8 kB / 398.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1315, allocations: 0 / 398.8 MB, free: 11.26 MB / 366.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 8.685e-05/0.1316, allocations: 113.8 kB / 398.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1316, allocations: 11.89 kB / 398.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.1319, allocations: 105.5 kB / 399 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1319, allocations: 4.562 kB / 399 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1319, allocations: 0 / 399 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1319, allocations: 0 / 399 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.132, allocations: 113.3 kB / 399.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.132, allocations: 0 / 399.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.1321, allocations: 19.92 kB / 399.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1321, allocations: 4 kB / 399.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1321, allocations: 3.938 kB / 399.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1321, allocations: 0 / 399.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1321, allocations: 11.92 kB / 399.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1323, allocations: 101.9 kB / 399.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.1323, allocations: 3.984 kB / 399.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1323, allocations: 7.938 kB / 399.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1324, allocations: 4 kB / 399.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.1324, allocations: 8.172 kB / 399.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1325, allocations: 8 kB / 399.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.1325, allocations: 99.56 kB / 399.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1325, allocations: 0 / 399.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007684/0.1333, allocations: 330.8 kB / 399.7 MB, free: 10.26 MB / 366.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.001082/0.1344, allocations: 0.5718 MB / 400.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1346, allocations: 39.97 kB / 400.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1346, allocations: 0 / 400.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.1346, allocations: 19.92 kB / 400.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.1348, allocations: 12 kB / 400.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.1352, allocations: 164.2 kB / 400.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.54e-05/0.1353, allocations: 71.33 kB / 400.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1354, allocations: 48.05 kB / 400.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.1354, allocations: 20.48 kB / 400.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1354, allocations: 11.94 kB / 400.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of Templates: time 0.01521/0.1506, allocations: 9.019 MB / 409.7 MB, free: 244 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.438393005984835]