Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001819/0.001819, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.002087/0.002087, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.446/1.446, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2359, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04023/0.2761, allocations: 37.88 MB / 458.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006153/0.2823, allocations: 4.603 MB / 463.4 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.2827, allocations: 11.94 kB / 463.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2838, allocations: 302.1 kB / 463.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.2851, allocations: 485.3 kB / 464.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.2898, allocations: 1.643 MB / 465.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.2916, allocations: 1.28 MB / 467.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.2919, allocations: 126.5 kB / 467.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.2927, allocations: 482.5 kB / 467.7 MB, free: 164 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.2934, allocations: 434.4 kB / 468.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.2935, allocations: 47.94 kB / 468.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.2951, allocations: 0.7648 MB / 468.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.2953, allocations: 135.5 kB / 469 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.2957, allocations: 278.9 kB / 469.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.2973, allocations: 1.055 MB / 470.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.2974, allocations: 4 kB / 470.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2974, allocations: 0 / 470.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.2974, allocations: 0 / 470.4 MB, free: 13.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001334/0.2987, allocations: 0.7906 MB / 471.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2987, allocations: 8.031 kB / 471.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.2994, allocations: 80.62 kB / 471.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.2999, allocations: 343.5 kB / 471.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.3, allocations: 33.36 kB / 471.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.3, allocations: 40.38 kB / 471.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.3008, allocations: 475.4 kB / 472.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3008, allocations: 4 kB / 472.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.3009, allocations: 23.98 kB / 472.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3009, allocations: 8 kB / 472.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.3014, allocations: 303.7 kB / 472.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.3158, allocations: 6.739 MB / 479.2 MB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.3163, allocations: 254.5 kB / 479.4 MB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.3165, allocations: 140.8 kB / 479.6 MB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.3275, allocations: 3.897 MB / 483.5 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.3276, allocations: 42.42 kB / 483.5 MB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3276, allocations: 0 / 483.5 MB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01243/0.34, allocations: 2.459 MB / 486 MB, free: 12.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.34, allocations: 55.41 kB / 486 MB, free: 12.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.3404, allocations: 299.3 kB / 486.3 MB, free: 12.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3404, allocations: 37.64 kB / 486.4 MB, free: 12.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3406, allocations: 228.5 kB / 486.6 MB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.3407, allocations: 170.6 kB / 486.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.3409, allocations: 102.2 kB / 486.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3411, allocations: 346.8 kB / 487.2 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.3413, allocations: 153 kB / 487.3 MB, free: 11.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.3417, allocations: 275.7 kB / 487.6 MB, free: 11.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.3424, allocations: 472.3 kB / 488.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3424, allocations: 0 / 488.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001172/0.3436, allocations: 0.5919 MB / 488.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3436, allocations: 10.97 kB / 488.7 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3436, allocations: 4 kB / 488.7 MB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008266/0.3519, allocations: 1.854 MB / 490.5 MB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.3523, allocations: 111.8 kB / 490.6 MB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.3546, allocations: 2.565 MB / 493.2 MB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.3549, allocations: 12 kB / 493.2 MB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.355, allocations: 27.98 kB / 493.2 MB, free: 5.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.3552, allocations: 185.6 kB / 493.4 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.3553, allocations: 43.77 kB / 493.5 MB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.3566, allocations: 0.8435 MB / 494.3 MB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.3566, allocations: 15.98 kB / 494.3 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3566, allocations: 0 / 494.3 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.3577, allocations: 0.9457 MB / 495.3 MB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.3598, allocations: 1.489 MB / 496.8 MB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3598, allocations: 0 / 496.8 MB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.3601, allocations: 83.89 kB / 496.8 MB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003524/0.3637, allocations: 0.6218 MB / 497.5 MB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.3637, allocations: 15.94 kB / 497.5 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3648, allocations: 1.288 MB / 498.8 MB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3648, allocations: 3.938 kB / 498.8 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3664, allocations: 1.213 MB / 500 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3665, allocations: 120.8 kB / 0.4884 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.3666, allocations: 12 kB / 0.4884 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3668, allocations: 20 kB / 0.4884 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.3669, allocations: 27.95 kB / 0.4884 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3669, allocations: 12 kB / 0.4884 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.3671, allocations: 213.9 kB / 0.4886 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3671, allocations: 0 / 0.4886 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007249/0.3678, allocations: 231.7 kB / 0.4889 GB, free: 13.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005774/0.3684, allocations: 285.6 kB / 0.4891 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3696, allocations: 0.675 MB / 0.4898 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3697, allocations: 0 / 0.4898 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.3706, allocations: 408.2 kB / 0.4902 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.3717, allocations: 237.1 kB / 0.4904 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3737, allocations: 1.262 MB / 0.4916 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.3741, allocations: 0.8361 MB / 0.4925 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.3744, allocations: 72.28 kB / 0.4925 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.3745, allocations: 35.44 kB / 0.4926 GB, free: 9.633 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3745, allocations: 0 / 0.4926 GB, free: 9.633 MB / 414.1 MB Notification: Performance of Templates: time 0.02105/0.3955, allocations: 13.1 MB / 0.5054 GB, free: 12.62 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.98421563860029]