Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_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.001456/0.001456, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001416/0.001416, allocations: 183.1 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08993, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002352/0.09232, allocations: 1.357 MB / 376 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.174/0.2664, allocations: 12.09 MB / 388.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.2665, allocations: 3.938 kB / 388.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.2665, allocations: 1.734 kB / 388.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003038/0.2696, allocations: 1.047 MB / 389.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2711, allocations: 0.6305 MB / 389.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.2713, allocations: 60.62 kB / 389.8 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.2713, allocations: 11.78 kB / 389.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.2714, allocations: 32.56 kB / 389.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.2714, allocations: 33.5 kB / 389.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2715, allocations: 2.531 kB / 389.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.2742, allocations: 1.611 MB / 391.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.2742, allocations: 12.84 kB / 391.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.2743, allocations: 29.25 kB / 391.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.276, allocations: 1.07 MB / 392.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.276, allocations: 1.219 kB / 392.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.276, allocations: 0 / 392.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.276, allocations: 0 / 392.6 MB, free: 4.23 MB / 318.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.000653/0.2767, allocations: 0.5469 MB / 393.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2767, allocations: 9.188 kB / 393.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.536e-05/0.2768, allocations: 36.52 kB / 393.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2769, allocations: 17.44 kB / 393.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.277, allocations: 176.7 kB / 393.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.277, allocations: 2.531 kB / 393.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.277, allocations: 2.781 kB / 393.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.2772, allocations: 68.5 kB / 393.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2772, allocations: 0 / 393.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2772, allocations: 5.312 kB / 393.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2772, allocations: 1.375 kB / 393.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.2773, allocations: 23.02 kB / 393.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.2775, allocations: 175.8 kB / 393.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.2778, allocations: 79.95 kB / 393.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.2778, allocations: 32.5 kB / 393.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005742/0.2836, allocations: 3.291 MB / 397.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2836, allocations: 48.3 kB / 397.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2836, allocations: 0 / 397.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000294/0.2839, allocations: 83.64 kB / 397.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.2839, allocations: 79.09 kB / 397.3 MB, free: 484 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.284, allocations: 115.4 kB / 397.4 MB, free: 376 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.284, allocations: 27.17 kB / 397.4 MB, free: 344 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.2841, allocations: 86.38 kB / 397.5 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.2841, allocations: 20.03 kB / 397.5 MB, free: 240 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.2841, allocations: 21.03 kB / 397.6 MB, free: 220 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.2842, allocations: 321.3 kB / 397.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.2843, allocations: 9.391 kB / 397.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.2844, allocations: 25.72 kB / 397.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.2845, allocations: 43.08 kB / 398 MB, free: 15.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2845, allocations: 0 / 398 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001713/0.2847, allocations: 73.31 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2847, allocations: 5.531 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2847, allocations: 1.609 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2847, allocations: 1.312 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.2848, allocations: 14.59 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2848, allocations: 1 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.2849, allocations: 2.609 kB / 398 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2849, allocations: 11.45 kB / 398.1 MB, free: 15.79 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.674e-05/0.285, allocations: 113.2 kB / 398.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.285, allocations: 10.52 kB / 398.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.2853, allocations: 103 kB / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2853, allocations: 5.344 kB / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2853, allocations: 7.281 kB / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2853, allocations: 1.438 kB / 398.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2855, allocations: 167.5 kB / 398.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2855, allocations: 0 / 398.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.2855, allocations: 19.56 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2856, allocations: 2.812 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2856, allocations: 1.906 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2856, allocations: 2.109 kB / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2856, allocations: 0 / 398.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.2858, allocations: 103.8 kB / 398.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.2859, allocations: 91.02 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2859, allocations: 2.156 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.2859, allocations: 3.719 kB / 398.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.286, allocations: 14.59 kB / 398.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.286, allocations: 4.016 kB / 398.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.625e-05/0.2861, allocations: 97.17 kB / 398.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2861, allocations: 0 / 398.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009036/0.287, allocations: 325.3 kB / 399.1 MB, free: 15.03 MB / 334.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.001601/0.2886, allocations: 1.12 MB / 400.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2888, allocations: 36.97 kB / 400.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2888, allocations: 1.031 kB / 400.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.2889, allocations: 23.84 kB / 400.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.2891, allocations: 19.2 kB / 400.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2908, allocations: 1.449 MB / 401.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2911, allocations: 0.6835 MB / 402.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.2912, allocations: 49.61 kB / 402.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.2913, allocations: 24.17 kB / 402.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2913, allocations: 5.375 kB / 402.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.3269, allocations: 10.53 MB / 413 MB, free: 7.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.224, allocations: 13.28 kB / 413.1 MB, free: 7.281 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches