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.0009045/0.0009045, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0009719/0.0009719, allocations: 147 kB / 25.6 MB, free: 8.914 MB / 18.57 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 0.8815/0.8815, allocations: 173.4 MB / 202.3 MB, free: 8.297 MB / 186.7 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 1.062e-06/1.062e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.33e-05, allocations: 3.188 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001537/0.001551, allocations: 1.386 MB / 270.6 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008049/0.009599, allocations: 11.8 MB / 282.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.009636, allocations: 4 kB / 282.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.009654, allocations: 7.922 kB / 282.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.01173, allocations: 1.049 MB / 283.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01282, allocations: 0.6563 MB / 284.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.0129, allocations: 71.64 kB / 284.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.608e-05/0.01292, allocations: 0 / 284.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.01297, allocations: 43.89 kB / 284.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.01303, allocations: 15.98 kB / 284.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.01305, allocations: 4 kB / 284.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.01465, allocations: 1.498 MB / 285.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.01467, allocations: 11.97 kB / 285.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.01469, allocations: 19.94 kB / 285.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.01585, allocations: 1.247 MB / 287 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01585, allocations: 0 / 287 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.01585, allocations: 7.938 kB / 287 MB, free: 7.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.01586, allocations: 0 / 287 MB, free: 7.902 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.0004654/0.01632, allocations: 0.5689 MB / 287.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.01635, allocations: 8.031 kB / 287.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.01643, allocations: 16.92 kB / 287.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.01651, allocations: 120.5 kB / 287.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.01652, allocations: 8.375 kB / 287.7 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.01653, allocations: 384 / 287.7 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.01665, allocations: 133.7 kB / 287.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.01665, allocations: 192 / 287.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.01666, allocations: 8.125 kB / 287.9 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.01667, allocations: 4 kB / 287.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.01669, allocations: 7.984 kB / 287.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.01679, allocations: 117 kB / 288 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.01694, allocations: 86.17 kB / 288.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.01696, allocations: 23.36 kB / 288.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/0.01939, allocations: 1.406 MB / 289.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.01942, allocations: 49.31 kB / 289.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.01942, allocations: 0 / 289.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001349/0.01955, allocations: 69.7 kB / 289.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.01958, allocations: 81.09 kB / 289.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.01965, allocations: 173.8 kB / 289.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.01966, allocations: 25.7 kB / 289.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.01969, allocations: 138.9 kB / 290 MB, free: 4.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.01972, allocations: 15.8 kB / 290.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.01975, allocations: 35.36 kB / 290.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01985, allocations: 496.1 kB / 290.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.01987, allocations: 7.984 kB / 290.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.01989, allocations: 19.38 kB / 290.6 MB, free: 4.066 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.01993, allocations: 43.28 kB / 290.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01993, allocations: 0 / 290.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.731e-05/0.02, allocations: 57.64 kB / 290.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.02001, allocations: 4 kB / 290.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.02001, allocations: 0 / 290.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.02002, allocations: 11.94 kB / 290.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.818e-05/0.02006, allocations: 11.98 kB / 290.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.02006, allocations: 3.938 kB / 290.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.02009, allocations: 4 kB / 290.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.02009, allocations: 0 / 290.7 MB, free: 3.918 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.888e-05/0.02015, allocations: 160.6 kB / 290.9 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.02017, allocations: 7.984 kB / 290.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.02029, allocations: 97.83 kB / 291 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.02029, allocations: 0 / 291 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.02029, allocations: 4.125 kB / 291 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02029, allocations: 7.875 kB / 291 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.94e-05/0.02036, allocations: 113.2 kB / 291.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.02036, allocations: 0 / 291.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.02039, allocations: 8 kB / 291.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.02039, allocations: 0 / 291.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.02039, allocations: 11.92 kB / 291.1 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.02039, allocations: 0 / 291.1 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.0204, allocations: 0 / 291.1 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304e-05/0.02048, allocations: 108.5 kB / 291.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.0205, allocations: 15.88 kB / 291.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.02051, allocations: 11.92 kB / 291.3 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.744e-05/0.02054, allocations: 7.984 kB / 291.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.02057, allocations: 0 / 291.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.02057, allocations: 7.984 kB / 291.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.02061, allocations: 127.2 kB / 291.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02061, allocations: 0 / 291.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000517/0.02112, allocations: 334.8 kB / 291.7 MB, free: 2.848 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.00072/0.02184, allocations: 0.6384 MB / 292.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.02193, allocations: 43.56 kB / 292.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02193, allocations: 0 / 292.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.02195, allocations: 15.69 kB / 292.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.02208, allocations: 15.98 kB / 292.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.0225, allocations: 169.9 kB / 292.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.696e-05/0.02252, allocations: 59.34 kB / 292.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.02259, allocations: 44.11 kB / 292.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.02267, allocations: 102.2 kB / 292.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02267, allocations: 0 / 292.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of Templates: time 0.01008/0.03275, allocations: 10.83 MB / 303.6 MB, free: 6.875 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.691619905177504]