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.00166/0.00166, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002254/0.002254, allocations: 214.8 kB / 24.48 MB, free: 3.941 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 2.184/2.184, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.001846/0.001846, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2744, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03779/0.3122, allocations: 24.56 MB / 456.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.3185, allocations: 3.774 MB / 460.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.3188, allocations: 7.938 kB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.3196, allocations: 190.8 kB / 460.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008987/0.3205, allocations: 346.1 kB / 461.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.3255, allocations: 1.452 MB / 462.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3268, allocations: 0.9028 MB / 463.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.327, allocations: 83.06 kB / 463.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008013/0.335, allocations: 4.127 MB / 467.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.3355, allocations: 294.8 kB / 468.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.3356, allocations: 28 kB / 468.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.3374, allocations: 0.7415 MB / 468.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3375, allocations: 87.73 kB / 468.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.3377, allocations: 171.4 kB / 469.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3392, allocations: 0.8492 MB / 469.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3392, allocations: 0 / 469.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3392, allocations: 0 / 469.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3392, allocations: 0 / 469.9 MB, free: 1.035 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.001156/0.3404, allocations: 0.5945 MB / 470.5 MB, free: 420 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3404, allocations: 12.03 kB / 470.5 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000568/0.341, allocations: 56.72 kB / 470.6 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.3415, allocations: 230 kB / 470.8 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.3416, allocations: 17.03 kB / 470.8 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.3416, allocations: 32.38 kB / 470.9 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.3424, allocations: 493.9 kB / 471.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3424, allocations: 4 kB / 471.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.3425, allocations: 12 kB / 471.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3425, allocations: 11.94 kB / 471.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.343, allocations: 209.8 kB / 471.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.3589, allocations: 4.09 MB / 475.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.3593, allocations: 170.6 kB / 475.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3595, allocations: 84.81 kB / 475.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/0.3728, allocations: 2.676 MB / 478.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.3728, allocations: 46.5 kB / 478.6 MB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 5.089e-06/0.3728, allocations: 3.984 kB / 478.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00839/0.3812, allocations: 1.263 MB / 479.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3813, allocations: 59.41 kB / 480 MB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.3816, allocations: 232 kB / 480.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3816, allocations: 33.7 kB / 480.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3818, allocations: 196.3 kB / 480.4 MB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.742e-05/0.3819, allocations: 103.2 kB / 480.5 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.382, allocations: 57.7 kB / 480.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3822, allocations: 338.8 kB / 480.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.3824, allocations: 83.97 kB / 481 MB, free: 5.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.3827, allocations: 190.9 kB / 481.2 MB, free: 5.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.3833, allocations: 307 kB / 481.5 MB, free: 5.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3833, allocations: 0 / 481.5 MB, free: 5.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000908/0.3842, allocations: 394.8 kB / 481.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3842, allocations: 7.984 kB / 481.9 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3842, allocations: 4 kB / 481.9 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005702/0.3899, allocations: 0.9364 MB / 482.8 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.3903, allocations: 67.84 kB / 482.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.3923, allocations: 1.848 MB / 484.7 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.3926, allocations: 8 kB / 484.7 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.3926, allocations: 16 kB / 484.7 MB, free: 1.707 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.0002295/0.3929, allocations: 153.7 kB / 484.9 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.308e-05/0.393, allocations: 31.95 kB / 484.9 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/0.3939, allocations: 0.4912 MB / 485.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.394, allocations: 8 kB / 485.4 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.394, allocations: 3.938 kB / 485.4 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008961/0.3949, allocations: 0.7237 MB / 486.1 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.3965, allocations: 0.8441 MB / 487 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3965, allocations: 0 / 487 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3968, allocations: 51.91 kB / 487 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/0.3991, allocations: 324.4 kB / 487.4 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.3991, allocations: 4 kB / 487.4 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/0.3998, allocations: 0.654 MB / 488 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3998, allocations: 0 / 488 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4011, allocations: 0.7369 MB / 488.8 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.4012, allocations: 27.75 kB / 488.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.4012, allocations: 12.06 kB / 488.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.4015, allocations: 8 kB / 488.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.4015, allocations: 15.95 kB / 488.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.4015, allocations: 12 kB / 488.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.4018, allocations: 165.6 kB / 489 MB, free: 13.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4018, allocations: 0 / 489 MB, free: 13.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009044/0.4027, allocations: 187.7 kB / 489.2 MB, free: 13.06 MB / 398.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.0007289/0.4034, allocations: 266.6 kB / 489.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4045, allocations: 447.1 kB / 489.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4045, allocations: 0 / 489.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006968/0.4052, allocations: 228.6 kB / 490.1 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4063, allocations: 136.1 kB / 490.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.408, allocations: 0.8163 MB / 491 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4082, allocations: 168.2 kB / 491.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.4085, allocations: 50.92 kB / 491.3 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.4085, allocations: 23.44 kB / 491.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4085, allocations: 0 / 491.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of Templates: time 0.02201/0.4305, allocations: 9.949 MB / 0.4895 GB, free: 1.055 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 -s cvode -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: 9.154592797000078]