Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.00163/0.00163, allocations: 88.2 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001681/0.001681, allocations: 158.7 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.453/1.453, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.559e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002521/0.002546, allocations: 1.347 MB / 326.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03389/0.03643, allocations: 21.18 MB / 347.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.03648, allocations: 0 / 347.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.03663, allocations: 11.86 kB / 347.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01805/0.05468, allocations: 6.013 MB / 353.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009651/0.05565, allocations: 366.4 kB / 353.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.05579, allocations: 83.62 kB / 354 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.05583, allocations: 3.938 kB / 354 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.05594, allocations: 51.81 kB / 354 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.05604, allocations: 35.89 kB / 354.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.05607, allocations: 4 kB / 354.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/0.07312, allocations: 8.411 MB / 362.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.0732, allocations: 15.92 kB / 362.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.07326, allocations: 23.97 kB / 362.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.0879, allocations: 5.488 MB / 368 MB, free: 9.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.08791, allocations: 4 kB / 368 MB, free: 9.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08791, allocations: 0 / 368 MB, free: 9.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.08792, allocations: 0 / 368 MB, free: 9.957 MB / 334.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.003453/0.09137, allocations: 0.8641 MB / 368.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.09142, allocations: 15.98 kB / 368.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.09149, allocations: 4.891 kB / 368.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.0917, allocations: 145.6 kB / 369.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.09172, allocations: 384 / 369.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.09174, allocations: 7.875 kB / 369.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.09199, allocations: 122.8 kB / 369.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.092, allocations: 0 / 369.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.09201, allocations: 0 / 369.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.09202, allocations: 4 kB / 369.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.09216, allocations: 43.91 kB / 369.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.09238, allocations: 130.2 kB / 369.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.09275, allocations: 89.22 kB / 369.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.09283, allocations: 37.7 kB / 369.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-05/0.0929, allocations: 11.94 kB / 369.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.09294, allocations: 38.55 kB / 369.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.09294, allocations: 0 / 369.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003738/0.09331, allocations: 105.5 kB / 369.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.09338, allocations: 81.11 kB / 369.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.09353, allocations: 133.8 kB / 369.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.09356, allocations: 29.7 kB / 369.9 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.09361, allocations: 80.14 kB / 370 MB, free: 7.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.09365, allocations: 27.78 kB / 370 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.09369, allocations: 17.72 kB / 370 MB, free: 7.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.09388, allocations: 314.8 kB / 370.3 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.09395, allocations: 19.98 kB / 370.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.09402, allocations: 29.7 kB / 370.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.09416, allocations: 61.98 kB / 370.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.09416, allocations: 0 / 370.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001982/0.09436, allocations: 85.55 kB / 370.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.09437, allocations: 4 kB / 370.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.09438, allocations: 0 / 370.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.09439, allocations: 4 kB / 370.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.09446, allocations: 16.11 kB / 370.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.09447, allocations: 0 / 370.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.09451, allocations: 7.938 kB / 370.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.09451, allocations: 4 kB / 370.5 MB, free: 7.227 MB / 334.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.845e-05/0.0946, allocations: 114.2 kB / 370.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.09463, allocations: 11.89 kB / 370.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.09489, allocations: 101.6 kB / 370.8 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.0949, allocations: 4 kB / 370.8 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.0949, allocations: 3.938 kB / 370.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.0949, allocations: 0 / 370.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.09504, allocations: 125.2 kB / 370.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.09504, allocations: 0 / 370.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.09511, allocations: 15.98 kB / 370.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.09511, allocations: 7.938 kB / 370.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.09513, allocations: 4 kB / 370.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.09513, allocations: 0 / 370.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.09513, allocations: 3.938 kB / 370.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.09537, allocations: 106 kB / 371 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.09543, allocations: 19.88 kB / 371 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.09546, allocations: 0 / 371 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.09556, allocations: 0 / 371 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.09561, allocations: 7.984 kB / 371 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.09563, allocations: 12 kB / 371.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.09572, allocations: 111.2 kB / 371.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09572, allocations: 0 / 371.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003055/0.09877, allocations: 0.9508 MB / 372.1 MB, free: 5.57 MB / 334.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.005341/0.1041, allocations: 1.48 MB / 373.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1044, allocations: 43.97 kB / 373.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1044, allocations: 0 / 373.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.1044, allocations: 31.92 kB / 373.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1047, allocations: 15.27 kB / 373.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.1052, allocations: 173.5 kB / 373.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.856e-05/0.1053, allocations: 71.33 kB / 373.9 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.497e-05/0.1053, allocations: 19.77 kB / 373.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.1054, allocations: 16.5 kB / 374 MB, free: 3.668 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1054, allocations: 0 / 374 MB, free: 3.668 MB / 334.1 MB Notification: Performance of Templates: time 0.04171/0.1471, allocations: 27.49 MB / 401.5 MB, free: 8.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.602641802281141]