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.001134/0.001138, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 57.28 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08498, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002376/0.08739, allocations: 1.365 MB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.1002, allocations: 12.11 MB / 371 MB, free: 500 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.1003, allocations: 7.938 kB / 371.1 MB, free: 492 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.1004, allocations: 7.922 kB / 371.1 MB, free: 484 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1508/0.2512, allocations: 1.035 MB / 372.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.2532, allocations: 0.6329 MB / 372.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.2534, allocations: 66.75 kB / 372.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.2535, allocations: 4.266 kB / 372.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.2536, allocations: 28.28 kB / 372.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2537, allocations: 34.58 kB / 372.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2538, allocations: 2.906 kB / 372.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.2578, allocations: 1.564 MB / 374.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.2579, allocations: 18.09 kB / 374.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.2579, allocations: 23.61 kB / 374.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.2608, allocations: 1.068 MB / 375.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2608, allocations: 5.797 kB / 375.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2608, allocations: 0 / 375.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2608, allocations: 0 / 375.5 MB, free: 9.434 MB / 302.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.0008835/0.2617, allocations: 0.5386 MB / 376.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2617, allocations: 9.625 kB / 376.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.2618, allocations: 31.41 kB / 376.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2619, allocations: 17.08 kB / 376.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.262, allocations: 176.8 kB / 376.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.262, allocations: 5.562 kB / 376.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.2621, allocations: 4.203 kB / 376.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2622, allocations: 67.45 kB / 376.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2622, allocations: 0 / 376.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2622, allocations: 5.188 kB / 376.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2623, allocations: 0.7188 kB / 376.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.2624, allocations: 23.3 kB / 376.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.2625, allocations: 181.3 kB / 376.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.2628, allocations: 77.22 kB / 376.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.2629, allocations: 26.73 kB / 376.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/0.2688, allocations: 3.291 MB / 380 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2688, allocations: 41.45 kB / 380 MB, free: 6.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2688, allocations: 4 kB / 380 MB, free: 6.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002859/0.2691, allocations: 82.31 kB / 380.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.2692, allocations: 82.2 kB / 380.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.2692, allocations: 112.5 kB / 380.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2693, allocations: 26.77 kB / 380.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.2693, allocations: 86.14 kB / 380.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.2693, allocations: 19.84 kB / 380.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.2693, allocations: 20.58 kB / 380.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.2694, allocations: 318.4 kB / 380.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.2694, allocations: 14.08 kB / 380.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.2695, allocations: 22.31 kB / 380.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.2696, allocations: 41.16 kB / 380.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2696, allocations: 3.094 kB / 380.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001515/0.2698, allocations: 79.67 kB / 380.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2698, allocations: 9.281 kB / 380.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2698, allocations: 0.6562 kB / 380.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2698, allocations: 4.094 kB / 380.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.2699, allocations: 10.83 kB / 380.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2699, allocations: 4.844 kB / 380.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.27, allocations: 5.438 kB / 380.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.27, allocations: 2.203 kB / 381 MB, free: 5.293 MB / 302.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 4.908e-05/0.27, allocations: 117.5 kB / 381.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.2701, allocations: 15.53 kB / 381.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.2703, allocations: 104.3 kB / 381.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2703, allocations: 1.219 kB / 381.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2703, allocations: 1.844 kB / 381.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2703, allocations: 0 / 381.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.872e-05/0.2704, allocations: 169.1 kB / 381.4 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2704, allocations: 1.156 kB / 381.4 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.2705, allocations: 15.7 kB / 381.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2705, allocations: 4.469 kB / 381.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2705, allocations: 5.312 kB / 381.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2705, allocations: 1 kB / 381.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2705, allocations: 1.922 kB / 381.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.2707, allocations: 100.3 kB / 381.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.2707, allocations: 90.34 kB / 381.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2708, allocations: 8.25 kB / 381.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.2708, allocations: 3.328 kB / 381.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2709, allocations: 9.094 kB / 381.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2709, allocations: 6.297 kB / 381.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.633e-05/0.2709, allocations: 90.2 kB / 381.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.271, allocations: 0 / 381.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008834/0.2718, allocations: 325.7 kB / 382 MB, free: 4.621 MB / 302.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.001529/0.2734, allocations: 1.124 MB / 383.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.2736, allocations: 39.38 kB / 383.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2736, allocations: 1.344 kB / 383.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.2736, allocations: 21.44 kB / 383.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2738, allocations: 8.484 kB / 383.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2753, allocations: 1.446 MB / 384.6 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/0.2754, allocations: 0.6869 MB / 385.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.2755, allocations: 51.64 kB / 385.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.2756, allocations: 22.3 kB / 385.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2756, allocations: 0 / 385.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.305, allocations: 10.52 MB / 395.9 MB, free: 14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.67, allocations: 4.469 kB / 395.9 MB, free: 14 MB / 318.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.0.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