Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 118.7 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 212.7 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 59.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09659, allocations: 53.37 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002292/0.09889, allocations: 1.387 MB / 428.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2014/0.3003, allocations: 23.69 MB / 452.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.3004, allocations: 0 / 452.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3005, allocations: 7.5 kB / 452.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01711/0.3176, allocations: 6.031 MB / 458.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.3185, allocations: 342.8 kB / 458.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3186, allocations: 72.83 kB / 458.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.3187, allocations: 9.359 kB / 458.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.3187, allocations: 32.52 kB / 458.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.3188, allocations: 42.69 kB / 458.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3188, allocations: 3.594 kB / 458.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01753/0.3364, allocations: 9.002 MB / 467.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.3364, allocations: 11.36 kB / 467.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.3365, allocations: 35.86 kB / 467.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.3482, allocations: 4.394 MB / 472.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3482, allocations: 0 / 472.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3482, allocations: 0 / 472.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3482, allocations: 0 / 472.1 MB, free: 2.051 MB / 366.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.003314/0.3515, allocations: 0.945 MB / 473 MB, free: 1.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3516, allocations: 9.844 kB / 473.1 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.3516, allocations: 4.125 kB / 473.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.3516, allocations: 41.06 kB / 473.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.3517, allocations: 6.891 kB / 473.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3519, allocations: 203.1 kB / 473.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3519, allocations: 3.938 kB / 473.3 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3519, allocations: 2.75 kB / 473.3 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3521, allocations: 69.86 kB / 473.4 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3521, allocations: 0 / 473.4 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3521, allocations: 2.031 kB / 473.4 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3521, allocations: 7.938 kB / 473.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3522, allocations: 35.09 kB / 473.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.3524, allocations: 188.2 kB / 473.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.3527, allocations: 94.31 kB / 473.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.3528, allocations: 35.02 kB / 473.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.3529, allocations: 12.17 kB / 473.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3529, allocations: 37.56 kB / 473.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3529, allocations: 0 / 473.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003202/0.3532, allocations: 100.8 kB / 473.9 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3533, allocations: 78.17 kB / 474 MB, free: 432 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3534, allocations: 143.2 kB / 474.1 MB, free: 308 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3534, allocations: 25.7 kB / 474.1 MB, free: 276 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.3535, allocations: 82.45 kB / 474.2 MB, free: 192 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3535, allocations: 30.3 kB / 474.2 MB, free: 164 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3535, allocations: 18.12 kB / 474.2 MB, free: 144 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3537, allocations: 328 kB / 474.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.3537, allocations: 12 kB / 474.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.3538, allocations: 35.14 kB / 474.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.354, allocations: 53.62 kB / 474.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.354, allocations: 1.344 kB / 474.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001988/0.3542, allocations: 79.09 kB / 474.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3542, allocations: 4.812 kB / 474.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3542, allocations: 1.219 kB / 474.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3542, allocations: 1.188 kB / 474.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.3543, allocations: 16.67 kB / 474.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3543, allocations: 2.797 kB / 474.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.3543, allocations: 9.234 kB / 474.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3543, allocations: 2.594 kB / 474.8 MB, free: 15.69 MB / 382.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.95e-05/0.3544, allocations: 117 kB / 474.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3544, allocations: 2.719 kB / 474.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.3547, allocations: 101.4 kB / 475 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3547, allocations: 0 / 475 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3547, allocations: 10.66 kB / 475 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3547, allocations: 0 / 475 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.3549, allocations: 188.8 kB / 475.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3549, allocations: 1.969 kB / 475.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.3549, allocations: 8.438 kB / 475.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3549, allocations: 1.188 kB / 475.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3549, allocations: 2 kB / 475.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.3549, allocations: 3.984 kB / 475.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3549, allocations: 5.312 kB / 475.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.3551, allocations: 121.8 kB / 475.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.3552, allocations: 89.36 kB / 475.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3552, allocations: 5.188 kB / 475.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.3553, allocations: 5.312 kB / 475.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3554, allocations: 8.016 kB / 475.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3554, allocations: 2.594 kB / 475.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.3555, allocations: 115.7 kB / 475.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3555, allocations: 0 / 475.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003129/0.3586, allocations: 0.9559 MB / 476.5 MB, free: 14.74 MB / 382.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.006224/0.3648, allocations: 1.887 MB / 478.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3651, allocations: 43.97 kB / 478.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3651, allocations: 0 / 478.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.3652, allocations: 29 kB / 478.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.3654, allocations: 17.55 kB / 478.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.3689, allocations: 1.808 MB / 480.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3692, allocations: 0.6884 MB / 481 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.3693, allocations: 15.97 kB / 481 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.3693, allocations: 19.81 kB / 481 MB, free: 10.24 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3693, allocations: 0 / 481 MB, free: 10.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06077/0.4301, allocations: 29.48 MB / 0.4985 GB, free: 12.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.106/9.536, allocations: 10.42 kB / 0.4985 GB, free: 12.82 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 19.8066554289544]