Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009681, allocations: 105.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008889/0.0008889, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1946, allocations: 50.46 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02707/0.2218, allocations: 37.72 MB / 444.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.227, allocations: 4.615 MB / 449.4 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.2273, allocations: 7.938 kB / 449.4 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.228, allocations: 262.7 kB / 449.6 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007501/0.2288, allocations: 473.6 kB / 450.1 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.2326, allocations: 1.394 MB / 451.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.2343, allocations: 1.963 MB / 453.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.2346, allocations: 126.7 kB / 453.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.235, allocations: 406.5 kB / 454 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.2355, allocations: 426.3 kB / 454.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.2356, allocations: 28 kB / 454.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.237, allocations: 0.7258 MB / 455.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2371, allocations: 111.6 kB / 455.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.2374, allocations: 266.8 kB / 455.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2385, allocations: 1.013 MB / 456.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2386, allocations: 0 / 456.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2386, allocations: 4 kB / 456.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2386, allocations: 0 / 456.5 MB, free: 10.18 MB / 330.7 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.001046/0.2396, allocations: 0.7798 MB / 457.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2397, allocations: 8.875 kB / 457.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005371/0.2402, allocations: 76.34 kB / 457.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.2406, allocations: 347.3 kB / 457.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.2407, allocations: 33.36 kB / 457.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.2407, allocations: 36.38 kB / 457.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.2414, allocations: 471.7 kB / 458.3 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2414, allocations: 4 kB / 458.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.2415, allocations: 20 kB / 458.3 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2415, allocations: 8 kB / 458.3 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.242, allocations: 307.7 kB / 458.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.2553, allocations: 6.723 MB / 465.3 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.2558, allocations: 279.9 kB / 465.6 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.256, allocations: 148.8 kB / 465.7 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.2665, allocations: 3.885 MB / 469.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.2666, allocations: 42.55 kB / 469.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.617e-06/0.2666, allocations: 0 / 469.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.01132/0.2779, allocations: 2.472 MB / 472.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.278, allocations: 59.34 kB / 472.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.2783, allocations: 303.2 kB / 472.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.2783, allocations: 41.7 kB / 472.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2785, allocations: 220 kB / 472.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.667e-05/0.2786, allocations: 157.7 kB / 472.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2787, allocations: 98.16 kB / 473 MB, free: 8.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2788, allocations: 346.8 kB / 473.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.2791, allocations: 153.1 kB / 473.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.2794, allocations: 279.7 kB / 473.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.28, allocations: 472.2 kB / 474.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.28, allocations: 0 / 474.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00098/0.281, allocations: 0.5916 MB / 474.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.281, allocations: 14.44 kB / 474.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2811, allocations: 4 kB / 474.8 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007766/0.2888, allocations: 1.842 MB / 476.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.2892, allocations: 115.8 kB / 476.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.291, allocations: 2.463 MB / 479.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2913, allocations: 32.16 kB / 479.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.2914, allocations: 23.98 kB / 479.3 MB, free: 1.953 MB / 346.7 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.0001883/0.2916, allocations: 189.6 kB / 479.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.2917, allocations: 43.47 kB / 479.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2928, allocations: 0.8514 MB / 480.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2928, allocations: 15.98 kB / 480.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2928, allocations: 0 / 480.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000967/0.2938, allocations: 0.9536 MB / 481.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.2956, allocations: 1.492 MB / 482.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2956, allocations: 0 / 482.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.2959, allocations: 75.89 kB / 482.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.2993, allocations: 0.6179 MB / 483.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.2993, allocations: 12 kB / 483.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008756/0.3002, allocations: 1.288 MB / 484.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3002, allocations: 0 / 484.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04064/0.3409, allocations: 18.84 MB / 0.4919 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.341, allocations: 116.6 kB / 0.492 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.3411, allocations: 15.94 kB / 0.492 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.3414, allocations: 35.89 kB / 0.492 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.3414, allocations: 27.97 kB / 0.4921 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.3415, allocations: 11.98 kB / 0.4921 GB, free: 8.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.3417, allocations: 217.9 kB / 0.4923 GB, free: 8.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3417, allocations: 4 kB / 0.4923 GB, free: 8.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001495/0.3432, allocations: 0.5389 MB / 0.4928 GB, free: 7.828 MB / 378.7 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.001483/0.3447, allocations: 0.5012 MB / 0.4933 GB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3459, allocations: 0.6948 MB / 0.494 GB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3459, allocations: 0 / 0.494 GB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.3468, allocations: 428.2 kB / 0.4944 GB, free: 6.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.3481, allocations: 233.2 kB / 0.4946 GB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.3513, allocations: 2.353 MB / 0.4969 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.3517, allocations: 0.8834 MB / 0.4978 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003543/0.352, allocations: 76.34 kB / 0.4978 GB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3522, allocations: 43.42 kB / 0.4979 GB, free: 2.527 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3522, allocations: 0 / 0.4979 GB, free: 2.527 MB / 378.7 MB Notification: Performance of Templates: time 0.181/0.5332, allocations: 27.7 MB / 0.5249 GB, free: 80.21 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches