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.001126/0.001126, allocations: 108.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 61.19 kB / 306.5 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.07808, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00226/0.08037, allocations: 1.438 MB / 358.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.09126, allocations: 12.05 MB / 370.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.09132, allocations: 0 / 370.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.09136, allocations: 4 kB / 370.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1322/0.2236, allocations: 0.9131 MB / 371.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.2252, allocations: 0.5515 MB / 372 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2253, allocations: 62.69 kB / 372.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.2254, allocations: 5.531 kB / 372.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.2254, allocations: 33.77 kB / 372.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.2255, allocations: 30.08 kB / 372.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2255, allocations: 3.156 kB / 372.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.2284, allocations: 1.586 MB / 373.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.2285, allocations: 13.69 kB / 373.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.2285, allocations: 28.91 kB / 373.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.2303, allocations: 1.077 MB / 374.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2303, allocations: 0.7031 kB / 374.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2303, allocations: 0 / 374.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2303, allocations: 0 / 374.9 MB, free: 9.555 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.0005438/0.2309, allocations: 0.537 MB / 375.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2309, allocations: 12.44 kB / 375.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.455e-05/0.2309, allocations: 37.05 kB / 375.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.2311, allocations: 9.984 kB / 375.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.2312, allocations: 176.5 kB / 375.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2312, allocations: 3.406 kB / 375.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.2312, allocations: 3.594 kB / 375.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2313, allocations: 67.56 kB / 375.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2313, allocations: 0.8125 kB / 375.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2314, allocations: 5.562 kB / 375.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2314, allocations: 1.875 kB / 375.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.806e-05/0.2315, allocations: 22.64 kB / 375.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.2316, allocations: 177.7 kB / 375.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.2318, allocations: 87.5 kB / 376 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.2319, allocations: 25.25 kB / 376 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005508/0.2374, allocations: 3.297 MB / 379.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.2375, allocations: 40.33 kB / 379.4 MB, free: 6.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2375, allocations: 0 / 379.4 MB, free: 6.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002565/0.2377, allocations: 83.03 kB / 379.4 MB, free: 6.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.2378, allocations: 78.73 kB / 379.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.2378, allocations: 120.2 kB / 379.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2378, allocations: 27.77 kB / 379.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.2379, allocations: 86.47 kB / 379.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.2379, allocations: 19.41 kB / 379.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.2379, allocations: 16.06 kB / 379.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.238, allocations: 319.3 kB / 380.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.238, allocations: 11.77 kB / 380.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.2381, allocations: 25.75 kB / 380.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.2382, allocations: 44.38 kB / 380.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2382, allocations: 0 / 380.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001431/0.2383, allocations: 72.98 kB / 380.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2383, allocations: 4.562 kB / 380.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2384, allocations: 1.641 kB / 380.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2384, allocations: 2.141 kB / 380.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.2384, allocations: 11.55 kB / 380.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2385, allocations: 5.672 kB / 380.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.2385, allocations: 5.875 kB / 380.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2385, allocations: 3.438 kB / 380.3 MB, free: 5.41 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.637e-05/0.2386, allocations: 122.1 kB / 380.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.2386, allocations: 13.91 kB / 380.4 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.2388, allocations: 105.6 kB / 380.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2388, allocations: 3.781 kB / 380.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2389, allocations: 1.219 kB / 380.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2389, allocations: 0.7031 kB / 380.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.571e-05/0.2389, allocations: 165.7 kB / 380.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.239, allocations: 2.734 kB / 380.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.239, allocations: 18.28 kB / 380.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.239, allocations: 2.469 kB / 380.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.239, allocations: 0 / 380.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.239, allocations: 5.953 kB / 380.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.239, allocations: 0 / 380.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.2392, allocations: 101.9 kB / 380.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.2392, allocations: 94.53 kB / 380.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2393, allocations: 2.016 kB / 380.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.2393, allocations: 3.406 kB / 380.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.2394, allocations: 9.75 kB / 380.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2394, allocations: 13.5 kB / 380.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.302e-05/0.2394, allocations: 89.48 kB / 381 MB, free: 4.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2394, allocations: 1.406 kB / 381 MB, free: 4.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006434/0.2401, allocations: 319.5 kB / 381.3 MB, free: 4.742 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.00117/0.2413, allocations: 1.122 MB / 382.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.2414, allocations: 33.09 kB / 382.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2414, allocations: 0 / 382.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.2415, allocations: 26.16 kB / 382.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.2417, allocations: 15.36 kB / 382.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2428, allocations: 1.464 MB / 384 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.98e-05/0.2429, allocations: 0.6865 MB / 384.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.2431, allocations: 49.62 kB / 384.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.2431, allocations: 23.02 kB / 384.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2431, allocations: 0 / 384.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.165/1.408, allocations: 10.38 MB / 395.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.409, allocations: 204 kB / 395.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/4.193, allocations: 0 / 395.3 MB, free: 14.1 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