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.001116/0.001116, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 59.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2688, allocations: 50.54 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002252/0.2711, allocations: 1.374 MB / 410.1 MB, free: 172 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.2827, allocations: 12.1 MB / 422.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.2828, allocations: 3.938 kB / 422.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.2829, allocations: 7.922 kB / 422.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.2858, allocations: 1.039 MB / 423.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2873, allocations: 0.6295 MB / 423.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2874, allocations: 67.64 kB / 424 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.2874, allocations: 0 / 424 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.985e-05/0.2875, allocations: 31.91 kB / 424 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.2876, allocations: 35.91 kB / 424 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2876, allocations: 4 kB / 424 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.29, allocations: 1.612 MB / 425.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.29, allocations: 12 kB / 425.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.2901, allocations: 27.84 kB / 425.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.2915, allocations: 1.064 MB / 426.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2915, allocations: 4 kB / 426.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2916, allocations: 0 / 426.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2916, allocations: 0 / 426.8 MB, free: 15.46 MB / 350.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.0006583/0.2922, allocations: 0.538 MB / 427.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2923, allocations: 12.03 kB / 427.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.2923, allocations: 34.75 kB / 427.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2924, allocations: 8.938 kB / 427.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2926, allocations: 188.2 kB / 427.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2926, allocations: 384 / 427.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.2926, allocations: 4.375 kB / 427.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.2928, allocations: 67.33 kB / 427.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2928, allocations: 0 / 427.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2928, allocations: 0 / 427.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2928, allocations: 3.984 kB / 427.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.2929, allocations: 31.92 kB / 427.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.2931, allocations: 174.5 kB / 427.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.2934, allocations: 77.19 kB / 427.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.2935, allocations: 33.64 kB / 427.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005995/0.2995, allocations: 3.301 MB / 431.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.2995, allocations: 38.56 kB / 431.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.2995, allocations: 0 / 431.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002858/0.2998, allocations: 85.5 kB / 431.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2999, allocations: 77.11 kB / 431.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.3, allocations: 117.8 kB / 431.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3, allocations: 29.7 kB / 431.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.3, allocations: 84.14 kB / 431.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3001, allocations: 19.8 kB / 431.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.3001, allocations: 17.72 kB / 431.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.3002, allocations: 318.8 kB / 432 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.3003, allocations: 8 kB / 432 MB, free: 9.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.3003, allocations: 33.64 kB / 432 MB, free: 9.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3004, allocations: 41.64 kB / 432.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3004, allocations: 4 kB / 432.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001526/0.3006, allocations: 69.52 kB / 432.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3006, allocations: 10.97 kB / 432.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3006, allocations: 3.938 kB / 432.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3007, allocations: 0 / 432.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.3007, allocations: 19.98 kB / 432.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3007, allocations: 0 / 432.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.3008, allocations: 3.938 kB / 432.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3008, allocations: 4 kB / 432.2 MB, free: 9.324 MB / 350.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.659e-05/0.3009, allocations: 113.8 kB / 432.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3009, allocations: 15.84 kB / 432.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.3012, allocations: 105.9 kB / 432.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.3012, allocations: 3.938 kB / 432.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3012, allocations: 4 kB / 432.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3012, allocations: 0 / 432.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3013, allocations: 173.6 kB / 432.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3013, allocations: 3.938 kB / 432.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.3014, allocations: 11.98 kB / 432.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3014, allocations: 0 / 432.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3014, allocations: 4 kB / 432.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3014, allocations: 0 / 432.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3014, allocations: 0 / 432.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3016, allocations: 109.8 kB / 432.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.3017, allocations: 89.03 kB / 432.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3017, allocations: 4 kB / 432.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.3018, allocations: 192 / 432.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.3018, allocations: 7.984 kB / 432.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3019, allocations: 8 kB / 432.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.3019, allocations: 95.27 kB / 432.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3019, allocations: 4 kB / 432.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.3026, allocations: 319.6 kB / 433.2 MB, free: 8.172 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.001343/0.304, allocations: 1.116 MB / 434.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3042, allocations: 35.97 kB / 434.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3042, allocations: 0 / 434.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.3042, allocations: 19.92 kB / 434.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.3044, allocations: 12.48 kB / 434.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.306, allocations: 1.458 MB / 435.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.3062, allocations: 0.6807 MB / 436.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.3063, allocations: 51.86 kB / 436.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.3064, allocations: 23.42 kB / 436.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3064, allocations: 0 / 436.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.3485, allocations: 10.55 MB / 447.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.237, allocations: 19.3 kB / 447.2 MB, free: 10.13 MB / 366.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