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.0008767/0.0008767, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004115/0.004115, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.8422/0.8422, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.713e-06/1.713e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.829e-05, allocations: 2.984 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001633/0.001661, allocations: 1.344 MB / 327.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007637/0.009298, allocations: 10.71 MB / 337.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.00934, allocations: 3.938 kB / 337.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.009364, allocations: 3.938 kB / 337.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.01185, allocations: 1.045 MB / 338.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.01314, allocations: 0.6525 MB / 339.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.01324, allocations: 63.66 kB / 339.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.01327, allocations: 0 / 339.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.01333, allocations: 47.83 kB / 339.6 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.0134, allocations: 27.95 kB / 339.7 MB, free: 1.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.01342, allocations: 8 kB / 339.7 MB, free: 1.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.01546, allocations: 1.486 MB / 341.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.01548, allocations: 11.98 kB / 341.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.01551, allocations: 23.91 kB / 341.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.01701, allocations: 1.236 MB / 342.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.01701, allocations: 0 / 342.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01702, allocations: 0 / 342.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.01702, allocations: 0 / 342.4 MB, free: 14.64 MB / 314.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.0006183/0.01764, allocations: 488.2 kB / 342.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.01768, allocations: 11.98 kB / 342.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.01777, allocations: 24.88 kB / 342.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.01788, allocations: 113.8 kB / 343 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.01789, allocations: 8.375 kB / 343.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.0179, allocations: 384 / 343.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.01805, allocations: 115.4 kB / 343.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.01806, allocations: 192 / 343.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.01807, allocations: 8.125 kB / 343.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.01807, allocations: 7.938 kB / 343.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.627e-05/0.01814, allocations: 23.92 kB / 343.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.01826, allocations: 122.2 kB / 343.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.01846, allocations: 81.17 kB / 343.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.0185, allocations: 21.77 kB / 343.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002677/0.02117, allocations: 1.509 MB / 344.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.0212, allocations: 34.55 kB / 345 MB, free: 11.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.0212, allocations: 4 kB / 345 MB, free: 11.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002291/0.02143, allocations: 77.61 kB / 345.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.02147, allocations: 89.05 kB / 345.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.02154, allocations: 109.8 kB / 345.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.02155, allocations: 25.7 kB / 345.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.02158, allocations: 92.12 kB / 345.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.02161, allocations: 19.8 kB / 345.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.02164, allocations: 17.72 kB / 345.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.02171, allocations: 318.8 kB / 345.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.02174, allocations: 16 kB / 345.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.02178, allocations: 29.58 kB / 345.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.608e-05/0.02185, allocations: 37.7 kB / 345.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02185, allocations: 0 / 345.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.896e-05/0.02195, allocations: 73.56 kB / 345.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.02196, allocations: 8 kB / 345.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.02196, allocations: 0 / 345.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.02198, allocations: 0 / 345.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.02202, allocations: 15.92 kB / 345.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.02203, allocations: 8.312 kB / 345.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.02205, allocations: 0 / 345.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.02206, allocations: 7.938 kB / 345.9 MB, free: 10.94 MB / 314.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 8.001e-05/0.02214, allocations: 109.8 kB / 346 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.02216, allocations: 7.953 kB / 346 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.02235, allocations: 110 kB / 346.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.02236, allocations: 0 / 346.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.02236, allocations: 7.938 kB / 346.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.02237, allocations: 4.094 kB / 346.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.724e-05/0.02244, allocations: 117.3 kB / 346.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.02244, allocations: 0 / 346.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.02247, allocations: 11.98 kB / 346.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.02247, allocations: 4 kB / 346.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.02248, allocations: 0 / 346.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.02248, allocations: 0 / 346.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02248, allocations: 0 / 346.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.0226, allocations: 113.9 kB / 346.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.02263, allocations: 7.984 kB / 346.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.02264, allocations: 4 kB / 346.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.02267, allocations: 8 kB / 346.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.02271, allocations: 11.92 kB / 346.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.02271, allocations: 0 / 346.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.02275, allocations: 95.27 kB / 346.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02275, allocations: 0 / 346.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005568/0.02331, allocations: 334.8 kB / 346.8 MB, free: 9.945 MB / 314.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.0007825/0.02409, allocations: 0.607 MB / 347.4 MB, free: 9.324 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.02421, allocations: 43.84 kB / 347.5 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.02421, allocations: 4 kB / 347.5 MB, free: 9.277 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.02425, allocations: 12 kB / 347.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.02439, allocations: 16.11 kB / 347.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.02472, allocations: 187.2 kB / 347.7 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.02476, allocations: 67.28 kB / 347.8 MB, free: 8.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.0248, allocations: 28.47 kB / 347.8 MB, free: 8.922 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0248, allocations: 0 / 347.8 MB, free: 8.922 MB / 314.7 MB Notification: Performance of Templates: time 0.006196/0.031, allocations: 6.065 MB / 353.9 MB, free: 2.852 MB / 314.7 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 -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/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_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: 5.164025180973113]