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.001698/0.001698, allocations: 70.19 kB / 21.24 MB, free: 0.5391 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.001919/0.001919, allocations: 158 kB / 24.5 MB, free: 3.711 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.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.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.001596/0.001596, allocations: 55.02 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08991, allocations: 53.33 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03827/0.1282, allocations: 34 MB / 412.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005958/0.1341, allocations: 4.175 MB / 417.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.1346, allocations: 7.938 kB / 417.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.1355, allocations: 278.2 kB / 417.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1365, allocations: 493.3 kB / 417.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.141, allocations: 1.637 MB / 419.5 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.1428, allocations: 1.288 MB / 420.8 MB, free: 5.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.143, allocations: 118.9 kB / 420.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006953/0.1437, allocations: 0.4906 MB / 421.4 MB, free: 5.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.1443, allocations: 398.3 kB / 421.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.1444, allocations: 48 kB / 421.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1459, allocations: 0.7298 MB / 422.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.146, allocations: 139.5 kB / 422.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.1463, allocations: 235.2 kB / 422.9 MB, free: 3.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.1477, allocations: 1.059 MB / 424 MB, free: 2.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1477, allocations: 4 kB / 424 MB, free: 2.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1477, allocations: 0 / 424 MB, free: 2.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1477, allocations: 0 / 424 MB, free: 2.438 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.00114/0.1489, allocations: 0.7113 MB / 424.7 MB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1489, allocations: 8.031 kB / 424.7 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005998/0.1495, allocations: 84.62 kB / 424.8 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.15, allocations: 277.7 kB / 425 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1501, allocations: 33.38 kB / 425.1 MB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.1501, allocations: 40.36 kB / 425.1 MB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008479/0.151, allocations: 0.6731 MB / 425.8 MB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.151, allocations: 0 / 425.8 MB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.1511, allocations: 24 kB / 425.8 MB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1511, allocations: 8 kB / 425.8 MB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.1516, allocations: 299.7 kB / 426.1 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.1647, allocations: 4.573 MB / 430.7 MB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.1651, allocations: 255.2 kB / 430.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.1654, allocations: 136.8 kB / 431.1 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.1759, allocations: 2.684 MB / 433.7 MB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.1759, allocations: 42.55 kB / 433.8 MB, free: 8.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.1759, allocations: 0 / 433.8 MB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01221/0.1882, allocations: 2.316 MB / 436.1 MB, free: 6.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1882, allocations: 59.34 kB / 436.2 MB, free: 5.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.1885, allocations: 281.7 kB / 436.4 MB, free: 5.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.1886, allocations: 33.7 kB / 436.5 MB, free: 5.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1887, allocations: 224.5 kB / 436.7 MB, free: 5.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.1889, allocations: 174.5 kB / 436.9 MB, free: 5.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.189, allocations: 94.34 kB / 437 MB, free: 5.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1892, allocations: 342.8 kB / 437.3 MB, free: 4.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.1895, allocations: 153.2 kB / 437.4 MB, free: 4.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.1899, allocations: 284.7 kB / 437.7 MB, free: 4.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.1906, allocations: 469.3 kB / 438.2 MB, free: 3.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1906, allocations: 4 kB / 438.2 MB, free: 3.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001127/0.1917, allocations: 0.5894 MB / 438.8 MB, free: 3.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1917, allocations: 8 kB / 438.8 MB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1918, allocations: 7.938 kB / 438.8 MB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008105/0.1999, allocations: 1.843 MB / 440.6 MB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.2003, allocations: 111.8 kB / 440.7 MB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.2025, allocations: 2.435 MB / 443.2 MB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.2028, allocations: 16 kB / 443.2 MB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.2028, allocations: 20 kB / 443.2 MB, free: 14.59 MB / 414.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.0002379/0.2031, allocations: 181.6 kB / 443.4 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.2032, allocations: 43.7 kB / 443.4 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.2044, allocations: 0.8612 MB / 444.3 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.2045, allocations: 19.94 kB / 444.3 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2045, allocations: 3.984 kB / 444.3 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/0.2056, allocations: 0.971 MB / 445.3 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.2076, allocations: 1.363 MB / 446.6 MB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2076, allocations: 0 / 446.6 MB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.2079, allocations: 75.89 kB / 446.7 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/0.2114, allocations: 0.618 MB / 447.3 MB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.2115, allocations: 15.98 kB / 447.3 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2126, allocations: 1.296 MB / 448.6 MB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2126, allocations: 0 / 448.6 MB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.2143, allocations: 1.259 MB / 449.9 MB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.2144, allocations: 35.7 kB / 449.9 MB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.2144, allocations: 12 kB / 450 MB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.2146, allocations: 8.312 kB / 450 MB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.2147, allocations: 27.95 kB / 450 MB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.2147, allocations: 23.92 kB / 450 MB, free: 7.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.2149, allocations: 193.1 kB / 450.2 MB, free: 7.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2149, allocations: 0 / 450.2 MB, free: 7.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000746/0.2157, allocations: 231.7 kB / 450.4 MB, free: 7.141 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.0005578/0.2162, allocations: 289.9 kB / 450.7 MB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.2175, allocations: 0.6917 MB / 451.4 MB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2175, allocations: 0 / 451.4 MB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.2184, allocations: 428.2 kB / 451.8 MB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.2195, allocations: 191.4 kB / 452 MB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.2215, allocations: 1.234 MB / 453.2 MB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2217, allocations: 237.3 kB / 453.5 MB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000244/0.2219, allocations: 67.36 kB / 453.5 MB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.222, allocations: 32.5 kB / 453.6 MB, free: 3.926 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.222, allocations: 0 / 453.6 MB, free: 3.926 MB / 414.1 MB Notification: Performance of Templates: time 0.02059/0.2426, allocations: 11.97 MB / 465.5 MB, free: 8.109 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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: 6.1595527599565685]