Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 47.94 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2312, allocations: 53.35 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002349/0.2335, allocations: 1.374 MB / 432.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2474, allocations: 12.22 MB / 444.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.2475, allocations: 0 / 444.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.2475, allocations: 3.938 kB / 444.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.2505, allocations: 1.047 MB / 445.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.2521, allocations: 0.6451 MB / 446.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2522, allocations: 59.73 kB / 446.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.2523, allocations: 7.969 kB / 446.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.2523, allocations: 23.94 kB / 446.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.2524, allocations: 35.83 kB / 446.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2524, allocations: 4 kB / 446.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.2555, allocations: 1.651 MB / 448.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2555, allocations: 15.91 kB / 448.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.2556, allocations: 27.92 kB / 448.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.2575, allocations: 1.076 MB / 449.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2575, allocations: 0 / 449.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2575, allocations: 0 / 449.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2575, allocations: 0 / 449.3 MB, free: 4.594 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.0007295/0.2582, allocations: 488.2 kB / 449.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2583, allocations: 8.031 kB / 449.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.2583, allocations: 38.69 kB / 449.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2584, allocations: 12.88 kB / 449.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2585, allocations: 122.5 kB / 450 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2586, allocations: 4.375 kB / 450 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.2586, allocations: 384 / 450 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2587, allocations: 75.27 kB / 450 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2587, allocations: 0 / 450 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2587, allocations: 0 / 450 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2587, allocations: 4 kB / 450.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2589, allocations: 27.92 kB / 450.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.259, allocations: 153.6 kB / 450.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.2593, allocations: 77.12 kB / 450.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.2594, allocations: 25.75 kB / 450.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005586/0.265, allocations: 1.505 MB / 451.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.265, allocations: 34.55 kB / 451.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.265, allocations: 4 kB / 451.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003052/0.2653, allocations: 73.61 kB / 451.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.2654, allocations: 89.11 kB / 452 MB, free: 1.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.2655, allocations: 109.8 kB / 452.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2655, allocations: 25.7 kB / 452.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.2655, allocations: 92.12 kB / 452.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.2656, allocations: 19.8 kB / 452.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.2656, allocations: 17.72 kB / 452.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2657, allocations: 318.8 kB / 452.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.2658, allocations: 16 kB / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.2659, allocations: 25.64 kB / 452.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.266, allocations: 37.7 kB / 452.7 MB, free: 1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.266, allocations: 0 / 452.7 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001682/0.2661, allocations: 77.5 kB / 452.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2662, allocations: 4 kB / 452.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.2662, allocations: 4 kB / 452.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2662, allocations: 4 kB / 452.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.2662, allocations: 15.92 kB / 452.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.2663, allocations: 0 / 452.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.2663, allocations: 4 kB / 452.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2663, allocations: 480 / 452.8 MB, free: 0.8867 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 9.135e-05/0.2664, allocations: 113.8 kB / 452.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2664, allocations: 11.89 kB / 452.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.2667, allocations: 113.8 kB / 453 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2667, allocations: 4 kB / 453 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2667, allocations: 0 / 453 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2667, allocations: 3.984 kB / 453 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.2668, allocations: 132.7 kB / 453.2 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2668, allocations: 7.938 kB / 453.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.2669, allocations: 11.94 kB / 453.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2669, allocations: 4 kB / 453.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2669, allocations: 8 kB / 453.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2669, allocations: 0 / 453.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2669, allocations: 0 / 453.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.2671, allocations: 106 kB / 453.3 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.2671, allocations: 15.86 kB / 453.3 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2672, allocations: 8 kB / 453.3 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.2672, allocations: 3.984 kB / 453.3 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.2673, allocations: 4 kB / 453.3 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2673, allocations: 11.98 kB / 453.3 MB, free: 264 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.964e-05/0.2673, allocations: 87.28 kB / 453.4 MB, free: 176 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2673, allocations: 0 / 453.4 MB, free: 176 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007915/0.2681, allocations: 326.8 kB / 453.7 MB, free: 15.85 MB / 366.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.001518/0.2697, allocations: 1.127 MB / 454.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2698, allocations: 27.98 kB / 454.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2698, allocations: 4 kB / 454.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/0.2699, allocations: 23.92 kB / 454.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.2701, allocations: 10.09 kB / 454.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2718, allocations: 1.465 MB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2721, allocations: 0.6823 MB / 457.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.2722, allocations: 52.09 kB / 457.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.2722, allocations: 23.42 kB / 457.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2722, allocations: 0 / 457.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.311, allocations: 10.67 MB / 467.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.6, allocations: 0.75 kB / 467.8 MB, free: 1.738 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.08450556290336]