Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0007913/0.0007913, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003298/0.003298, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8001/0.8001, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.4e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001543/0.001557, allocations: 1.342 MB / 299.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1307/0.1322, allocations: 21.21 MB / 321 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.1323, allocations: 1.188 kB / 321 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.1324, allocations: 11.08 kB / 321 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.144, allocations: 5.68 MB / 326.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.1445, allocations: 371.7 kB / 327 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1447, allocations: 78.78 kB / 327.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1447, allocations: 6.031 kB / 327.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.1448, allocations: 39.94 kB / 327.2 MB, free: 15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.1449, allocations: 39.31 kB / 327.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1449, allocations: 3.219 kB / 327.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009845/0.1547, allocations: 8.273 MB / 335.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.1548, allocations: 17.61 kB / 335.5 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1548, allocations: 19.98 kB / 335.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005175/0.16, allocations: 5.442 MB / 341 MB, free: 4.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.16, allocations: 0 / 341 MB, free: 4.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.16, allocations: 0 / 341 MB, free: 4.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.16, allocations: 0 / 341 MB, free: 4.324 MB / 298.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.001089/0.1611, allocations: 0.8525 MB / 341.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1611, allocations: 11.98 kB / 341.8 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.1611, allocations: 30.75 kB / 341.9 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.1612, allocations: 11.66 kB / 341.9 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1613, allocations: 145.6 kB / 342 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1613, allocations: 8.125 kB / 342 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.1613, allocations: 4 kB / 342 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1615, allocations: 122.8 kB / 342.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1615, allocations: 5.25 kB / 342.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1615, allocations: 0 / 342.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1615, allocations: 4 kB / 342.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.1615, allocations: 31.97 kB / 342.2 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.1617, allocations: 145.7 kB / 342.3 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1619, allocations: 101 kB / 342.4 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.1619, allocations: 37.77 kB / 342.5 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.162, allocations: 8 kB / 342.5 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.162, allocations: 35.19 kB / 342.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.162, allocations: 0 / 342.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002199/0.1622, allocations: 107.8 kB / 342.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1622, allocations: 81.11 kB / 342.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.1623, allocations: 141.7 kB / 342.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1623, allocations: 29.64 kB / 342.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.1627, allocations: 88.14 kB / 342.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1627, allocations: 23.8 kB / 343 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.1627, allocations: 21.7 kB / 343 MB, free: 2.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.1628, allocations: 314.8 kB / 343.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.1628, allocations: 19.98 kB / 343.3 MB, free: 1.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-05/0.1629, allocations: 33.2 kB / 343.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/0.1629, allocations: 49.64 kB / 343.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1629, allocations: 0 / 343.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000107/0.163, allocations: 85.59 kB / 343.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1631, allocations: 4 kB / 343.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1631, allocations: 4 kB / 343.5 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1631, allocations: 4 kB / 343.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/0.1631, allocations: 8 kB / 343.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1631, allocations: 0 / 343.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.1631, allocations: 11.94 kB / 343.5 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1632, allocations: 0 / 343.5 MB, free: 1.535 MB / 298.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.429e-05/0.1632, allocations: 121.7 kB / 343.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1632, allocations: 4.469 kB / 343.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.1634, allocations: 103.8 kB / 343.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1634, allocations: 8 kB / 343.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1634, allocations: 0 / 343.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1634, allocations: 0 / 343.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.65e-05/0.1635, allocations: 152.6 kB / 343.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1635, allocations: 0 / 343.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.1635, allocations: 11.98 kB / 343.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1635, allocations: 4 kB / 343.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1635, allocations: 0 / 343.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.1635, allocations: 0 / 343.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1635, allocations: 0 / 343.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1636, allocations: 117.9 kB / 344 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.1637, allocations: 11.98 kB / 344 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.1637, allocations: 0 / 344 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.1637, allocations: 5.25 kB / 344 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.1638, allocations: 19.86 kB / 344.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1638, allocations: 0 / 344.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.1638, allocations: 115.2 kB / 344.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1638, allocations: 4 kB / 344.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001186/0.165, allocations: 0.9275 MB / 345.1 MB, free: 15.86 MB / 314.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.002796/0.1678, allocations: 2.044 MB / 347.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1679, allocations: 55.83 kB / 347.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1679, allocations: 0 / 347.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.168, allocations: 31.92 kB / 347.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.1681, allocations: 22.95 kB / 347.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1697, allocations: 1.791 MB / 349 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.1697, allocations: 68.16 kB / 349.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.071e-05/0.1698, allocations: 19.97 kB / 349.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.1698, allocations: 16.5 kB / 349.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1698, allocations: 4 kB / 349.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.2122, allocations: 31.71 MB / 380.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.67, allocations: 3.953 kB / 380.9 MB, free: 11.86 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.659605723805726]