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.001622/0.001622, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002011/0.002011, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 67.64 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09889, 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.003823/0.1028, allocations: 1.377 MB / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.1227, allocations: 12.1 MB / 371.1 MB, free: 488 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.1228, allocations: 0 / 371.1 MB, free: 488 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.1229, allocations: 3.938 kB / 371.1 MB, free: 484 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1468/0.2697, allocations: 1.038 MB / 372.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.2714, allocations: 0.6326 MB / 372.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2715, allocations: 66.47 kB / 372.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.2716, allocations: 10.66 kB / 372.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.2717, allocations: 22.53 kB / 372.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.2718, allocations: 33.44 kB / 372.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2718, allocations: 7.156 kB / 372.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.2758, allocations: 1.569 MB / 374.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.2758, allocations: 11.45 kB / 374.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.2759, allocations: 26.42 kB / 374.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.278, allocations: 1.071 MB / 375.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.278, allocations: 1.875 kB / 375.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.278, allocations: 1.938 kB / 375.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.278, allocations: 2.078 kB / 375.5 MB, free: 9.41 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.000764/0.2788, allocations: 0.5351 MB / 376.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.2789, allocations: 9.156 kB / 376.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.2789, allocations: 34.59 kB / 376.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2791, allocations: 10.52 kB / 376.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2792, allocations: 181.8 kB / 376.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2792, allocations: 2.438 kB / 376.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2792, allocations: 2.969 kB / 376.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2794, allocations: 68.11 kB / 376.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2794, allocations: 0 / 376.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2795, allocations: 3.469 kB / 376.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2795, allocations: 2.188 kB / 376.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.2796, allocations: 29.36 kB / 376.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.2797, allocations: 175 kB / 376.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.28, allocations: 78.75 kB / 376.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.2801, allocations: 22.98 kB / 376.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00615/0.2862, allocations: 3.296 MB / 380 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2863, allocations: 46.58 kB / 380 MB, free: 6.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.2863, allocations: 0 / 380 MB, free: 6.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003021/0.2866, allocations: 83.06 kB / 380.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.2866, allocations: 79.44 kB / 380.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.2867, allocations: 114.8 kB / 380.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2867, allocations: 27.02 kB / 380.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.2867, allocations: 85.55 kB / 380.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2868, allocations: 22.84 kB / 380.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2868, allocations: 20.94 kB / 380.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.2869, allocations: 313.8 kB / 380.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.2869, allocations: 12.7 kB / 380.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.287, allocations: 24.38 kB / 380.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2871, allocations: 38.31 kB / 380.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2871, allocations: 5.641 kB / 380.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001694/0.2873, allocations: 72.69 kB / 380.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2873, allocations: 7.328 kB / 380.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2873, allocations: 2.875 kB / 380.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2873, allocations: 1.469 kB / 380.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.2874, allocations: 14.08 kB / 380.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2875, allocations: 1.406 kB / 380.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.2875, allocations: 6.047 kB / 380.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2875, allocations: 2.875 kB / 380.9 MB, free: 5.27 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 6.999e-05/0.2876, allocations: 125.9 kB / 381.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2876, allocations: 10.66 kB / 381.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.2879, allocations: 104 kB / 381.2 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2879, allocations: 1.5 kB / 381.2 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.288, allocations: 5.469 kB / 381.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.288, allocations: 0.5156 kB / 381.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2881, allocations: 170.3 kB / 381.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2881, allocations: 2.094 kB / 381.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.2882, allocations: 18.08 kB / 381.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2882, allocations: 1.281 kB / 381.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2882, allocations: 1.844 kB / 381.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2882, allocations: 1.984 kB / 381.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2882, allocations: 0 / 381.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.2884, allocations: 102.2 kB / 381.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.2885, allocations: 92.03 kB / 381.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2885, allocations: 2.625 kB / 381.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.2886, allocations: 4.125 kB / 381.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2886, allocations: 10.38 kB / 381.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2886, allocations: 3.953 kB / 381.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.2887, allocations: 91.81 kB / 381.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2887, allocations: 6.156 kB / 381.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009056/0.2896, allocations: 324 kB / 382 MB, free: 4.594 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.001287/0.2909, allocations: 1.122 MB / 383.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.2911, allocations: 35.27 kB / 383.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2911, allocations: 1.562 kB / 383.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.2911, allocations: 21.59 kB / 383.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.2913, allocations: 14.42 kB / 383.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2927, allocations: 1.44 MB / 384.6 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.2928, allocations: 0.6935 MB / 385.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2929, allocations: 49.44 kB / 385.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.293, allocations: 30.38 kB / 385.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.293, allocations: 1.312 kB / 385.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.3222, allocations: 10.49 MB / 395.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.096, allocations: 8.422 kB / 395.9 MB, free: 13.96 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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