Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001865/0.001865, allocations: 103.6 kB / 21.19 MB, free: 0.668 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.002528/0.002528, allocations: 205.2 kB / 24.48 MB, free: 3.969 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3387, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04109/0.3798, allocations: 34.01 MB / 466.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.3861, allocations: 4.167 MB / 470.5 MB, free: 424 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.3866, allocations: 11.94 kB / 470.5 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.3876, allocations: 278.2 kB / 470.8 MB, free: 132 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.3887, allocations: 489.8 kB / 471.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005596/0.3943, allocations: 1.642 MB / 472.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.3964, allocations: 1.292 MB / 474.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.3968, allocations: 119 kB / 474.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009442/0.3977, allocations: 498.4 kB / 474.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.3984, allocations: 430.4 kB / 475.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.3985, allocations: 44 kB / 475.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.4003, allocations: 0.7571 MB / 476 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.4005, allocations: 139.5 kB / 476.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.4008, allocations: 239.2 kB / 476.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.4027, allocations: 1.059 MB / 477.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4027, allocations: 0 / 477.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4027, allocations: 0 / 477.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.4027, allocations: 4 kB / 477.5 MB, free: 9.441 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.001381/0.4041, allocations: 0.7179 MB / 478.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4041, allocations: 8.031 kB / 478.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000624/0.4047, allocations: 84.56 kB / 478.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.4054, allocations: 285.7 kB / 478.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.4054, allocations: 29.38 kB / 478.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.4055, allocations: 40.38 kB / 478.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.4064, allocations: 0.6614 MB / 479.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.4064, allocations: 7.938 kB / 479.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.4065, allocations: 16 kB / 479.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4065, allocations: 12 kB / 479.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.407, allocations: 295.7 kB / 479.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.4214, allocations: 4.577 MB / 484.2 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.4219, allocations: 254.5 kB / 484.4 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.4221, allocations: 140.8 kB / 484.6 MB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.4334, allocations: 2.684 MB / 487.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.4334, allocations: 38.56 kB / 487.3 MB, free: 15.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/0.4334, allocations: 4 kB / 487.3 MB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01301/0.4465, allocations: 2.308 MB / 489.6 MB, free: 13.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.4465, allocations: 63.34 kB / 489.7 MB, free: 12.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.4469, allocations: 281.7 kB / 489.9 MB, free: 12.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.4469, allocations: 29.7 kB / 490 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.4471, allocations: 228.4 kB / 490.2 MB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.4473, allocations: 174.5 kB / 490.4 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.4475, allocations: 98.33 kB / 490.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4476, allocations: 342.8 kB / 490.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.4479, allocations: 157.2 kB / 490.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.4483, allocations: 276.6 kB / 491.2 MB, free: 11.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.449, allocations: 468.3 kB / 491.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.449, allocations: 0 / 491.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001227/0.4503, allocations: 0.5918 MB / 492.3 MB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.4503, allocations: 8 kB / 492.3 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4503, allocations: 7.938 kB / 492.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009181/0.4595, allocations: 1.851 MB / 494.1 MB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.46, allocations: 111.8 kB / 494.2 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.4625, allocations: 2.428 MB / 496.7 MB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.4629, allocations: 12 kB / 496.7 MB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.4629, allocations: 31.92 kB / 496.7 MB, free: 5.594 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.000272/0.4632, allocations: 177.7 kB / 496.9 MB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4633, allocations: 39.83 kB / 496.9 MB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.4647, allocations: 0.8686 MB / 497.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.4648, allocations: 11.92 kB / 497.8 MB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4648, allocations: 0 / 497.8 MB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.4659, allocations: 0.9823 MB / 498.8 MB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.4681, allocations: 1.351 MB / 0.4884 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4681, allocations: 0 / 0.4884 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.4684, allocations: 75.89 kB / 0.4885 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/0.4721, allocations: 0.6336 MB / 0.4891 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.328e-05/0.4721, allocations: 12 kB / 0.4891 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.4734, allocations: 1.296 MB / 0.4904 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.4734, allocations: 12.03 kB / 0.4904 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4752, allocations: 1.243 MB / 0.4916 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.4754, allocations: 39.73 kB / 0.4916 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.4754, allocations: 8 kB / 0.4917 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.4757, allocations: 12 kB / 0.4917 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.4758, allocations: 35.88 kB / 0.4917 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.4758, allocations: 16 kB / 0.4917 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.476, allocations: 189.1 kB / 0.4919 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.476, allocations: 0 / 0.4919 GB, free: 14.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008589/0.4769, allocations: 231.7 kB / 0.4921 GB, free: 14.14 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.0006884/0.4776, allocations: 278.6 kB / 0.4924 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.479, allocations: 0.6796 MB / 0.493 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.479, allocations: 0 / 0.493 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.48, allocations: 436.1 kB / 0.4935 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4811, allocations: 200.9 kB / 0.4937 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4833, allocations: 1.281 MB / 0.4949 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.4836, allocations: 237.3 kB / 0.4951 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4837, allocations: 39.44 kB / 0.4952 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4837, allocations: 0 / 0.4952 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.01885/0.5025, allocations: 12.94 MB / 0.5078 GB, free: 14.02 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.888313400995685]