Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001319/0.001319, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001429/0.001429, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 52.02 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2073, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.028/0.2353, allocations: 24.57 MB / 456.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.2402, allocations: 3.774 MB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.2403, allocations: 4 kB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.2409, allocations: 198.7 kB / 460.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.2416, allocations: 334.2 kB / 461.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.2452, allocations: 1.464 MB / 462.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.2462, allocations: 0.899 MB / 463.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2464, allocations: 80.83 kB / 463.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006136/0.2525, allocations: 4.135 MB / 467.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.2529, allocations: 294.8 kB / 468.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.253, allocations: 32 kB / 468.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.2542, allocations: 0.7259 MB / 468.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2543, allocations: 103.6 kB / 468.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.2545, allocations: 167.4 kB / 469.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.2556, allocations: 0.8569 MB / 469.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2556, allocations: 3.938 kB / 470 MB, free: 1.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2556, allocations: 0 / 470 MB, free: 1.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2556, allocations: 0 / 470 MB, free: 1.008 MB / 366.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.000927/0.2565, allocations: 0.5855 MB / 470.5 MB, free: 404 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2566, allocations: 8.031 kB / 470.5 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000469/0.257, allocations: 56.73 kB / 470.6 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.2575, allocations: 226 kB / 470.8 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2575, allocations: 21.03 kB / 470.8 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.2575, allocations: 28.38 kB / 470.9 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.2582, allocations: 498 kB / 471.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2582, allocations: 4 kB / 471.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.2582, allocations: 8 kB / 471.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2583, allocations: 11.98 kB / 471.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.2586, allocations: 209.8 kB / 471.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.2719, allocations: 4.09 MB / 475.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.2722, allocations: 170.6 kB / 475.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2724, allocations: 84.77 kB / 475.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.2839, allocations: 2.684 MB / 478.6 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2839, allocations: 38.56 kB / 478.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.2839, allocations: 0 / 478.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006527/0.2904, allocations: 1.266 MB / 479.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2905, allocations: 55.41 kB / 480 MB, free: 6.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.2907, allocations: 232 kB / 480.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.2907, allocations: 33.7 kB / 480.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2909, allocations: 192.3 kB / 480.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.2909, allocations: 103.2 kB / 480.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2911, allocations: 65.7 kB / 480.6 MB, free: 6.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2912, allocations: 334.8 kB / 480.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.2914, allocations: 95.89 kB / 481 MB, free: 5.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.2916, allocations: 186.8 kB / 481.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.2921, allocations: 311 kB / 481.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2921, allocations: 0 / 481.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007219/0.2928, allocations: 399 kB / 481.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2928, allocations: 4 kB / 481.9 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2928, allocations: 4 kB / 481.9 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004628/0.2974, allocations: 0.9362 MB / 482.8 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2977, allocations: 71.91 kB / 482.9 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2994, allocations: 1.848 MB / 484.7 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.2995, allocations: 12.03 kB / 484.7 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.2996, allocations: 12 kB / 484.8 MB, free: 1.684 MB / 382.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.0001604/0.2997, allocations: 153.7 kB / 484.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.2998, allocations: 23.86 kB / 484.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007859/0.3006, allocations: 0.4951 MB / 485.4 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007397/0.3013, allocations: 0.7276 MB / 486.2 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.3013, allocations: 0 / 486.2 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.3014, allocations: 27.86 kB / 486.2 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.3014, allocations: 4 kB / 486.2 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3016, allocations: 8 kB / 486.2 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.3016, allocations: 20.19 kB / 486.2 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009267/0.3026, allocations: 0.5013 MB / 486.7 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008766/0.3034, allocations: 0.7337 MB / 487.4 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002208/0.3037, allocations: 156 kB / 487.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.3038, allocations: 173.6 kB / 487.8 MB, free: 14.53 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3038, allocations: 0 / 487.8 MB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3053, allocations: 0.5599 MB / 488.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 0.0015/0.3068, allocations: 1.176 MB / 489.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of Templates: time 0.0162/0.323, allocations: 9.993 MB / 499.5 MB, free: 2.809 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.484021133001079]