Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001964/0.001964, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002359/0.002359, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 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 1.477/1.477, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.472e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1555/0.1555, allocations: 24.44 MB / 296.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.1627, allocations: 3.764 MB / 300.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.163, allocations: 7.906 kB / 300.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009502/0.164, allocations: 196.2 kB / 300.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.1651, allocations: 352.6 kB / 301 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006436/0.1715, allocations: 1.505 MB / 302.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.173, allocations: 0.886 MB / 303.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.1732, allocations: 76.44 kB / 303.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.1836, allocations: 4.283 MB / 307.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.1842, allocations: 252.6 kB / 308 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.808e-05/0.1842, allocations: 31.38 kB / 308 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.1863, allocations: 0.7149 MB / 308.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.1865, allocations: 98.28 kB / 308.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.1867, allocations: 150.6 kB / 308.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.1883, allocations: 0.9535 MB / 309.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1883, allocations: 0 / 309.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1883, allocations: 4 kB / 309.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1883, allocations: 2.781 kB / 309.9 MB, free: 10.48 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001158/0.1895, allocations: 0.5787 MB / 310.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1895, allocations: 14.11 kB / 310.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008427/0.1903, allocations: 123 kB / 310.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.1909, allocations: 242 kB / 310.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.191, allocations: 23.44 kB / 310.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.191, allocations: 28.12 kB / 310.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.1918, allocations: 492.2 kB / 311.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1918, allocations: 3.406 kB / 311.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.1919, allocations: 11.25 kB / 311.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1919, allocations: 10.03 kB / 311.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.1924, allocations: 207.9 kB / 311.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/0.2132, allocations: 4.101 MB / 315.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.2136, allocations: 172.9 kB / 315.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.2138, allocations: 84.83 kB / 316 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/0.2324, allocations: 2.688 MB / 318.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.2324, allocations: 34.56 kB / 318.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.015e-06/0.2324, allocations: 0 / 318.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.01027/0.2427, allocations: 1.277 MB / 320 MB, free: 1.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.2427, allocations: 59.33 kB / 320 MB, free: 1.715 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.243, allocations: 236 kB / 320.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2431, allocations: 29.7 kB / 320.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2432, allocations: 192.4 kB / 320.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.2433, allocations: 103.2 kB / 320.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.2434, allocations: 69.66 kB / 320.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.2434, allocations: 334.8 kB / 321 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.2437, allocations: 95.75 kB / 321.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.244, allocations: 179.1 kB / 321.2 MB, free: 440 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.2446, allocations: 311 kB / 321.5 MB, free: 88 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2446, allocations: 0 / 321.5 MB, free: 88 kB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001396/0.246, allocations: 399 kB / 321.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.246, allocations: 11.98 kB / 321.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.246, allocations: 7.938 kB / 321.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007867/0.2539, allocations: 0.9277 MB / 322.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.2545, allocations: 75.84 kB / 322.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.2577, allocations: 1.848 MB / 324.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2581, allocations: 8 kB / 324.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.2581, allocations: 19.98 kB / 324.8 MB, free: 12.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.2585, allocations: 157.7 kB / 325 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.2586, allocations: 31.86 kB / 325 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.2602, allocations: 0.4938 MB / 325.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.2602, allocations: 8 kB / 325.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2602, allocations: 3.938 kB / 325.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001499/0.2617, allocations: 0.7199 MB / 326.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.2642, allocations: 0.8365 MB / 327.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.2642, allocations: 3.938 kB / 327.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.2646, allocations: 51.91 kB / 327.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/0.2679, allocations: 319.1 kB / 327.4 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.268, allocations: 12 kB / 327.4 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.2691, allocations: 0.6461 MB / 328.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2691, allocations: 2.938 kB / 328.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.2713, allocations: 0.7415 MB / 328.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.2714, allocations: 27.78 kB / 328.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.2715, allocations: 8 kB / 328.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.2718, allocations: 12.11 kB / 328.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.2719, allocations: 23.91 kB / 328.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.2719, allocations: 8 kB / 328.9 MB, free: 8.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003208/0.2723, allocations: 165.6 kB / 329.1 MB, free: 8.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2723, allocations: 3.938 kB / 329.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001246/0.2735, allocations: 187.7 kB / 329.3 MB, free: 8.012 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.2745, allocations: 282.6 kB / 329.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.276, allocations: 446 kB / 330 MB, free: 7.285 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.276, allocations: 0 / 330 MB, free: 7.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.277, allocations: 232.3 kB / 330.2 MB, free: 7.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.2786, allocations: 131.4 kB / 330.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.2809, allocations: 0.7323 MB / 331.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.2812, allocations: 172.3 kB / 331.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.2815, allocations: 45.86 kB / 331.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.2816, allocations: 28.5 kB / 331.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2816, allocations: 3.938 kB / 331.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of Templates: time 0.02593/0.3076, allocations: 9.288 MB / 340.6 MB, free: 12.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.606702756951563]