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.0006558/0.0006557, allocations: 95.86 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007804/0.0007804, allocations: 209.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001827/0.0001828, allocations: 8 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.07971, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001198/0.08093, allocations: 1.091 MB / 360.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1533/0.2342, allocations: 12.19 MB / 372.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.2343, allocations: 0 / 372.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.2343, allocations: 5.422 kB / 372.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.2369, allocations: 0.8607 MB / 373.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.2383, allocations: 0.5298 MB / 374 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.2384, allocations: 61 kB / 374.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.2384, allocations: 3.281 kB / 374.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.2385, allocations: 28.25 kB / 374.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.2386, allocations: 35.95 kB / 374.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2386, allocations: 6.219 kB / 374.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.241, allocations: 1.559 MB / 375.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.241, allocations: 17.61 kB / 375.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.2411, allocations: 51.28 kB / 375.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2425, allocations: 1.058 MB / 376.8 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2425, allocations: 1.375 kB / 376.8 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2425, allocations: 0 / 376.8 MB, free: 9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.2425, allocations: 0 / 376.8 MB, free: 9 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.0004991/0.243, allocations: 0.5311 MB / 377.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.243, allocations: 10.12 kB / 377.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.2431, allocations: 35.56 kB / 377.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.2432, allocations: 11.83 kB / 377.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.737e-05/0.2433, allocations: 177.2 kB / 377.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2433, allocations: 3.938 kB / 377.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.2433, allocations: 2.844 kB / 377.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.2434, allocations: 73.86 kB / 377.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2434, allocations: 0.7969 kB / 377.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2435, allocations: 1.438 kB / 377.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2435, allocations: 3.219 kB / 377.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.2436, allocations: 23.94 kB / 377.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.2437, allocations: 178.8 kB / 377.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.2439, allocations: 79.84 kB / 378 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.244, allocations: 32.48 kB / 378 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00532/0.2493, allocations: 3.285 MB / 381.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.2494, allocations: 41.78 kB / 381.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2494, allocations: 1.094 kB / 381.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002609/0.2496, allocations: 80.89 kB / 381.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.2497, allocations: 79.05 kB / 381.5 MB, free: 5.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.2497, allocations: 117.5 kB / 381.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.2497, allocations: 27.11 kB / 381.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.729e-05/0.2498, allocations: 84.02 kB / 381.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.2498, allocations: 22.05 kB / 381.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.2498, allocations: 11.88 kB / 381.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.2499, allocations: 316.9 kB / 382.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.2499, allocations: 11.52 kB / 382.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.25, allocations: 22.94 kB / 382.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.2501, allocations: 43.11 kB / 382.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2501, allocations: 4 kB / 382.1 MB, free: 4.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001386/0.2502, allocations: 77.34 kB / 382.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2502, allocations: 7.344 kB / 382.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2502, allocations: 1.438 kB / 382.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.2503, allocations: 0 / 382.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.2503, allocations: 15.84 kB / 382.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.2503, allocations: 0 / 382.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.2504, allocations: 3.203 kB / 382.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2504, allocations: 2.906 kB / 382.2 MB, free: 4.875 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.962e-05/0.2504, allocations: 128.2 kB / 382.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.2505, allocations: 11.53 kB / 382.4 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.2507, allocations: 101.8 kB / 382.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2507, allocations: 1.469 kB / 382.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2507, allocations: 0 / 382.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2507, allocations: 6.844 kB / 382.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.233e-05/0.2508, allocations: 163.8 kB / 382.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2508, allocations: 1.344 kB / 382.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.2509, allocations: 18.16 kB / 382.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2509, allocations: 0.9688 kB / 382.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2509, allocations: 2.031 kB / 382.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2509, allocations: 3.078 kB / 382.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2509, allocations: 1.969 kB / 382.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.2511, allocations: 106.3 kB / 382.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.2511, allocations: 93.89 kB / 382.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2511, allocations: 1.859 kB / 382.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.2512, allocations: 7.203 kB / 382.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.2513, allocations: 6.109 kB / 382.9 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.2513, allocations: 7.547 kB / 382.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.483e-05/0.2513, allocations: 90.66 kB / 383 MB, free: 4.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2513, allocations: 4 kB / 383 MB, free: 4.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006936/0.252, allocations: 326.2 kB / 383.3 MB, free: 4.191 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.001197/0.2532, allocations: 1.118 MB / 384.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.2534, allocations: 30.36 kB / 384.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2534, allocations: 2.5 kB / 384.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.2534, allocations: 20.06 kB / 384.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.2536, allocations: 16.73 kB / 384.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2548, allocations: 1.476 MB / 386 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.968e-05/0.2549, allocations: 0.6817 MB / 386.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.255, allocations: 50.05 kB / 386.7 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.2551, allocations: 27.39 kB / 386.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2551, allocations: 0 / 386.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.2758, allocations: 10.24 MB / 397 MB, free: 13.47 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.276, allocations: 194.6 kB / 397.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.276, allocations: 3.375 kB / 397.2 MB, free: 13.21 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 & /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