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.001442/0.001442, allocations: 107.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001062, allocations: 59.81 kB / 306.3 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.0786, allocations: 50.52 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002204/0.08083, allocations: 1.43 MB / 358.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.09205, allocations: 12.41 MB / 370.7 MB, free: 292 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.09211, allocations: 0 / 370.7 MB, free: 292 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.09215, allocations: 0 / 370.7 MB, free: 292 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1308/0.223, allocations: 0.8498 MB / 371.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2243, allocations: 0.537 MB / 372.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.382e-05/0.2244, allocations: 62.09 kB / 372.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.2244, allocations: 3.594 kB / 372.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.2245, allocations: 32.66 kB / 372.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.2246, allocations: 32.19 kB / 372.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2246, allocations: 2.594 kB / 372.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.227, allocations: 1.559 MB / 373.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.227, allocations: 20.03 kB / 373.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.2271, allocations: 21.45 kB / 373.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.2286, allocations: 1.067 MB / 374.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2286, allocations: 1.531 kB / 374.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2286, allocations: 0 / 374.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.2286, allocations: 0 / 374.9 MB, free: 9.371 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.000531/0.2292, allocations: 0.5449 MB / 375.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2292, allocations: 9.844 kB / 375.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.2293, allocations: 37.42 kB / 375.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2294, allocations: 8.422 kB / 375.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.2295, allocations: 180.2 kB / 375.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2295, allocations: 3.141 kB / 375.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.2295, allocations: 3.078 kB / 375.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.2296, allocations: 69.78 kB / 375.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2297, allocations: 3 kB / 375.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2297, allocations: 3.344 kB / 375.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2297, allocations: 2.109 kB / 375.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.2298, allocations: 21.27 kB / 375.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.2299, allocations: 177.3 kB / 375.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.2302, allocations: 85.77 kB / 376 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.2302, allocations: 23.83 kB / 376.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005643/0.2359, allocations: 3.298 MB / 379.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.2359, allocations: 38.36 kB / 379.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2359, allocations: 4 kB / 379.4 MB, free: 6 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002772/0.2362, allocations: 84.36 kB / 379.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.2362, allocations: 77.62 kB / 379.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.2363, allocations: 113 kB / 379.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.2363, allocations: 28.89 kB / 379.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.2363, allocations: 89.25 kB / 379.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2364, allocations: 24.84 kB / 379.8 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.2364, allocations: 15.47 kB / 379.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.2365, allocations: 321.2 kB / 380.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.2365, allocations: 11.78 kB / 380.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.2366, allocations: 25.31 kB / 380.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.549e-05/0.2367, allocations: 41.73 kB / 380.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2367, allocations: 0 / 380.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001469/0.2368, allocations: 78.81 kB / 380.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2368, allocations: 5.375 kB / 380.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2369, allocations: 1.594 kB / 380.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2369, allocations: 1.469 kB / 380.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.2369, allocations: 13.36 kB / 380.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2369, allocations: 3.656 kB / 380.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.237, allocations: 1.797 kB / 380.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.237, allocations: 3.031 kB / 380.3 MB, free: 5.246 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.747e-05/0.2371, allocations: 121.5 kB / 380.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2371, allocations: 16.22 kB / 380.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.2373, allocations: 106.6 kB / 380.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2373, allocations: 1.75 kB / 380.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2373, allocations: 1.219 kB / 380.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2374, allocations: 0.75 kB / 380.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.071e-05/0.2374, allocations: 167.4 kB / 380.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2374, allocations: 0 / 380.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.2375, allocations: 20.95 kB / 380.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2375, allocations: 1.156 kB / 380.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.2375, allocations: 2.062 kB / 380.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2375, allocations: 2.703 kB / 380.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2375, allocations: 1.062 kB / 380.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.2377, allocations: 104.9 kB / 380.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.2378, allocations: 89.03 kB / 380.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2378, allocations: 5.594 kB / 380.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.2379, allocations: 4.016 kB / 380.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.2379, allocations: 6.625 kB / 380.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2379, allocations: 6.875 kB / 381 MB, free: 4.711 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.426e-05/0.238, allocations: 95.45 kB / 381 MB, free: 4.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.238, allocations: 0 / 381 MB, free: 4.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007423/0.2387, allocations: 320.3 kB / 381.4 MB, free: 4.574 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.2399, allocations: 1.123 MB / 382.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.2401, allocations: 32.56 kB / 382.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2401, allocations: 3.594 kB / 382.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.2402, allocations: 22.36 kB / 382.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.2404, allocations: 14.95 kB / 382.6 MB, free: 3.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2416, allocations: 1.459 MB / 384 MB, free: 2.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.809e-05/0.2417, allocations: 0.6813 MB / 384.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.2418, allocations: 49.33 kB / 384.7 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.2418, allocations: 24.25 kB / 384.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2418, allocations: 0.7656 kB / 384.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.805/2.046, allocations: 10.3 MB / 395.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/2.047, allocations: 198 kB / 395.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/5.144, allocations: 0 / 395.3 MB, free: 13.81 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