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.001752/0.001752, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002221/0.002221, allocations: 206.8 kB / 23.73 MB, free: 4.379 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001667/0.001667, allocations: 51.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2466, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02967/0.2762, allocations: 24.56 MB / 456.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005111/0.2813, allocations: 3.77 MB / 459.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2815, allocations: 7.938 kB / 459.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.2821, allocations: 186.8 kB / 460.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006241/0.2827, allocations: 346.1 kB / 460.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.2863, allocations: 1.471 MB / 461.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009841/0.2873, allocations: 0.899 MB / 462.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.2875, allocations: 76.83 kB / 462.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006118/0.2936, allocations: 4.135 MB / 467 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.294, allocations: 290.9 kB / 467.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.2941, allocations: 32 kB / 467.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.2953, allocations: 0.7298 MB / 468.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2954, allocations: 95.66 kB / 468.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2956, allocations: 171.4 kB / 468.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2967, allocations: 0.8531 MB / 469.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2967, allocations: 4 kB / 469.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2967, allocations: 0 / 469.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2967, allocations: 0 / 469.2 MB, free: 1.016 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.0009181/0.2977, allocations: 0.5867 MB / 469.8 MB, free: 408 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2977, allocations: 8.031 kB / 469.8 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.2981, allocations: 60.67 kB / 469.8 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.2986, allocations: 226 kB / 470.1 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2986, allocations: 21.03 kB / 470.1 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2987, allocations: 28.38 kB / 470.1 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.2993, allocations: 497.9 kB / 470.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2993, allocations: 3.938 kB / 470.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.2993, allocations: 12 kB / 470.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2994, allocations: 8 kB / 470.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.2997, allocations: 213.7 kB / 470.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.3118, allocations: 4.083 MB / 474.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.3122, allocations: 173.4 kB / 475.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3123, allocations: 84.92 kB / 475.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.3225, allocations: 2.691 MB / 477.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3225, allocations: 30.56 kB / 477.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.3225, allocations: 0 / 477.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006184/0.3287, allocations: 1.266 MB / 479.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3287, allocations: 51.41 kB / 479.2 MB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.329, allocations: 236 kB / 479.4 MB, free: 6.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.329, allocations: 33.69 kB / 479.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3292, allocations: 196.3 kB / 479.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.3293, allocations: 99.17 kB / 479.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3294, allocations: 65.7 kB / 479.8 MB, free: 6.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3295, allocations: 334.8 kB / 480.1 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3297, allocations: 95.95 kB / 480.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.3299, allocations: 182.8 kB / 480.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.3304, allocations: 311 kB / 480.7 MB, free: 5.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3304, allocations: 0 / 480.7 MB, free: 5.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007113/0.3311, allocations: 391.1 kB / 481.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3311, allocations: 8 kB / 481.1 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3311, allocations: 4 kB / 481.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.3351, allocations: 0.938 MB / 482 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.3354, allocations: 67.91 kB / 482.1 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.3371, allocations: 1.848 MB / 484 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3373, allocations: 8 kB / 484 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3373, allocations: 16 kB / 484 MB, free: 1.695 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.0001748/0.3375, allocations: 153.7 kB / 484.1 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.3375, allocations: 31.8 kB / 484.2 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.3383, allocations: 499 kB / 484.7 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.3383, allocations: 8 kB / 484.7 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3383, allocations: 4 kB / 484.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007562/0.3391, allocations: 0.7276 MB / 485.4 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.3404, allocations: 0.8481 MB / 486.2 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3404, allocations: 0 / 486.2 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.3406, allocations: 47.92 kB / 486.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.3422, allocations: 316.5 kB / 486.6 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.3422, allocations: 8 kB / 486.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005626/0.3428, allocations: 0.6499 MB / 487.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3428, allocations: 0 / 487.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009858/0.3438, allocations: 0.733 MB / 488 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.3438, allocations: 31.77 kB / 488 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.3439, allocations: 11.94 kB / 488 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3441, allocations: 4 kB / 488 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3441, allocations: 15.97 kB / 488.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3441, allocations: 15.98 kB / 488.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.3443, allocations: 161.6 kB / 488.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3443, allocations: 8.062 kB / 488.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006094/0.3449, allocations: 183.7 kB / 488.4 MB, free: 13.05 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.0005587/0.3454, allocations: 278.7 kB / 488.7 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.3462, allocations: 447.8 kB / 489.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3462, allocations: 0 / 489.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.3467, allocations: 223.8 kB / 489.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.3475, allocations: 136.2 kB / 489.5 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3489, allocations: 0.8052 MB / 490.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.349, allocations: 168.2 kB / 490.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.3492, allocations: 46.95 kB / 490.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.3493, allocations: 31.36 kB / 490.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3493, allocations: 0 / 490.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of Templates: time 0.0169/0.3662, allocations: 9.954 MB / 0.4887 GB, free: 1.047 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.638439821079373]