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.001809/0.001809, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002203/0.002203, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001595/0.001595, allocations: 47.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1007, allocations: 53.34 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2072/0.308, allocations: 27.23 MB / 454 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.3135, allocations: 4.179 MB / 458.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.3137, allocations: 7.5 kB / 458.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.3144, allocations: 215.2 kB / 458.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007613/0.3152, allocations: 346.7 kB / 458.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004771/0.3199, allocations: 1.467 MB / 460.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.3213, allocations: 0.8892 MB / 461.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3215, allocations: 79.91 kB / 461.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/0.328, allocations: 4.072 MB / 465.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.3284, allocations: 294.9 kB / 465.6 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.3284, allocations: 30.62 kB / 465.6 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.3301, allocations: 0.7255 MB / 466.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3303, allocations: 100.9 kB / 466.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.3305, allocations: 195.4 kB / 466.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.3318, allocations: 0.8512 MB / 467.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3318, allocations: 0 / 467.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3318, allocations: 0 / 467.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3318, allocations: 0 / 467.5 MB, free: 3.145 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.001051/0.3329, allocations: 0.6628 MB / 468.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3329, allocations: 8.969 kB / 468.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.3334, allocations: 57.45 kB / 468.2 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.3338, allocations: 294.9 kB / 468.5 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3338, allocations: 20.88 kB / 468.5 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.3339, allocations: 29.31 kB / 468.5 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.3345, allocations: 342.1 kB / 468.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3345, allocations: 5.188 kB / 468.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.3345, allocations: 20.45 kB / 468.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3345, allocations: 7.25 kB / 468.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.3349, allocations: 211.8 kB / 469.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.3491, allocations: 5.917 MB / 475 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.3494, allocations: 169.2 kB / 475.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3496, allocations: 84.67 kB / 475.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.3614, allocations: 3.883 MB / 479.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.3615, allocations: 36.58 kB / 479.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.3615, allocations: 0 / 479.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006906/0.3684, allocations: 1.41 MB / 480.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3684, allocations: 59.53 kB / 480.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.3688, allocations: 265.8 kB / 480.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.3688, allocations: 31.05 kB / 480.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3689, allocations: 187.4 kB / 481.1 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.342e-05/0.369, allocations: 103.6 kB / 481.2 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3691, allocations: 67.12 kB / 481.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3693, allocations: 332.3 kB / 481.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.3695, allocations: 96.02 kB / 481.7 MB, free: 8.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.3697, allocations: 193.5 kB / 481.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.3702, allocations: 303.6 kB / 482.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3702, allocations: 0 / 482.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007955/0.371, allocations: 400.6 kB / 482.6 MB, free: 7.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.371, allocations: 4.625 kB / 482.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.371, allocations: 4 kB / 482.6 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/0.3755, allocations: 0.9343 MB / 483.5 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.3758, allocations: 75.59 kB / 483.6 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.3777, allocations: 1.975 MB / 485.6 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3779, allocations: 12.16 kB / 485.6 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.3779, allocations: 16 kB / 485.6 MB, free: 4.512 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.0001926/0.3781, allocations: 149.7 kB / 485.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.3782, allocations: 33.39 kB / 485.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008048/0.379, allocations: 486.2 kB / 486.3 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.379, allocations: 4 kB / 486.3 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.379, allocations: 4 kB / 486.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007415/0.3798, allocations: 0.7166 MB / 487 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3812, allocations: 0.9425 MB / 487.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3812, allocations: 0 / 487.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.3814, allocations: 51.84 kB / 488 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.3838, allocations: 320.3 kB / 488.3 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.3838, allocations: 8 kB / 488.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009102/0.3847, allocations: 0.6382 MB / 488.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3847, allocations: 0 / 488.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3864, allocations: 0.7286 MB / 489.7 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3865, allocations: 104.9 kB / 489.8 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.3866, allocations: 8 kB / 489.8 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.3869, allocations: 7.984 kB / 489.8 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.3869, allocations: 15.92 kB / 489.8 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.387, allocations: 19.3 kB / 489.8 MB, free: 60 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.3873, allocations: 186.1 kB / 490 MB, free: 15.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3873, allocations: 0 / 490 MB, free: 15.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001145/0.3884, allocations: 191.7 kB / 490.2 MB, free: 15.69 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.001001/0.3894, allocations: 274.8 kB / 490.5 MB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3907, allocations: 450.8 kB / 490.9 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3907, allocations: 0 / 490.9 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007666/0.3915, allocations: 220.3 kB / 491.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.393, allocations: 174.5 kB / 491.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.3951, allocations: 0.8001 MB / 492.1 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.3959, allocations: 0.7798 MB / 492.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.3962, allocations: 49.39 kB / 492.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.3963, allocations: 31.42 kB / 492.9 MB, free: 12.88 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3963, allocations: 0 / 492.9 MB, free: 12.88 MB / 398.1 MB Notification: Performance of Templates: time 0.02657/0.4229, allocations: 10.06 MB / 0.4912 GB, free: 2.883 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/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_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.719666976481676]