Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001449/0.001449, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 68.08 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2366, allocations: 50.54 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002276/0.239, allocations: 1.37 MB / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.2526, allocations: 12.09 MB / 422.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.2527, allocations: 7.938 kB / 422.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.2527, allocations: 7.922 kB / 422.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.2557, allocations: 1.049 MB / 423.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.2572, allocations: 0.6178 MB / 424 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2573, allocations: 67.72 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.2574, allocations: 7.969 kB / 424 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.2575, allocations: 31.86 kB / 424.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2576, allocations: 31.91 kB / 424.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.2576, allocations: 4 kB / 424.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.2607, allocations: 1.608 MB / 425.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.2608, allocations: 15.92 kB / 425.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.2608, allocations: 23.86 kB / 425.7 MB, free: 472 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.2627, allocations: 1.076 MB / 426.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2627, allocations: 0 / 426.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2627, allocations: 4 kB / 426.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2627, allocations: 0 / 426.8 MB, free: 15.38 MB / 350.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.0008167/0.2635, allocations: 0.5521 MB / 427.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2636, allocations: 12.03 kB / 427.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.2636, allocations: 34.73 kB / 427.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2638, allocations: 12.89 kB / 427.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.2639, allocations: 176.4 kB / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.264, allocations: 4.375 kB / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.264, allocations: 4.375 kB / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2642, allocations: 75.27 kB / 427.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2642, allocations: 0 / 427.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2642, allocations: 4 kB / 427.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2642, allocations: 0 / 427.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2643, allocations: 23.97 kB / 427.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.2646, allocations: 174.6 kB / 427.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.2649, allocations: 85.12 kB / 428 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.265, allocations: 21.78 kB / 428 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006565/0.2715, allocations: 3.309 MB / 431.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.2716, allocations: 42.5 kB / 431.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.2716, allocations: 0 / 431.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003211/0.2719, allocations: 81.66 kB / 431.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.272, allocations: 81.05 kB / 431.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2721, allocations: 113.8 kB / 431.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2721, allocations: 33.7 kB / 431.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.2722, allocations: 80.14 kB / 431.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.2722, allocations: 27.78 kB / 431.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.2723, allocations: 17.72 kB / 431.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2724, allocations: 314.8 kB / 432.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.2725, allocations: 19.92 kB / 432.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.2726, allocations: 21.7 kB / 432.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.2727, allocations: 46 kB / 432.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2727, allocations: 0 / 432.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001669/0.2729, allocations: 73.56 kB / 432.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2729, allocations: 8 kB / 432.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2729, allocations: 4 kB / 432.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2729, allocations: 0 / 432.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.273, allocations: 15.94 kB / 432.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.273, allocations: 0 / 432.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.2731, allocations: 3.984 kB / 432.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.2731, allocations: 4 kB / 432.3 MB, free: 9.219 MB / 350.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 0.0001074/0.2732, allocations: 109.8 kB / 432.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.2732, allocations: 11.89 kB / 432.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.2735, allocations: 105.5 kB / 432.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.2735, allocations: 0 / 432.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2735, allocations: 3.938 kB / 432.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2735, allocations: 0 / 432.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2737, allocations: 165.7 kB / 432.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2737, allocations: 3.938 kB / 432.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.2738, allocations: 23.92 kB / 432.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2738, allocations: 0 / 432.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2738, allocations: 4 kB / 432.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2738, allocations: 128 / 432.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2738, allocations: 4 kB / 432.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.274, allocations: 97.92 kB / 432.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.2741, allocations: 93.03 kB / 432.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2741, allocations: 4 kB / 432.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.2742, allocations: 0 / 432.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.2742, allocations: 15.92 kB / 432.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.2742, allocations: 4 kB / 432.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.501e-05/0.2743, allocations: 91.27 kB / 433 MB, free: 8.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2743, allocations: 0 / 433 MB, free: 8.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007956/0.2751, allocations: 330.8 kB / 433.3 MB, free: 8.07 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.001535/0.2767, allocations: 1.116 MB / 434.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.2769, allocations: 43.91 kB / 434.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2769, allocations: 0 / 434.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.2769, allocations: 23.92 kB / 434.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.2771, allocations: 19.03 kB / 434.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2789, allocations: 1.465 MB / 436 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.2792, allocations: 0.6884 MB / 436.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.2793, allocations: 47.88 kB / 436.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.2794, allocations: 23.42 kB / 436.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2794, allocations: 0 / 436.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.3138, allocations: 10.53 MB / 447.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.142, allocations: 11.92 kB / 447.3 MB, free: 10.03 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches