Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001894/0.001894, allocations: 92.33 kB / 21.73 MB, free: 2.676 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.002258/0.002258, allocations: 163.3 kB / 25.02 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.894e-05/4.228e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.004863/0.004905, allocations: 1.349 MB / 251.7 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.04086/0.04576, allocations: 21.23 MB / 272.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.0458, allocations: 0 / 272.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.04594, allocations: 11.92 kB / 273 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01614/0.06208, allocations: 5.68 MB / 278.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.06314, allocations: 366.4 kB / 279 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.06331, allocations: 79.62 kB / 279.1 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.06336, allocations: 4 kB / 279.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.06346, allocations: 43.84 kB / 279.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.06358, allocations: 35.89 kB / 279.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.0636, allocations: 4 kB / 279.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.0811, allocations: 8.276 MB / 287.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.08115, allocations: 15.92 kB / 287.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.08122, allocations: 27.91 kB / 287.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.09405, allocations: 5.445 MB / 292.9 MB, free: 9.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.09406, allocations: 0 / 292.9 MB, free: 9.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09406, allocations: 0 / 292.9 MB, free: 9.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.09406, allocations: 4 kB / 292.9 MB, free: 9.238 MB / 282.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.002468/0.09653, allocations: 0.8486 MB / 293.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.09658, allocations: 11.98 kB / 293.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.09665, allocations: 8.891 kB / 293.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.09685, allocations: 145.7 kB / 293.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.09687, allocations: 4.375 kB / 293.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.09689, allocations: 7.938 kB / 293.9 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.09713, allocations: 118.8 kB / 294.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.09714, allocations: 0 / 294.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.09716, allocations: 4 kB / 294.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.09716, allocations: 3.984 kB / 294.1 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.0973, allocations: 31.92 kB / 294.1 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.09751, allocations: 134.2 kB / 294.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.09786, allocations: 101.1 kB / 294.3 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.09795, allocations: 29.77 kB / 294.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.295e-05/0.09801, allocations: 15.92 kB / 294.4 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.09805, allocations: 34.56 kB / 294.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.09805, allocations: 0 / 294.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004446/0.0985, allocations: 105.5 kB / 294.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.09856, allocations: 81.05 kB / 294.6 MB, free: 7.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.09874, allocations: 145.8 kB / 294.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.09876, allocations: 29.7 kB / 294.8 MB, free: 7.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.09882, allocations: 84.14 kB / 294.8 MB, free: 7.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.09887, allocations: 27.78 kB / 294.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.09891, allocations: 13.72 kB / 294.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.09912, allocations: 326.8 kB / 295.2 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.09918, allocations: 12 kB / 295.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.09926, allocations: 33.7 kB / 295.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.0994, allocations: 53.69 kB / 295.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.0994, allocations: 0 / 295.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002127/0.09962, allocations: 89.55 kB / 295.4 MB, free: 6.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.09963, allocations: 4 kB / 295.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.09964, allocations: 0 / 295.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.09965, allocations: 4 kB / 295.4 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.09973, allocations: 11.98 kB / 295.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.09973, allocations: 0 / 295.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.09978, allocations: 7.953 kB / 295.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.09979, allocations: 0 / 295.4 MB, free: 6.516 MB / 282.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 0.0001176/0.09991, allocations: 117.8 kB / 295.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.09994, allocations: 7.938 kB / 295.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1002, allocations: 101.6 kB / 295.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1002, allocations: 0 / 295.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1002, allocations: 0 / 295.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1002, allocations: 0 / 295.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1004, allocations: 125.2 kB / 295.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1004, allocations: 0.5625 kB / 295.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.1004, allocations: 19.98 kB / 295.8 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1004, allocations: 3.938 kB / 295.8 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1004, allocations: 0 / 295.8 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1004, allocations: 0 / 295.8 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1005, allocations: 8 kB / 295.8 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1007, allocations: 106 kB / 295.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.1007, allocations: 19.88 kB / 295.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1008, allocations: 4 kB / 295.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.1008, allocations: 11.86 kB / 295.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1009, allocations: 4 kB / 295.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1009, allocations: 8.188 kB / 295.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003363/0.1012, allocations: 111.2 kB / 296 MB, free: 5.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1012, allocations: 0 / 296 MB, free: 5.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003075/0.1043, allocations: 0.9352 MB / 297 MB, free: 4.879 MB / 282.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.00521/0.1095, allocations: 1.48 MB / 298.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1098, allocations: 47.91 kB / 298.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1098, allocations: 0 / 298.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.1099, allocations: 19.98 kB / 298.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1102, allocations: 31.91 kB / 298.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.1107, allocations: 180.4 kB / 298.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.276e-05/0.1108, allocations: 63.34 kB / 298.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.1108, allocations: 16.36 kB / 298.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.1109, allocations: 16.5 kB / 298.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1109, allocations: 0 / 298.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of Templates: time 0.1316/0.2424, allocations: 29.05 MB / 327.9 MB, free: 39.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 8.253905386081897]