Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.000922/0.000922, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00512/0.00512, allocations: 138.9 kB / 24.68 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8517/0.8517, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.587e-05, allocations: 6.219 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01488/0.01491, allocations: 24.37 MB / 344.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.01777, allocations: 3.762 MB / 347.8 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.01792, allocations: 7.938 kB / 347.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.01841, allocations: 198.6 kB / 348 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.01886, allocations: 357.7 kB / 348.4 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.02156, allocations: 1.495 MB / 349.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.0222, allocations: 0.8946 MB / 350.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.02235, allocations: 80.86 kB / 350.8 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.02606, allocations: 4.279 MB / 355.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.0263, allocations: 255.2 kB / 355.4 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.02634, allocations: 32 kB / 355.4 MB, free: 2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.02716, allocations: 0.7023 MB / 356.1 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.02725, allocations: 95.64 kB / 356.2 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.02735, allocations: 143.8 kB / 356.3 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008075/0.02815, allocations: 0.9625 MB / 357.3 MB, free: 100 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.02816, allocations: 0 / 357.3 MB, free: 100 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02816, allocations: 0 / 357.3 MB, free: 100 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.02816, allocations: 4 kB / 357.3 MB, free: 96 kB / 314.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.0006392/0.0288, allocations: 0.5829 MB / 357.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.02884, allocations: 8.922 kB / 357.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.02909, allocations: 60.67 kB / 358 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.0294, allocations: 225.2 kB / 358.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.02942, allocations: 25.03 kB / 358.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.02945, allocations: 28.38 kB / 358.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.02982, allocations: 490.4 kB / 358.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.02984, allocations: 192 / 358.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.02986, allocations: 16.12 kB / 358.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.02987, allocations: 11.94 kB / 358.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.03008, allocations: 205.8 kB / 358.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00547/0.03555, allocations: 4.083 MB / 363 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.03577, allocations: 170.6 kB / 363.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.03586, allocations: 83.83 kB / 363.3 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004208/0.04007, allocations: 2.684 MB / 366 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.0401, allocations: 34.56 kB / 366 MB, free: 7.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.0401, allocations: 0 / 366 MB, free: 7.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003172/0.04327, allocations: 1.26 MB / 367.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.04331, allocations: 55.41 kB / 367.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.04348, allocations: 243.9 kB / 367.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.0435, allocations: 29.7 kB / 367.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.04359, allocations: 188.4 kB / 367.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.04363, allocations: 99.16 kB / 367.9 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.0437, allocations: 65.66 kB / 367.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.04379, allocations: 342.8 kB / 368.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.04389, allocations: 95.95 kB / 368.3 MB, free: 4.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.04403, allocations: 182.9 kB / 368.5 MB, free: 4.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.04429, allocations: 307 kB / 368.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.04429, allocations: 0 / 368.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004195/0.04471, allocations: 386.9 kB / 369.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.04473, allocations: 12.31 kB / 369.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.04474, allocations: 7.984 kB / 369.2 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.04657, allocations: 0.9359 MB / 370.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.04672, allocations: 71.91 kB / 370.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009994/0.04772, allocations: 1.848 MB / 372.1 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.276e-05/0.04781, allocations: 12 kB / 372.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.04783, allocations: 12 kB / 372.1 MB, free: 0.7812 MB / 330.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.0001206/0.04795, allocations: 153.7 kB / 372.2 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.04798, allocations: 27.8 kB / 372.3 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.04844, allocations: 498.6 kB / 372.8 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.04845, allocations: 7.938 kB / 372.8 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.04845, allocations: 48 / 372.8 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004246/0.04887, allocations: 0.7321 MB / 373.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.04961, allocations: 0.8444 MB / 374.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.04962, allocations: 0 / 374.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.04972, allocations: 47.91 kB / 374.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007319/0.05045, allocations: 320.3 kB / 374.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.05046, allocations: 7.984 kB / 374.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002986/0.05076, allocations: 0.6539 MB / 375.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.05076, allocations: 0 / 375.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.05131, allocations: 0.7293 MB / 376.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.05134, allocations: 31.73 kB / 376.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.05136, allocations: 4 kB / 376.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.05144, allocations: 8 kB / 376.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.05146, allocations: 19.84 kB / 376.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.05148, allocations: 12 kB / 376.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.549e-05/0.05157, allocations: 169.7 kB / 376.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05157, allocations: 0 / 376.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004328/0.05201, allocations: 187.7 kB / 376.5 MB, free: 12.14 MB / 346.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.0004116/0.05242, allocations: 282.7 kB / 376.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.05292, allocations: 442.9 kB / 377.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.05292, allocations: 3.938 kB / 377.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.05319, allocations: 223.8 kB / 377.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.05364, allocations: 136.3 kB / 377.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.05446, allocations: 0.7434 MB / 378.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.987e-05/0.05456, allocations: 168.3 kB / 378.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.05461, allocations: 32.5 kB / 378.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05461, allocations: 4 kB / 378.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of Templates: time 0.006862/0.06147, allocations: 8.334 MB / 386.9 MB, free: 1.734 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.207134022377431]