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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.42 kB / 307 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.089, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002392/0.09142, allocations: 1.373 MB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1691/0.2606, allocations: 23.59 MB / 382.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.2606, allocations: 0 / 382.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.635e-05/0.2608, allocations: 10 kB / 382.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0156/0.2764, allocations: 5.997 MB / 388.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.2771, allocations: 339.9 kB / 388.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.2772, allocations: 80.36 kB / 388.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.2772, allocations: 6.141 kB / 388.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.2773, allocations: 32.81 kB / 389 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.2773, allocations: 29.66 kB / 389 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2774, allocations: 7.375 kB / 389 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.2915, allocations: 8.721 MB / 397.7 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.2915, allocations: 16.06 kB / 397.7 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.2916, allocations: 26.86 kB / 397.8 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.3002, allocations: 4.385 MB / 402.1 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3002, allocations: 0 / 402.1 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3002, allocations: 0 / 402.1 MB, free: 14.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3002, allocations: 4 kB / 402.1 MB, free: 14.59 MB / 318.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.002178/0.3024, allocations: 0.9182 MB / 403.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3025, allocations: 9.781 kB / 403.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.3025, allocations: 3.594 kB / 403.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3027, allocations: 200.2 kB / 403.3 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3027, allocations: 10.84 kB / 403.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3028, allocations: 2.094 kB / 403.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3029, allocations: 72.58 kB / 403.4 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3029, allocations: 0 / 403.4 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.303, allocations: 4 kB / 403.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.303, allocations: 1.281 kB / 403.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3031, allocations: 36.94 kB / 403.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.3033, allocations: 186.5 kB / 403.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3036, allocations: 97.19 kB / 403.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.3037, allocations: 29.77 kB / 403.7 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.677e-05/0.3038, allocations: 15.92 kB / 403.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3038, allocations: 38.56 kB / 403.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3038, allocations: 0 / 403.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003526/0.3042, allocations: 110.5 kB / 403.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3043, allocations: 81.05 kB / 403.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3044, allocations: 133.8 kB / 404.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3044, allocations: 25.7 kB / 404.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.3045, allocations: 88.14 kB / 404.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.3045, allocations: 23.64 kB / 404.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.3046, allocations: 25.72 kB / 404.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3047, allocations: 322.8 kB / 404.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.3048, allocations: 16 kB / 404.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.3049, allocations: 29.7 kB / 404.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.305, allocations: 54.38 kB / 404.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.305, allocations: 0 / 404.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001939/0.3052, allocations: 80.48 kB / 404.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3053, allocations: 8 kB / 404.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3053, allocations: 3.938 kB / 404.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3053, allocations: 4 kB / 404.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3054, allocations: 11.98 kB / 404.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3054, allocations: 0 / 404.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.3054, allocations: 4 kB / 404.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3054, allocations: 0 / 404.8 MB, free: 12.03 MB / 318.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 9.028e-05/0.3055, allocations: 117.8 kB / 404.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3056, allocations: 7.906 kB / 404.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.3058, allocations: 106.5 kB / 405 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3059, allocations: 0 / 405 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3059, allocations: 4 kB / 405 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3059, allocations: 0 / 405 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.306, allocations: 189.5 kB / 405.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.306, allocations: 0 / 405.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.3061, allocations: 8 kB / 405.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3061, allocations: 0 / 405.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3061, allocations: 4.75 kB / 405.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3061, allocations: 4 kB / 405.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3061, allocations: 4.312 kB / 405.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.3064, allocations: 118.3 kB / 405.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3065, allocations: 89 kB / 405.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3065, allocations: 0 / 405.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.3066, allocations: 12.56 kB / 405.4 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.3066, allocations: 16.55 kB / 405.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3066, allocations: 0 / 405.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.3067, allocations: 111.3 kB / 405.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3067, allocations: 0 / 405.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002374/0.3091, allocations: 0.9408 MB / 406.5 MB, free: 10.21 MB / 318.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.003953/0.3131, allocations: 1.341 MB / 407.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3133, allocations: 47.91 kB / 407.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3133, allocations: 0 / 407.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.3134, allocations: 31.92 kB / 407.9 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.3136, allocations: 19.92 kB / 407.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.3141, allocations: 182.8 kB / 408.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.3144, allocations: 0.6933 MB / 408.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.3145, allocations: 20.25 kB / 408.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.3145, allocations: 15.44 kB / 408.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3145, allocations: 0 / 408.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of Templates: time 0.03938/0.3539, allocations: 27.31 MB / 436.1 MB, free: 12.47 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (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) 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) Reference file matches