Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001464/0.001464, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00154/0.00154, allocations: 163.2 kB / 25.02 MB, free: 8.945 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 1.379/1.379, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.701e-05, allocations: 10.11 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04688/0.0469, allocations: 33.76 MB / 284.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006943/0.05385, allocations: 4.163 MB / 288.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.05425, allocations: 7.938 kB / 288.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.05525, allocations: 282.1 kB / 288.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.05654, allocations: 0.5007 MB / 289.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005127/0.06166, allocations: 1.675 MB / 290.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.06375, allocations: 1.276 MB / 292 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.06408, allocations: 115 kB / 292.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.06582, allocations: 0.6507 MB / 292.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00077/0.06659, allocations: 370.9 kB / 293.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.06673, allocations: 48 kB / 293.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.0686, allocations: 0.7295 MB / 293.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.06882, allocations: 147.5 kB / 294.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.06922, allocations: 207.6 kB / 294.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.07124, allocations: 1.169 MB / 295.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.07125, allocations: 11.98 kB / 295.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07125, allocations: 0 / 295.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.07127, allocations: 0 / 295.5 MB, free: 10.55 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001416/0.07269, allocations: 0.7035 MB / 296.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.07273, allocations: 11.98 kB / 296.2 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.0735, allocations: 171.8 kB / 296.4 MB, free: 9.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.07412, allocations: 292.9 kB / 296.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.07415, allocations: 29.38 kB / 296.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.07424, allocations: 48.36 kB / 296.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.07527, allocations: 0.658 MB / 297.4 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.07529, allocations: 4.125 kB / 297.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.07534, allocations: 20.12 kB / 297.4 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.07536, allocations: 12 kB / 297.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.0759, allocations: 299.7 kB / 297.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.09034, allocations: 4.569 MB / 302.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.09088, allocations: 262.5 kB / 302.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.09113, allocations: 140.6 kB / 302.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.1024, allocations: 2.703 MB / 305.4 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.1024, allocations: 42.42 kB / 305.4 MB, free: 372 kB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.1024, allocations: 3.938 kB / 305.4 MB, free: 368 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01263/0.115, allocations: 2.315 MB / 307.7 MB, free: 14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1151, allocations: 63.39 kB / 307.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.1155, allocations: 273.8 kB / 308.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.1155, allocations: 33.7 kB / 308.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.1158, allocations: 236.3 kB / 308.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1159, allocations: 162.6 kB / 308.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.1161, allocations: 98.3 kB / 308.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.1163, allocations: 350.7 kB / 308.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.1166, allocations: 149.2 kB / 309.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.117, allocations: 280.7 kB / 309.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008239/0.1179, allocations: 473.3 kB / 309.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1179, allocations: 4 kB / 309.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001363/0.1192, allocations: 0.6089 MB / 310.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1193, allocations: 8.469 kB / 310.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.1193, allocations: 8 kB / 310.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008821/0.1281, allocations: 1.845 MB / 312.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.1286, allocations: 107.8 kB / 312.4 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.1315, allocations: 2.439 MB / 314.8 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.1318, allocations: 16 kB / 314.8 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.1319, allocations: 23.98 kB / 314.9 MB, free: 6.555 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003159/0.1322, allocations: 169.7 kB / 315 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.1324, allocations: 51.81 kB / 315.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.1339, allocations: 0.8805 MB / 316 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.1339, allocations: 12 kB / 316 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1339, allocations: 7.984 kB / 316 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/0.1352, allocations: 0.9673 MB / 316.9 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.1375, allocations: 1.367 MB / 318.3 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1375, allocations: 0 / 318.3 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.1379, allocations: 75.89 kB / 318.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/0.1416, allocations: 0.6295 MB / 319 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.1416, allocations: 11.98 kB / 319 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.1429, allocations: 1.296 MB / 320.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.1429, allocations: 12.14 kB / 320.3 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.1451, allocations: 1.259 MB / 321.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.1452, allocations: 35.7 kB / 321.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.1453, allocations: 12.03 kB / 321.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.1455, allocations: 8 kB / 321.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.1456, allocations: 28.23 kB / 321.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.1456, allocations: 19.98 kB / 321.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.1459, allocations: 189.2 kB / 321.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1459, allocations: 0 / 321.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008063/0.1467, allocations: 227.7 kB / 322.1 MB, free: 15.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007006/0.1474, allocations: 298.7 kB / 322.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.1488, allocations: 0.6873 MB / 323.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1488, allocations: 4 kB / 323.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.1498, allocations: 428.1 kB / 323.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.151, allocations: 212.6 kB / 323.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1531, allocations: 1.136 MB / 324.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1533, allocations: 233.3 kB / 325.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.1536, allocations: 63.36 kB / 325.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.1537, allocations: 36.5 kB / 325.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.1537, allocations: 0 / 325.2 MB, free: 11.94 MB / 314.7 MB Notification: Performance of Templates: time 0.02364/0.1773, allocations: 11.94 MB / 337.1 MB, free: 16 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 5.934794761007652]