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.001104/0.001104, allocations: 118.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.001233/0.001233, allocations: 197.2 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.307/1.307, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2371, allocations: 50.53 MB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00251/0.2397, allocations: 1.374 MB / 410.1 MB, free: 156 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2518, allocations: 12.1 MB / 422.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.2519, allocations: 0 / 422.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.2519, allocations: 7.922 kB / 422.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.2547, allocations: 1.043 MB / 423.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2563, allocations: 0.6334 MB / 423.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2565, allocations: 55.72 kB / 424 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.2565, allocations: 7.938 kB / 424 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.2566, allocations: 27.91 kB / 424 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.2567, allocations: 43.89 kB / 424 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2567, allocations: 0 / 424 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.2602, allocations: 1.612 MB / 425.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.2603, allocations: 4 kB / 425.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.2603, allocations: 31.84 kB / 425.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.2627, allocations: 1.068 MB / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2627, allocations: 4 kB / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2627, allocations: 0 / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2627, allocations: 0 / 426.8 MB, free: 15.45 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.0008277/0.2636, allocations: 0.538 MB / 427.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2636, allocations: 8.031 kB / 427.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.2637, allocations: 34.75 kB / 427.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2638, allocations: 8.938 kB / 427.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.264, allocations: 180.3 kB / 427.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.264, allocations: 8.359 kB / 427.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.264, allocations: 8.312 kB / 427.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.2642, allocations: 67.33 kB / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2642, allocations: 4 kB / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2642, allocations: 0 / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2642, allocations: 0 / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.2643, allocations: 23.97 kB / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.2645, allocations: 186.5 kB / 427.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.2648, allocations: 73.19 kB / 427.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.2649, allocations: 17.78 kB / 427.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008053/0.2729, allocations: 3.313 MB / 431.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.273, allocations: 34.5 kB / 431.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.273, allocations: 0 / 431.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003149/0.2733, allocations: 89.5 kB / 431.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.2734, allocations: 81.11 kB / 431.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.2735, allocations: 117.8 kB / 431.5 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2735, allocations: 25.7 kB / 431.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.2735, allocations: 84.14 kB / 431.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2736, allocations: 19.78 kB / 431.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.2736, allocations: 17.72 kB / 431.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2737, allocations: 326.8 kB / 432 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.2738, allocations: 4 kB / 432 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.2739, allocations: 29.7 kB / 432 MB, free: 9.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.274, allocations: 46 kB / 432.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.274, allocations: 0 / 432.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001715/0.2742, allocations: 73.52 kB / 432.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2742, allocations: 8 kB / 432.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2742, allocations: 0 / 432.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2742, allocations: 4 kB / 432.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.2743, allocations: 15.92 kB / 432.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2743, allocations: 320 / 432.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.2744, allocations: 7.938 kB / 432.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2744, allocations: 128 / 432.2 MB, free: 9.309 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.258e-05/0.2745, allocations: 117.8 kB / 432.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.2745, allocations: 11.84 kB / 432.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.2749, allocations: 105.5 kB / 432.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2749, allocations: 4 kB / 432.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2749, allocations: 3.938 kB / 432.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.2749, allocations: 0 / 432.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.2752, allocations: 169.6 kB / 432.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.2752, allocations: 3.938 kB / 432.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.65e-05/0.2753, allocations: 19.98 kB / 432.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2753, allocations: 0 / 432.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2753, allocations: 0 / 432.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.2753, allocations: 4 kB / 432.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2754, allocations: 0 / 432.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.2757, allocations: 97.88 kB / 432.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.2758, allocations: 93.03 kB / 432.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2758, allocations: 4 kB / 432.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.276, allocations: 4 kB / 432.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.276, allocations: 11.92 kB / 432.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2761, allocations: 0 / 432.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.2761, allocations: 99.27 kB / 432.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2762, allocations: 0 / 432.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0014/0.2776, allocations: 319.6 kB / 433.2 MB, free: 8.16 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.001875/0.2795, allocations: 1.117 MB / 434.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.2797, allocations: 43.91 kB / 434.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2797, allocations: 0 / 434.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.285e-05/0.2797, allocations: 19.92 kB / 434.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.28, allocations: 12 kB / 434.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2818, allocations: 1.462 MB / 435.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.282, allocations: 0.6807 MB / 436.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.2821, allocations: 56.08 kB / 436.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.2822, allocations: 23.42 kB / 436.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2822, allocations: 0 / 436.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.3113, allocations: 10.54 MB / 447.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.972, allocations: 18.17 kB / 447.2 MB, free: 10.12 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