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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 97.22 kB / 16.5 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 193.4 kB / 17.42 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009876/0.0009876, allocations: 47.52 kB / 299.9 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08164, allocations: 49.44 MB / 349.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002208/0.08388, allocations: 1.41 MB / 350.8 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.09604, allocations: 12.37 MB / 363.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.09609, allocations: 0 / 363.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.09614, allocations: 3.938 kB / 363.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.09825, allocations: 0.852 MB / 364 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.09937, allocations: 0.5381 MB / 364.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.09945, allocations: 55.72 kB / 364.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.09949, allocations: 11.98 kB / 364.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.09954, allocations: 19.88 kB / 364.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.09963, allocations: 43.89 kB / 364.7 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.09965, allocations: 4 kB / 364.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.102, allocations: 1.557 MB / 366.2 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.1021, allocations: 11.98 kB / 366.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.1021, allocations: 27.86 kB / 366.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.1036, allocations: 1.068 MB / 367.4 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1036, allocations: 0 / 367.4 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1037, allocations: 4 kB / 367.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1037, allocations: 3.938 kB / 367.4 MB, free: 2.781 MB / 302.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.0006515/0.1043, allocations: 0.5449 MB / 367.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1044, allocations: 8.031 kB / 367.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.1045, allocations: 16.83 kB / 367.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1047, allocations: 180.3 kB / 368.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1047, allocations: 4.375 kB / 368.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1047, allocations: 8.312 kB / 368.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1049, allocations: 67.52 kB / 368.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1049, allocations: 0 / 368.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1049, allocations: 4 kB / 368.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1049, allocations: 0 / 368.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.105, allocations: 19.98 kB / 368.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1052, allocations: 178.5 kB / 368.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.1055, allocations: 77.23 kB / 368.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.1056, allocations: 29.7 kB / 368.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1406/0.2462, allocations: 3.285 MB / 371.8 MB, free: 24.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2463, allocations: 41.25 kB / 371.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.2463, allocations: 0 / 371.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003191/0.2466, allocations: 86.7 kB / 371.9 MB, free: 24.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.2466, allocations: 79.69 kB / 372 MB, free: 24.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.2467, allocations: 117.2 kB / 372.1 MB, free: 24.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2467, allocations: 28.89 kB / 372.1 MB, free: 24.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.2468, allocations: 82.31 kB / 372.2 MB, free: 24.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2468, allocations: 25.28 kB / 372.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.2468, allocations: 18.72 kB / 372.2 MB, free: 24.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.2469, allocations: 317 kB / 372.6 MB, free: 24.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.2469, allocations: 12.86 kB / 372.6 MB, free: 24.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.247, allocations: 22.38 kB / 372.6 MB, free: 24.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2471, allocations: 42.16 kB / 372.6 MB, free: 24.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2471, allocations: 0 / 372.6 MB, free: 24.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001563/0.2473, allocations: 74.7 kB / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2473, allocations: 7.188 kB / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2473, allocations: 0 / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2473, allocations: 0.9375 kB / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.2474, allocations: 14.8 kB / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2474, allocations: 1.5 kB / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.2475, allocations: 9.734 kB / 372.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2475, allocations: 2.562 kB / 372.7 MB, free: 24.09 MB / 302.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 4.704e-05/0.2475, allocations: 116.4 kB / 372.9 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.2476, allocations: 8.047 kB / 372.9 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.2478, allocations: 106.4 kB / 373 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2479, allocations: 4.891 kB / 373 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2479, allocations: 3.094 kB / 373 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2479, allocations: 1.766 kB / 373 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.248, allocations: 169 kB / 373.1 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.248, allocations: 1.5 kB / 373.1 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.248, allocations: 11.08 kB / 373.1 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.248, allocations: 1.188 kB / 373.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2481, allocations: 2.219 kB / 373.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2481, allocations: 5.594 kB / 373.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2481, allocations: 1.156 kB / 373.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.2482, allocations: 108.6 kB / 373.3 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.2483, allocations: 85.05 kB / 373.3 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2483, allocations: 7.062 kB / 373.4 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.2484, allocations: 4 kB / 373.4 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.2485, allocations: 6.453 kB / 373.4 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2485, allocations: 6.031 kB / 373.4 MB, free: 23.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.198e-05/0.2485, allocations: 100.3 kB / 373.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2485, allocations: 0 / 373.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007365/0.2493, allocations: 318.1 kB / 373.8 MB, free: 23.48 MB / 302.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.00109/0.2504, allocations: 0.5771 MB / 374.4 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.2505, allocations: 35.28 kB / 374.4 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2506, allocations: 3.062 kB / 374.4 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.2506, allocations: 18.94 kB / 374.4 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.2508, allocations: 15.75 kB / 374.4 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.2512, allocations: 187.2 kB / 374.6 MB, free: 23.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.346e-05/0.2513, allocations: 0.685 MB / 375.3 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.2514, allocations: 52.16 kB / 375.3 MB, free: 22.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.2514, allocations: 19.02 kB / 375.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2515, allocations: 0 / 375.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01179/0.2633, allocations: 8.897 MB / 384.3 MB, free: 19.74 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches