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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 115.9 kB / 18.45 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 190.9 kB / 21.39 MB, free: 1.652 MB / 14.72 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 1.386/1.386, allocations: 207.6 MB / 231.8 MB, free: 4.168 MB / 174.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 47.92 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08645, allocations: 49.13 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002424/0.08887, allocations: 1.366 MB / 392.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0309/0.1198, allocations: 23.77 MB / 416.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.1198, allocations: 3.938 kB / 416.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.1199, allocations: 11.92 kB / 416.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.1336, allocations: 5.655 MB / 422.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.1344, allocations: 346.8 kB / 422.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1345, allocations: 79.62 kB / 422.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1346, allocations: 4 kB / 422.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.1346, allocations: 35.92 kB / 422.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.202e-05/0.1347, allocations: 39.88 kB / 422.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1347, allocations: 4 kB / 422.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/0.1501, allocations: 8.863 MB / 431.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.1501, allocations: 23.84 kB / 431.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.1502, allocations: 19.88 kB / 431.6 MB, free: 412 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008767/0.159, allocations: 4.358 MB / 435.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.159, allocations: 0 / 435.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.159, allocations: 7.938 kB / 435.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.159, allocations: 0 / 435.9 MB, free: 12.03 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.002016/0.161, allocations: 0.9239 MB / 436.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.161, allocations: 12.02 kB / 436.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.1611, allocations: 46.69 kB / 436.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1611, allocations: 8.875 kB / 436.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1613, allocations: 199.6 kB / 437.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1614, allocations: 4 kB / 437.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1614, allocations: 4 kB / 437.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1615, allocations: 75.33 kB / 437.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1616, allocations: 0 / 437.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1616, allocations: 0 / 437.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1616, allocations: 4 kB / 437.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1617, allocations: 35.97 kB / 437.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.1619, allocations: 186.5 kB / 437.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.1622, allocations: 97.11 kB / 437.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.1623, allocations: 33.77 kB / 437.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.1624, allocations: 8 kB / 437.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1624, allocations: 38.55 kB / 437.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1624, allocations: 0 / 437.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003029/0.1627, allocations: 97.55 kB / 437.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.1628, allocations: 85.11 kB / 437.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1629, allocations: 141.8 kB / 437.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1629, allocations: 25.7 kB / 437.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.163, allocations: 84.14 kB / 438 MB, free: 9.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.163, allocations: 19.84 kB / 438 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.163, allocations: 17.72 kB / 438.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1632, allocations: 322.8 kB / 438.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.1633, allocations: 16.36 kB / 438.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.1633, allocations: 33.7 kB / 438.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1634, allocations: 54.06 kB / 438.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1634, allocations: 0 / 438.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001826/0.1636, allocations: 93.48 kB / 438.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1636, allocations: 4 kB / 438.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1637, allocations: 0 / 438.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1637, allocations: 0 / 438.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.1637, allocations: 19.98 kB / 438.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1637, allocations: 0 / 438.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.1638, allocations: 3.938 kB / 438.6 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1638, allocations: 7.938 kB / 438.6 MB, free: 9.086 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 9.27e-05/0.1639, allocations: 121.7 kB / 438.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1639, allocations: 0 / 438.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.1641, allocations: 105.4 kB / 438.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1641, allocations: 4 kB / 438.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1641, allocations: 0 / 438.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1641, allocations: 0 / 438.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.1643, allocations: 181.6 kB / 439 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1643, allocations: 0 / 439 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.1644, allocations: 12 kB / 439 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1644, allocations: 0 / 439 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1644, allocations: 128 / 439 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1644, allocations: 8 kB / 439 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1644, allocations: 0 / 439 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1646, allocations: 121.8 kB / 439.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.1647, allocations: 89.09 kB / 439.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1647, allocations: 3.984 kB / 439.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1648, allocations: 4 kB / 439.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1648, allocations: 0 / 439.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.1648, allocations: 11.98 kB / 439.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.36e-05/0.1649, allocations: 115.2 kB / 439.4 MB, free: 8.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1649, allocations: 0 / 439.4 MB, free: 8.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002328/0.1673, allocations: 0.9391 MB / 440.3 MB, free: 7.281 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.004609/0.1719, allocations: 1.907 MB / 442.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1721, allocations: 43.97 kB / 442.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1721, allocations: 0 / 442.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.1722, allocations: 27.92 kB / 442.3 MB, free: 5.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1724, allocations: 15.98 kB / 442.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.1751, allocations: 1.8 MB / 444.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1755, allocations: 0.6883 MB / 444.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.1755, allocations: 15.98 kB / 444.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.1756, allocations: 19.42 kB / 444.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1756, allocations: 4 kB / 444.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2276/0.4032, allocations: 30.69 MB / 475.5 MB, free: 48.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.816/9.219, allocations: 3.859 kB / 475.5 MB, free: 48.95 MB / 382.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.54103573318571]