Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001906/0.001906, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001995/0.001995, allocations: 165.6 kB / 24.27 MB, free: 152 kB / 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 1.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.869e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002638/0.002667, allocations: 1.388 MB / 273.7 MB, free: 460 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.0203, allocations: 11.95 MB / 285.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.02035, allocations: 0 / 285.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.02037, allocations: 3.938 kB / 285.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.02375, allocations: 1.049 MB / 286.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.02563, allocations: 0.6563 MB / 287.4 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.02576, allocations: 67.64 kB / 287.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.47e-05/0.02579, allocations: 0 / 287.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.02587, allocations: 43.89 kB / 287.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.02597, allocations: 27.95 kB / 287.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.026, allocations: 4 kB / 287.5 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.02925, allocations: 1.494 MB / 289 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.02927, allocations: 12 kB / 289 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.02931, allocations: 19.92 kB / 289 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1144/0.1437, allocations: 1.237 MB / 290.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1437, allocations: 0.5625 kB / 290.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1437, allocations: 0 / 290.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1437, allocations: 0.7656 kB / 290.3 MB, free: 17.68 MB / 266.7 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.0007472/0.1445, allocations: 0.5756 MB / 290.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1445, allocations: 9.125 kB / 290.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1446, allocations: 15.48 kB / 290.9 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.1447, allocations: 122.4 kB / 291 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1447, allocations: 4.375 kB / 291 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1448, allocations: 4.984 kB / 291 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1449, allocations: 123.5 kB / 291.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1449, allocations: 0.875 kB / 291.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1449, allocations: 2.875 kB / 291.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.145, allocations: 9.109 kB / 291.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1451, allocations: 20.83 kB / 291.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1452, allocations: 138.8 kB / 291.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1455, allocations: 96.22 kB / 291.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.1455, allocations: 31.23 kB / 291.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005701/0.1512, allocations: 1.503 MB / 292.9 MB, free: 16.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1513, allocations: 39.8 kB / 292.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1513, allocations: 0 / 292.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003276/0.1516, allocations: 93.94 kB / 293 MB, free: 16.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.1516, allocations: 83.36 kB / 293.1 MB, free: 16.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.1517, allocations: 171.7 kB / 293.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1517, allocations: 26.83 kB / 293.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.1517, allocations: 139.3 kB / 293.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1518, allocations: 20.41 kB / 293.5 MB, free: 16.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.1518, allocations: 26.36 kB / 293.5 MB, free: 16.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.1519, allocations: 495.5 kB / 294 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-05/0.1519, allocations: 13.41 kB / 294 MB, free: 15.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.152, allocations: 34.48 kB / 294 MB, free: 15.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1521, allocations: 45.47 kB / 294.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1521, allocations: 0 / 294.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001601/0.1522, allocations: 73.94 kB / 294.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1523, allocations: 4.562 kB / 294.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1523, allocations: 1.859 kB / 294.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1523, allocations: 1.094 kB / 294.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.1524, allocations: 11.73 kB / 294.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1524, allocations: 9.438 kB / 294.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.1524, allocations: 5.188 kB / 294.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1524, allocations: 3.031 kB / 294.2 MB, free: 15.57 MB / 266.7 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 5.462e-05/0.1525, allocations: 163.3 kB / 294.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1525, allocations: 9.359 kB / 294.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.1528, allocations: 101.2 kB / 294.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1528, allocations: 1.094 kB / 294.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1528, allocations: 8.344 kB / 294.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1528, allocations: 5.859 kB / 294.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.814e-05/0.1529, allocations: 119.6 kB / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1529, allocations: 1.344 kB / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.1529, allocations: 12.78 kB / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1529, allocations: 1.062 kB / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1529, allocations: 1.734 kB / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1529, allocations: 1.578 kB / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1529, allocations: 0 / 294.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1531, allocations: 124.6 kB / 294.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.1532, allocations: 15.41 kB / 294.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1532, allocations: 6.891 kB / 294.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.1532, allocations: 1.875 kB / 294.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.1533, allocations: 11.05 kB / 294.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1533, allocations: 11.69 kB / 294.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.479e-05/0.1533, allocations: 137 kB / 294.9 MB, free: 15 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1533, allocations: 0 / 294.9 MB, free: 15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008049/0.1541, allocations: 324.5 kB / 295.2 MB, free: 14.93 MB / 266.7 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.001132/0.1553, allocations: 0.6195 MB / 295.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1555, allocations: 48.72 kB / 295.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1555, allocations: 1.188 kB / 295.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.1555, allocations: 31.11 kB / 295.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.1557, allocations: 15.25 kB / 295.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.1561, allocations: 182.3 kB / 296.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.604e-05/0.1561, allocations: 66.45 kB / 296.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1562, allocations: 43.8 kB / 296.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.1563, allocations: 23.42 kB / 296.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1563, allocations: 5.062 kB / 296.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of Templates: time 0.01396/0.1702, allocations: 9.255 MB / 305.5 MB, free: 11.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.612474819994532]