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.001364/0.001364, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001436/0.001436, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.465/1.465, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 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.362e-06/1.362e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.416e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02887/0.02889, allocations: 24.47 MB / 349.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005446/0.03434, allocations: 3.762 MB / 353.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.03469, allocations: 7.938 kB / 353.2 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.03542, allocations: 194.7 kB / 353.4 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.03629, allocations: 365.6 kB / 353.8 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005059/0.04135, allocations: 1.496 MB / 355.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.04275, allocations: 0.8984 MB / 356.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.04295, allocations: 64.89 kB / 356.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007827/0.05077, allocations: 4.275 MB / 360.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.05119, allocations: 247.2 kB / 360.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.05125, allocations: 32 kB / 360.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.05286, allocations: 0.7061 MB / 361.5 MB, free: 464 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.053, allocations: 103.6 kB / 361.6 MB, free: 360 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.05322, allocations: 147.7 kB / 361.8 MB, free: 212 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.0547, allocations: 0.9548 MB / 362.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.05471, allocations: 4 kB / 362.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.05471, allocations: 0 / 362.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.05471, allocations: 3.938 kB / 362.7 MB, free: 15.24 MB / 334.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.001089/0.0558, allocations: 0.5712 MB / 363.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.05585, allocations: 15.98 kB / 363.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.05632, allocations: 60.67 kB / 363.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.05679, allocations: 233.2 kB / 363.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.05682, allocations: 21.03 kB / 363.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.05687, allocations: 32.31 kB / 363.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.05756, allocations: 490.4 kB / 364.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.05758, allocations: 12.11 kB / 364.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.05763, allocations: 16.12 kB / 364.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.05764, allocations: 8 kB / 364.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.05803, allocations: 205.8 kB / 364.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.07102, allocations: 4.086 MB / 368.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.07137, allocations: 170.6 kB / 368.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.07153, allocations: 84.83 kB / 368.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.08233, allocations: 2.672 MB / 371.4 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.08238, allocations: 38.56 kB / 371.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.08238, allocations: 0 / 371.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.006494/0.08888, allocations: 1.271 MB / 372.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.08892, allocations: 55.41 kB / 372.7 MB, free: 4.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.08918, allocations: 232 kB / 373 MB, free: 4.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.08922, allocations: 29.7 kB / 373 MB, free: 4.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.08936, allocations: 196.3 kB / 373.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.08944, allocations: 95.2 kB / 373.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.08955, allocations: 73.66 kB / 373.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.0897, allocations: 330.8 kB / 373.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.08986, allocations: 95.95 kB / 373.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.09011, allocations: 190.8 kB / 373.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.09055, allocations: 299 kB / 374.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09055, allocations: 0 / 374.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007324/0.09128, allocations: 395.1 kB / 374.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.0913, allocations: 7.938 kB / 374.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.09131, allocations: 4 kB / 374.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/0.09565, allocations: 0.9362 MB / 375.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.09594, allocations: 71.91 kB / 375.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.09781, allocations: 1.848 MB / 377.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.09799, allocations: 8.031 kB / 377.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.09802, allocations: 16 kB / 377.5 MB, free: 15.93 MB / 350.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.0001966/0.09821, allocations: 157.8 kB / 377.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/0.09828, allocations: 23.86 kB / 377.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/0.09907, allocations: 0.4942 MB / 378.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.09908, allocations: 16 kB / 378.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.09908, allocations: 0 / 378.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007683/0.09985, allocations: 0.7238 MB / 378.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.1012, allocations: 0.8403 MB / 379.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.1012, allocations: 7.984 kB / 379.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.1014, allocations: 43.92 kB / 379.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.1032, allocations: 316.3 kB / 380.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.1032, allocations: 11.98 kB / 380.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005889/0.1038, allocations: 0.6461 MB / 380.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1038, allocations: 4.031 kB / 380.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1048, allocations: 0.7255 MB / 381.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.1049, allocations: 31.77 kB / 381.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.1049, allocations: 8 kB / 381.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1051, allocations: 4 kB / 381.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1051, allocations: 28.03 kB / 381.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.1051, allocations: 11.98 kB / 381.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1053, allocations: 161.6 kB / 381.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1053, allocations: 0 / 381.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006764/0.106, allocations: 187.7 kB / 381.9 MB, free: 11.29 MB / 350.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.0006546/0.1066, allocations: 282.6 kB / 382.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008922/0.1075, allocations: 446.9 kB / 382.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1075, allocations: 3.938 kB / 382.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.1081, allocations: 228.2 kB / 382.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/0.109, allocations: 136.5 kB / 383 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1102, allocations: 0.7218 MB / 383.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.1104, allocations: 172.3 kB / 383.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.1106, allocations: 50.94 kB / 383.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.1106, allocations: 28.48 kB / 384 MB, free: 9.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1106, allocations: 0 / 384 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01719/0.1278, allocations: 9.249 MB / 393.2 MB, free: 20 kB / 350.1 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.473833419382572]