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.001218/0.001218, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.00121/0.00121, allocations: 189.4 kB / 18 MB, free: 5.098 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 39.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2626, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002519/0.2652, allocations: 1.362 MB / 401.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2797, allocations: 12.08 MB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.2798, allocations: 0 / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.2799, allocations: 3.938 kB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.2831, allocations: 1.037 MB / 414.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.2849, allocations: 0.6333 MB / 415.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.285, allocations: 67.7 kB / 415.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.2851, allocations: 0 / 415.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.2851, allocations: 31.91 kB / 415.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.2852, allocations: 27.91 kB / 415.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.2852, allocations: 4 kB / 415.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.2885, allocations: 1.612 MB / 417.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2885, allocations: 15.92 kB / 417.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.2886, allocations: 27.91 kB / 417.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2907, allocations: 1.072 MB / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2907, allocations: 0 / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2907, allocations: 0 / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.2908, allocations: 7.938 kB / 418.2 MB, free: 6.777 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.0008098/0.2916, allocations: 0.5546 MB / 418.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2916, allocations: 15.97 kB / 418.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.2917, allocations: 30.75 kB / 418.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.2918, allocations: 8.922 kB / 418.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.292, allocations: 188.3 kB / 419 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.292, allocations: 384 / 419 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.292, allocations: 4.375 kB / 419 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.2922, allocations: 67.33 kB / 419.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2922, allocations: 0 / 419.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2922, allocations: 0 / 419.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2922, allocations: 4 kB / 419.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2924, allocations: 23.92 kB / 419.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.2926, allocations: 174.6 kB / 419.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.2929, allocations: 81.17 kB / 419.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.2929, allocations: 29.77 kB / 419.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006616/0.2996, allocations: 3.309 MB / 422.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2996, allocations: 34.56 kB / 422.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.2996, allocations: 0 / 422.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003519/0.3, allocations: 81.56 kB / 422.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.3001, allocations: 81.09 kB / 422.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3002, allocations: 113.8 kB / 423 MB, free: 1.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3002, allocations: 29.7 kB / 423 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.3003, allocations: 84.14 kB / 423.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.3003, allocations: 23.8 kB / 423.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.3004, allocations: 21.7 kB / 423.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3005, allocations: 318.8 kB / 423.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.3006, allocations: 11.98 kB / 423.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.3006, allocations: 25.66 kB / 423.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3008, allocations: 37.7 kB / 423.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3008, allocations: 4 kB / 423.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001695/0.3009, allocations: 77.55 kB / 423.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.301, allocations: 4 kB / 423.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.301, allocations: 3.984 kB / 423.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.301, allocations: 0 / 423.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.3011, allocations: 12 kB / 423.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3011, allocations: 320 / 423.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.3011, allocations: 3.953 kB / 423.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3012, allocations: 4 kB / 423.6 MB, free: 0.6328 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 8.876e-05/0.3013, allocations: 117.8 kB / 423.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.3013, allocations: 7.938 kB / 423.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3016, allocations: 113.9 kB / 423.9 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3016, allocations: 3.938 kB / 423.9 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3016, allocations: 128 / 423.9 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3016, allocations: 8 kB / 423.9 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3018, allocations: 173.6 kB / 424 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3018, allocations: 3.938 kB / 424.1 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.3018, allocations: 8 kB / 424.1 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3018, allocations: 7.984 kB / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3019, allocations: 0 / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3019, allocations: 0 / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3019, allocations: 0 / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.3021, allocations: 105.9 kB / 424.2 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.3022, allocations: 96.98 kB / 424.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3022, allocations: 0 / 424.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.3023, allocations: 4 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.3023, allocations: 3.984 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3024, allocations: 8 kB / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.187e-05/0.3024, allocations: 91.27 kB / 424.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3024, allocations: 0 / 424.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008867/0.3033, allocations: 334.8 kB / 424.7 MB, free: 15.46 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.001652/0.305, allocations: 1.127 MB / 425.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.3052, allocations: 35.92 kB / 425.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3052, allocations: 0 / 425.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.629e-05/0.3053, 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.0001982/0.3055, allocations: 11.98 kB / 425.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3072, allocations: 1.446 MB / 427.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3076, allocations: 0.6807 MB / 428 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.3077, allocations: 52.09 kB / 428.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.3077, allocations: 23.42 kB / 428.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3078, allocations: 0 / 428.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.3429, allocations: 10.53 MB / 438.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.719, allocations: 12.56 kB / 438.6 MB, free: 1.445 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches