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.0008267/0.0008267, allocations: 90.31 kB / 16.65 MB, free: 6.59 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.0009017/0.0009018, allocations: 184.7 kB / 17.56 MB, free: 6.199 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.177/1.177, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.000242, allocations: 4 kB / 301.5 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07675/0.07701, allocations: 50.41 MB / 351.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001234/0.07828, allocations: 1.083 MB / 353 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.08979, allocations: 12.16 MB / 365.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.08985, allocations: 0 / 365.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.08988, allocations: 3.938 kB / 365.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.09222, allocations: 0.8519 MB / 366 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.09354, allocations: 0.5444 MB / 366.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.09363, allocations: 59.67 kB / 366.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.051e-05/0.09367, allocations: 4 kB / 366.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.09372, allocations: 31.91 kB / 366.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.09381, allocations: 31.89 kB / 366.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.09383, allocations: 7.938 kB / 366.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.09635, allocations: 1.557 MB / 368.3 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.09639, allocations: 15.98 kB / 368.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.09644, allocations: 53.56 kB / 368.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.09829, allocations: 1.057 MB / 369.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.09831, allocations: 0 / 369.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.09832, allocations: 3.984 kB / 369.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.09832, allocations: 0 / 369.4 MB, free: 2.074 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.0006886/0.09902, allocations: 0.5379 MB / 369.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.09906, allocations: 8.031 kB / 369.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.0991, allocations: 30.75 kB / 370 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.09921, allocations: 16.92 kB / 370 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.09934, allocations: 180.2 kB / 370.2 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.09936, allocations: 4.375 kB / 370.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.09938, allocations: 4.359 kB / 370.2 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.09952, allocations: 67.33 kB / 370.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.09953, allocations: 0 / 370.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.09955, allocations: 4 kB / 370.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.09955, allocations: 0 / 370.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.09966, allocations: 27.92 kB / 370.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.09983, allocations: 174.6 kB / 370.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1001, allocations: 73.19 kB / 370.5 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.1002, allocations: 33.7 kB / 370.5 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1288/0.2289, allocations: 3.282 MB / 373.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.229, allocations: 39.02 kB / 373.9 MB, free: 23.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.229, allocations: 0 / 373.9 MB, free: 23.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002834/0.2293, allocations: 81.59 kB / 373.9 MB, free: 23.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.2293, allocations: 80.17 kB / 374 MB, free: 23.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.2294, allocations: 117.7 kB / 374.1 MB, free: 23.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2294, allocations: 26.39 kB / 374.2 MB, free: 23.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.906e-05/0.2294, allocations: 85.69 kB / 374.2 MB, free: 23.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2295, allocations: 21.53 kB / 374.3 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.2295, allocations: 17.36 kB / 374.3 MB, free: 23.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.2295, allocations: 316.1 kB / 374.6 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.2296, allocations: 10.64 kB / 374.6 MB, free: 23.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.2296, allocations: 28.38 kB / 374.6 MB, free: 23.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.477e-05/0.2297, allocations: 37.22 kB / 374.7 MB, free: 23.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2298, allocations: 0 / 374.7 MB, free: 23.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001413/0.2299, allocations: 74.56 kB / 374.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2299, allocations: 5.594 kB / 374.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2299, allocations: 0.8125 kB / 374.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2299, allocations: 1.375 kB / 374.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.23, allocations: 13.3 kB / 374.8 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.23, allocations: 1.438 kB / 374.8 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.2301, allocations: 10.05 kB / 374.8 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2301, allocations: 2.781 kB / 374.8 MB, free: 23.07 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.801e-05/0.2301, allocations: 118 kB / 374.9 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.2302, allocations: 3.391 kB / 374.9 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.2304, allocations: 110.6 kB / 375 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2304, allocations: 2.5 kB / 375 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2304, allocations: 4 kB / 375 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2304, allocations: 2.312 kB / 375 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.2305, allocations: 174.4 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2305, allocations: 3.375 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.2306, allocations: 11.36 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2306, allocations: 2.188 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2306, allocations: 3.188 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2306, allocations: 5.875 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2306, allocations: 1.5 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.2308, allocations: 103.4 kB / 375.3 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.2308, allocations: 92.86 kB / 375.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2308, allocations: 5.984 kB / 375.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.2309, allocations: 2.719 kB / 375.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.2309, allocations: 6.594 kB / 375.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.231, allocations: 5.953 kB / 375.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.578e-05/0.231, allocations: 95.28 kB / 375.5 MB, free: 22.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.231, allocations: 0 / 375.5 MB, free: 22.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007277/0.2317, allocations: 324.5 kB / 375.8 MB, free: 22.44 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.00123/0.233, allocations: 1.113 MB / 376.9 MB, free: 21.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.2331, allocations: 34.45 kB / 377 MB, free: 21.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2331, allocations: 1.375 kB / 377 MB, free: 21.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.435e-05/0.2332, allocations: 20.11 kB / 377 MB, free: 21.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.2334, allocations: 17.42 kB / 377 MB, free: 21.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.2346, allocations: 1.47 MB / 378.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.2347, allocations: 0.6863 MB / 379.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.2348, allocations: 42.47 kB / 379.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.2348, allocations: 26.7 kB / 379.2 MB, free: 19.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2348, allocations: 1.344 kB / 379.2 MB, free: 19.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.442/1.677, allocations: 10.24 MB / 389.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/1.677, allocations: 197.7 kB / 389.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/4.02, allocations: 0 / 389.7 MB, free: 15.98 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches