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.0008363/0.0008363, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008565/0.0008565, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8731/0.8731, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.765e-05, allocations: 2.281 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00156/0.001578, allocations: 1.372 MB / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.02047, allocations: 21.17 MB / 347 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.02051, allocations: 0 / 347 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.02062, allocations: 11.92 kB / 347 MB, free: 9.285 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.03148, allocations: 6.006 MB / 353.1 MB, free: 3.277 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.03205, allocations: 366.4 kB / 353.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.03215, allocations: 79.62 kB / 353.5 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.0322, allocations: 4 kB / 353.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.03226, allocations: 43.89 kB / 353.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.03235, allocations: 35.88 kB / 353.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.03237, allocations: 8 kB / 353.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.04253, allocations: 8.412 MB / 362 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.04257, allocations: 15.98 kB / 362 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.04261, allocations: 27.91 kB / 362 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005985/0.04859, allocations: 5.492 MB / 367.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.0486, allocations: 0 / 367.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.0486, allocations: 0 / 367.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.0486, allocations: 3.938 kB / 367.5 MB, free: 4.773 MB / 330.7 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.001108/0.04971, allocations: 0.8563 MB / 368.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.04976, allocations: 15.98 kB / 368.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.04979, allocations: 34.69 kB / 368.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.04983, allocations: 8.891 kB / 368.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.04995, allocations: 145.7 kB / 368.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.04997, allocations: 4.125 kB / 368.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.04998, allocations: 7.984 kB / 368.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.05013, allocations: 126.7 kB / 368.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.05014, allocations: 0 / 368.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.05015, allocations: 0 / 368.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.05016, allocations: 0 / 368.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.05025, allocations: 35.97 kB / 368.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.05043, allocations: 153.7 kB / 368.9 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.05067, allocations: 101.1 kB / 369 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.05071, allocations: 29.77 kB / 369 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.05075, allocations: 15.98 kB / 369.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.05077, allocations: 30.56 kB / 369.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.05077, allocations: 0 / 369.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002108/0.05098, allocations: 105.5 kB / 369.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.05102, allocations: 77.11 kB / 369.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.0511, allocations: 141.8 kB / 369.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.05111, allocations: 29.64 kB / 369.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.05114, allocations: 92.12 kB / 369.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.05117, allocations: 19.86 kB / 369.5 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.0512, allocations: 17.72 kB / 369.6 MB, free: 2.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.05128, allocations: 318.8 kB / 369.9 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.05131, allocations: 19.98 kB / 369.9 MB, free: 2.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.05135, allocations: 25.7 kB / 369.9 MB, free: 2.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.05143, allocations: 53.64 kB / 370 MB, free: 2.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.05143, allocations: 0 / 370 MB, free: 2.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001048/0.05153, allocations: 86.36 kB / 370 MB, free: 2.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.05154, allocations: 4 kB / 370.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.05155, allocations: 96 / 370.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.05156, allocations: 3.984 kB / 370.1 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.724e-05/0.0516, allocations: 19.92 kB / 370.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.0516, allocations: 0 / 370.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.05162, allocations: 7.891 kB / 370.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.05163, allocations: 4 kB / 370.1 MB, free: 1.969 MB / 330.7 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 6.192e-05/0.05169, allocations: 121.7 kB / 370.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.0517, allocations: 7.984 kB / 370.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.05209, allocations: 97.64 kB / 370.3 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0521, allocations: 0 / 370.3 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.0521, allocations: 7.938 kB / 370.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.0521, allocations: 0 / 370.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.585e-05/0.0522, allocations: 156.8 kB / 370.5 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.0522, allocations: 0 / 370.5 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.05222, allocations: 8 kB / 370.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.05223, allocations: 0 / 370.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.05223, allocations: 4 kB / 370.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.05224, allocations: 0 / 370.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.05224, allocations: 4 kB / 370.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.05235, allocations: 113.9 kB / 370.6 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.05239, allocations: 15.94 kB / 370.6 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.0524, allocations: 3.938 kB / 370.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.05243, allocations: 0 / 370.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.05247, allocations: 7.984 kB / 370.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.05248, allocations: 8 kB / 370.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.05253, allocations: 111.2 kB / 370.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05253, allocations: 0 / 370.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001192/0.05372, allocations: 0.9586 MB / 371.7 MB, free: 280 kB / 330.7 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.002642/0.05636, allocations: 2.02 MB / 373.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.05649, allocations: 43.97 kB / 373.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.05649, allocations: 0 / 373.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.05653, allocations: 28.2 kB / 373.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.05669, allocations: 23.7 kB / 373.8 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.05816, allocations: 1.794 MB / 375.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.0582, allocations: 71.33 kB / 375.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.05824, allocations: 15.77 kB / 375.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.05828, allocations: 24.48 kB / 375.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05828, allocations: 0 / 375.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.1029, allocations: 30.38 MB / 406.1 MB, free: 13.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.573, allocations: 11.86 kB / 406.1 MB, free: 13.79 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 12.737717406824231]