Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001315/0.001315, allocations: 74.58 kB / 21.24 MB, free: 0.5547 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.001365/0.001365, allocations: 151.9 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 46.45 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08815, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002437/0.09059, allocations: 1.338 MB / 372.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.1038, allocations: 10.68 MB / 383.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.1039, allocations: 0 / 383.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.1039, allocations: 3.938 kB / 383.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.1067, allocations: 1.026 MB / 384.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1082, allocations: 0.6451 MB / 385.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.839e-05/0.1083, allocations: 63.72 kB / 385.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.1083, allocations: 0 / 385.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.1083, allocations: 31.91 kB / 385.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.1084, allocations: 31.91 kB / 385.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1085, allocations: 4 kB / 385.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.1109, allocations: 1.483 MB / 386.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.1109, allocations: 19.92 kB / 386.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.111, allocations: 23.91 kB / 386.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.1126, allocations: 1.045 MB / 388 MB, free: 6.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1126, allocations: 7.938 kB / 388 MB, free: 6.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1126, allocations: 0 / 388 MB, free: 6.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1126, allocations: 0 / 388 MB, free: 6.875 MB / 350.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.0007266/0.1133, allocations: 488.2 kB / 388.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1133, allocations: 8.922 kB / 388.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1135, allocations: 4.938 kB / 388.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1136, allocations: 126.4 kB / 388.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1136, allocations: 4.375 kB / 388.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.1136, allocations: 4.375 kB / 388.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1138, allocations: 122.9 kB / 388.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1138, allocations: 0 / 388.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1138, allocations: 4 kB / 388.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1139, allocations: 0 / 388.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.114, allocations: 23.97 kB / 388.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1141, allocations: 122.3 kB / 388.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1144, allocations: 73.12 kB / 388.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.1145, allocations: 25.78 kB / 389 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005806/0.1203, allocations: 1.498 MB / 390.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1203, allocations: 38.44 kB / 390.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1203, allocations: 4 kB / 390.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003119/0.1206, allocations: 93.8 kB / 390.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1207, allocations: 81.11 kB / 390.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1208, allocations: 117.8 kB / 390.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1208, allocations: 25.7 kB / 390.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.1209, allocations: 88.14 kB / 390.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1209, allocations: 19.78 kB / 390.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.1209, allocations: 21.72 kB / 390.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1211, allocations: 314.8 kB / 391.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.948e-05/0.1211, allocations: 15.98 kB / 391.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.1212, allocations: 25.7 kB / 391.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1213, allocations: 45.64 kB / 391.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1213, allocations: 0 / 391.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000179/0.1215, allocations: 65.67 kB / 391.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1215, allocations: 7.938 kB / 391.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1215, allocations: 0 / 391.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1215, allocations: 0 / 391.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.1216, allocations: 19.94 kB / 391.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1216, allocations: 0 / 391.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1217, allocations: 7.938 kB / 391.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1217, allocations: 8 kB / 391.4 MB, free: 3.188 MB / 350.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.392e-05/0.1218, allocations: 109.8 kB / 391.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1218, allocations: 7.938 kB / 391.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.122, allocations: 101.5 kB / 391.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.122, allocations: 0 / 391.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/0.122, allocations: 4 kB / 391.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.122, allocations: 4 kB / 391.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.1222, allocations: 125.2 kB / 391.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1222, allocations: 0 / 391.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.1222, allocations: 15.92 kB / 391.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1222, allocations: 4 kB / 391.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1222, allocations: 3.938 kB / 391.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1222, allocations: 0 / 391.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1222, allocations: 0 / 391.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1224, allocations: 97.97 kB / 391.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.1225, allocations: 11.89 kB / 391.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1225, allocations: 12.16 kB / 391.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1226, allocations: 8.188 kB / 391.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1226, allocations: 15.92 kB / 391.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1226, allocations: 3.984 kB / 391.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.1227, allocations: 95.27 kB / 392 MB, free: 2.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1227, allocations: 0 / 392 MB, free: 2.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007383/0.1234, allocations: 330.8 kB / 392.4 MB, free: 2.188 MB / 350.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.001069/0.1245, allocations: 0.5685 MB / 392.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1247, allocations: 40 kB / 393 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1247, allocations: 0 / 393 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.1247, allocations: 16.17 kB / 393 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.1249, allocations: 19.97 kB / 393 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.1254, allocations: 168.3 kB / 393.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.1254, allocations: 67.34 kB / 393.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.1255, allocations: 43.88 kB / 393.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1256, allocations: 20.48 kB / 393.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1256, allocations: 0 / 393.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01484/0.1404, allocations: 9.027 MB / 402.3 MB, free: 8.172 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.28376698109787]