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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001237, allocations: 107.9 kB / 17.06 MB, free: 5.82 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.001263/0.001263, allocations: 195.9 kB / 18 MB, free: 4.965 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 43.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2263, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002236/0.2285, allocations: 1.346 MB / 401.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.2417, allocations: 12.08 MB / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.2418, allocations: 0 / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.2418, allocations: 7.922 kB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.2448, allocations: 1.045 MB / 414.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.2463, allocations: 0.6319 MB / 415.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2464, allocations: 67.66 kB / 415.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.182e-05/0.2464, allocations: 0 / 415.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.513e-05/0.2465, allocations: 31.91 kB / 415.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.2466, allocations: 31.89 kB / 415.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2466, allocations: 4 kB / 415.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.2496, allocations: 1.608 MB / 417.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2496, allocations: 11.98 kB / 417.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.2497, allocations: 27.86 kB / 417.1 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.2515, allocations: 1.076 MB / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2515, allocations: 0 / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.2515, allocations: 0 / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.2515, allocations: 3.938 kB / 418.2 MB, free: 6.781 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.0007592/0.2523, allocations: 0.5598 MB / 418.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2524, allocations: 8.031 kB / 418.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.2524, allocations: 34.75 kB / 418.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2525, allocations: 8.938 kB / 418.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2527, allocations: 180.3 kB / 419 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2527, allocations: 384 / 419 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.2527, allocations: 384 / 419 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.2529, allocations: 75.33 kB / 419.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2529, allocations: 0 / 419.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2529, allocations: 0 / 419.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2529, allocations: 3.938 kB / 419.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2531, allocations: 31.97 kB / 419.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.2533, allocations: 170.6 kB / 419.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.2535, allocations: 81.19 kB / 419.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.2536, allocations: 25.72 kB / 419.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006534/0.2602, allocations: 3.313 MB / 422.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2602, allocations: 38.56 kB / 422.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.2602, allocations: 0 / 422.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003159/0.2606, allocations: 85.55 kB / 422.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.2606, allocations: 81.11 kB / 422.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.2607, allocations: 109.8 kB / 423 MB, free: 1.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2608, allocations: 25.7 kB / 423 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.2608, allocations: 88.14 kB / 423.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.2608, allocations: 27.78 kB / 423.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2609, allocations: 21.72 kB / 423.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.261, allocations: 314.8 kB / 423.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.2611, allocations: 15.94 kB / 423.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.2612, allocations: 21.7 kB / 423.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2613, allocations: 37.7 kB / 423.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2613, allocations: 4 kB / 423.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001713/0.2615, allocations: 73.55 kB / 423.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2615, allocations: 8 kB / 423.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2615, allocations: 0 / 423.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2615, allocations: 0 / 423.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.2616, allocations: 11.98 kB / 423.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.2616, allocations: 4.312 kB / 423.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.2617, allocations: 3.953 kB / 423.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.2617, allocations: 4 kB / 423.6 MB, free: 0.6289 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 7.952e-05/0.2618, allocations: 113.8 kB / 423.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.2618, allocations: 7.938 kB / 423.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.2621, allocations: 109.9 kB / 423.9 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2621, allocations: 0 / 423.9 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2621, allocations: 3.938 kB / 423.9 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2621, allocations: 7.938 kB / 423.9 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2622, allocations: 169.7 kB / 424 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.2623, allocations: 7.922 kB / 424 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.2624, allocations: 11.98 kB / 424.1 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2624, allocations: 0 / 424.1 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2624, allocations: 4.125 kB / 424.1 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2624, allocations: 4 kB / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2624, allocations: 0 / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2626, allocations: 105.9 kB / 424.2 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.2627, allocations: 92.98 kB / 424.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.2628, allocations: 4 kB / 424.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.2628, allocations: 0 / 424.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2629, allocations: 7.984 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.2629, allocations: 8 kB / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.192e-05/0.263, allocations: 91.27 kB / 424.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.263, allocations: 4 kB / 424.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000751/0.2637, allocations: 326.8 kB / 424.7 MB, free: 15.47 MB / 350.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.001509/0.2652, allocations: 1.123 MB / 425.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.2654, allocations: 40.03 kB / 425.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2654, allocations: 0 / 425.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.2655, allocations: 19.98 kB / 425.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.2657, allocations: 8 kB / 425.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.2674, allocations: 1.457 MB / 427.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2677, allocations: 0.6807 MB / 428 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2678, allocations: 52.09 kB / 428.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.2679, allocations: 27.36 kB / 428.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2679, allocations: 0 / 428.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.3023, allocations: 10.53 MB / 438.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.478, allocations: 11.08 kB / 438.6 MB, free: 1.441 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > 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/jenkins1/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/jenkins1/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