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.001343/0.001343, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001558/0.001558, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.43/1.43, allocations: 230.2 MB / 254.5 MB, free: 15.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09452, allocations: 53.32 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002439/0.09695, allocations: 1.385 MB / 428 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2079/0.3048, allocations: 23.69 MB / 451.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.3049, allocations: 0 / 451.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.305, allocations: 5.953 kB / 451.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0143/0.3193, allocations: 6.011 MB / 457.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.3201, allocations: 351.2 kB / 458.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3202, allocations: 76.62 kB / 458.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.3203, allocations: 6.578 kB / 458.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.3203, allocations: 37.72 kB / 458.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.3204, allocations: 44.98 kB / 458.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3205, allocations: 3.188 kB / 458.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01781/0.3383, allocations: 8.997 MB / 467.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.3383, allocations: 17.39 kB / 467.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3384, allocations: 27.14 kB / 467.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.349, allocations: 4.393 MB / 471.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.349, allocations: 0 / 471.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.349, allocations: 0 / 471.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.349, allocations: 3.406 kB / 471.7 MB, free: 3.73 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.002981/0.352, allocations: 0.9417 MB / 472.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.3521, allocations: 14.73 kB / 472.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.3521, allocations: 40.06 kB / 472.7 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.3522, allocations: 8.484 kB / 472.7 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3523, allocations: 199.6 kB / 472.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3523, allocations: 1.625 kB / 472.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.3523, allocations: 1.594 kB / 472.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3525, allocations: 74.64 kB / 473 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3525, allocations: 0 / 473 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3525, allocations: 1.531 kB / 473 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3525, allocations: 0 / 473 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.3526, allocations: 38.88 kB / 473 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.3528, allocations: 185.1 kB / 473.2 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3531, allocations: 99.58 kB / 473.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.3532, allocations: 32.89 kB / 473.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.3532, allocations: 11.62 kB / 473.3 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3532, allocations: 35.73 kB / 473.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3532, allocations: 0 / 473.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003006/0.3535, allocations: 101 kB / 473.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.3536, allocations: 82.11 kB / 473.5 MB, free: 2.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.3537, allocations: 146.9 kB / 473.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.3537, allocations: 26.95 kB / 473.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.3537, allocations: 89.11 kB / 473.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3537, allocations: 22.28 kB / 473.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.3537, allocations: 18.66 kB / 473.8 MB, free: 1.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.3538, allocations: 320.8 kB / 474.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.3538, allocations: 15.14 kB / 474.2 MB, free: 1.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.3539, allocations: 35.45 kB / 474.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.354, allocations: 53.97 kB / 474.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.354, allocations: 0 / 474.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001615/0.3542, allocations: 78.53 kB / 474.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3542, allocations: 5.375 kB / 474.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3542, allocations: 0 / 474.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3542, allocations: 1.375 kB / 474.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.3543, allocations: 14.02 kB / 474.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3543, allocations: 4 kB / 474.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.3543, allocations: 10.23 kB / 474.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3543, allocations: 2.406 kB / 474.4 MB, free: 1.379 MB / 366.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 5.812e-05/0.3544, allocations: 117 kB / 474.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3544, allocations: 3.281 kB / 474.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.3546, allocations: 101.8 kB / 474.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3546, allocations: 1.031 kB / 474.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3546, allocations: 4 kB / 474.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3546, allocations: 1.25 kB / 474.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.117e-05/0.3547, allocations: 187.5 kB / 474.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3547, allocations: 2 kB / 474.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.3548, allocations: 8.656 kB / 474.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3548, allocations: 0.9688 kB / 474.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3548, allocations: 2.344 kB / 474.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3548, allocations: 0 / 474.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3548, allocations: 1.688 kB / 474.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.355, allocations: 120.8 kB / 474.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.355, allocations: 91.98 kB / 475 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.355, allocations: 9.234 kB / 475 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.3551, allocations: 6.125 kB / 475 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3551, allocations: 3.531 kB / 475 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3551, allocations: 6.203 kB / 475 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.142e-05/0.3552, allocations: 112.3 kB / 475.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 3.938 kB / 475.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003539/0.3587, allocations: 0.9551 MB / 476.1 MB, free: 444 kB / 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.005619/0.3644, allocations: 1.906 MB / 478 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.3646, allocations: 42.16 kB / 478 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3646, allocations: 1.469 kB / 478 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.3647, allocations: 28.3 kB / 478.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.3649, allocations: 16.8 kB / 478.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.3683, allocations: 1.8 MB / 479.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3686, allocations: 0.6838 MB / 480.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.3687, allocations: 16.2 kB / 480.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.3687, allocations: 22.45 kB / 480.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3687, allocations: 1.5 kB / 480.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06573/0.4345, allocations: 29.49 MB / 0.4981 GB, free: 4.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/9.59, allocations: 6.719 kB / 0.4981 GB, free: 4.16 MB / 398.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_2/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_2/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: 17.11793537810445]