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.001769/0.001769, allocations: 81.58 kB / 20.68 MB, free: 1.023 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.002011/0.002011, allocations: 152.9 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.449/1.449, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 3.938 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.075e-05, allocations: 6.219 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0276/0.02762, allocations: 24.38 MB / 343.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005264/0.03289, allocations: 3.758 MB / 347.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.03307, allocations: 7.5 kB / 347.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.03376, allocations: 194.6 kB / 347.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007135/0.03448, allocations: 356.7 kB / 347.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.03932, allocations: 1.496 MB / 349.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.0405, allocations: 0.8907 MB / 350 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.04068, allocations: 76.86 kB / 350.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007538/0.04822, allocations: 4.283 MB / 354.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.04865, allocations: 255.2 kB / 354.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.04872, allocations: 28 kB / 354.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.05019, allocations: 0.71 MB / 355.3 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.05033, allocations: 99.64 kB / 355.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.05055, allocations: 147.7 kB / 355.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.05195, allocations: 0.9547 MB / 356.5 MB, free: 5.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.05195, allocations: 0 / 356.5 MB, free: 5.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.05195, allocations: 0 / 356.5 MB, free: 5.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.05196, allocations: 0 / 356.5 MB, free: 5.988 MB / 318.1 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.001001/0.05296, allocations: 0.5828 MB / 357.1 MB, free: 5.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.053, allocations: 12.92 kB / 357.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004796/0.05348, allocations: 60.72 kB / 357.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.05392, allocations: 229.2 kB / 357.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.05395, allocations: 17.03 kB / 357.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.054, allocations: 32.36 kB / 357.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.05468, allocations: 490.4 kB / 357.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.05469, allocations: 4.188 kB / 358 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.05473, allocations: 20.12 kB / 358 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.05474, allocations: 8 kB / 358 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.05511, allocations: 213.8 kB / 358.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.06818, allocations: 4.083 MB / 362.3 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.06854, allocations: 162.6 kB / 362.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.06869, allocations: 80.84 kB / 362.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/0.0797, allocations: 2.687 MB / 365.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.07974, allocations: 42.5 kB / 365.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.07974, allocations: 0 / 365.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.006737/0.08648, allocations: 1.252 MB / 366.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.08653, allocations: 67.33 kB / 366.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.08681, allocations: 240 kB / 366.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.08684, allocations: 29.7 kB / 366.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.08698, allocations: 188.4 kB / 367 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.08707, allocations: 95.17 kB / 367.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.08718, allocations: 65.66 kB / 367.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.08734, allocations: 338.8 kB / 367.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.08751, allocations: 83.97 kB / 367.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.08777, allocations: 190.9 kB / 367.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.08823, allocations: 307 kB / 368.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.08824, allocations: 4 kB / 368.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007567/0.08899, allocations: 390.9 kB / 368.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.08901, allocations: 15.88 kB / 368.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.08902, allocations: 0 / 368.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004467/0.09348, allocations: 0.9303 MB / 369.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.09378, allocations: 67.91 kB / 369.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.09555, allocations: 1.855 MB / 371.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.09574, allocations: 8 kB / 371.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.09577, allocations: 19.98 kB / 371.3 MB, free: 6.668 MB / 334.1 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.0001932/0.09597, allocations: 157.9 kB / 371.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.09604, allocations: 23.86 kB / 371.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.09685, allocations: 498.6 kB / 372 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.09686, allocations: 11.97 kB / 372 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.09687, allocations: 0 / 372 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007934/0.09766, allocations: 0.7242 MB / 372.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.09901, allocations: 0.8482 MB / 373.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.09902, allocations: 0 / 373.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.09922, allocations: 52 kB / 373.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.1011, allocations: 320.3 kB / 374 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1011, allocations: 4 kB / 374 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005963/0.1017, allocations: 0.65 MB / 374.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1017, allocations: 0 / 374.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1028, allocations: 0.741 MB / 375.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.1029, allocations: 27.75 kB / 375.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1029, allocations: 4 kB / 375.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1031, allocations: 8 kB / 375.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1031, allocations: 19.89 kB / 375.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.1032, allocations: 12 kB / 375.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1033, allocations: 161.6 kB / 375.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1033, allocations: 0 / 375.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000682/0.104, allocations: 187.7 kB / 375.8 MB, free: 2.035 MB / 334.1 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.0006496/0.1047, allocations: 286.8 kB / 376 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.1055, allocations: 439.2 kB / 376.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1055, allocations: 0 / 376.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.1061, allocations: 235.7 kB / 376.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.107, allocations: 139.6 kB / 376.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1083, allocations: 0.7232 MB / 377.6 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.1085, allocations: 168.3 kB / 377.7 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1087, allocations: 46.94 kB / 377.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.1087, allocations: 32.44 kB / 377.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1087, allocations: 0 / 377.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Templates: time 0.0174/0.1261, allocations: 9.245 MB / 387 MB, free: 6.793 MB / 350.1 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.544184781610966]