Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 100.6 kB / 17.93 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 193.8 kB / 18.86 MB, free: 4.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 224.7 MB, free: 12.35 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001211, allocations: 51.94 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1009, allocations: 46.63 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0356/0.1366, allocations: 37.31 MB / 364.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005247/0.1419, allocations: 4.557 MB / 369.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.1422, allocations: 7.938 kB / 369.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008274/0.1431, allocations: 258.7 kB / 369.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008354/0.144, allocations: 453.7 kB / 370 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.1485, allocations: 1.46 MB / 371.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.15, allocations: 1.269 MB / 372.7 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.1503, allocations: 174.4 kB / 372.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006158/0.1509, allocations: 478.4 kB / 373.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.1514, allocations: 426.3 kB / 373.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.77e-05/0.1514, allocations: 44 kB / 373.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.153, allocations: 0.7726 MB / 374.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1531, allocations: 131.6 kB / 374.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.1534, allocations: 282.9 kB / 375 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.1542, allocations: 0.7678 MB / 375.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1542, allocations: 0 / 375.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1542, allocations: 0 / 375.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1542, allocations: 0 / 375.8 MB, free: 4.273 MB / 318.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.001022/0.1553, allocations: 0.7798 MB / 376.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1553, allocations: 12.03 kB / 376.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.1559, allocations: 80.33 kB / 376.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.1563, allocations: 339.3 kB / 377 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1563, allocations: 29.38 kB / 377 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.1564, allocations: 40.38 kB / 377 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.157, allocations: 471.6 kB / 377.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.157, allocations: 4 kB / 377.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.1571, allocations: 20 kB / 377.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1571, allocations: 12 kB / 377.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.1576, allocations: 307.6 kB / 377.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1713/0.3289, allocations: 6.721 MB / 384.6 MB, free: 55.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.3294, allocations: 273 kB / 384.8 MB, free: 55.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.3297, allocations: 154.2 kB / 385 MB, free: 55.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.3401, allocations: 3.89 MB / 388.9 MB, free: 53.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3401, allocations: 37.78 kB / 388.9 MB, free: 53.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.3402, allocations: 0 / 388.9 MB, free: 53.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01164/0.3518, allocations: 2.455 MB / 391.4 MB, free: 52.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.3519, allocations: 57 kB / 391.4 MB, free: 52.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.3522, allocations: 299.9 kB / 391.7 MB, free: 51.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3522, allocations: 35.05 kB / 391.7 MB, free: 51.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3523, allocations: 223.2 kB / 392 MB, free: 51.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.3524, allocations: 172.4 kB / 392.1 MB, free: 51.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3526, allocations: 97 kB / 392.2 MB, free: 51.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.3527, allocations: 354.7 kB / 392.6 MB, free: 51.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3529, allocations: 151.6 kB / 392.7 MB, free: 50.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.3532, allocations: 275.3 kB / 393 MB, free: 50.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.3538, allocations: 473.6 kB / 393.4 MB, free: 50.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3538, allocations: 3.875 kB / 393.4 MB, free: 50.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009644/0.3547, allocations: 0.5851 MB / 394 MB, free: 50.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3548, allocations: 6.938 kB / 394 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3548, allocations: 7.359 kB / 394 MB, free: 50.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007994/0.3628, allocations: 1.851 MB / 395.9 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.3633, allocations: 108.1 kB / 396 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.3649, allocations: 2.576 MB / 398.6 MB, free: 46.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.3654, allocations: 31.98 kB / 398.6 MB, free: 46.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.3654, allocations: 19.88 kB / 398.6 MB, free: 46.67 MB / 318.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.0002345/0.3657, allocations: 177.5 kB / 398.8 MB, free: 46.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.3657, allocations: 43.33 kB / 398.8 MB, free: 46.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3668, allocations: 0.8571 MB / 399.7 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3668, allocations: 11.95 kB / 399.7 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.3668, allocations: 0 / 399.7 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000797/0.3676, allocations: 0.9552 MB / 400.7 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.3693, allocations: 1.489 MB / 402.2 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3693, allocations: 0 / 402.2 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.3696, allocations: 71.91 kB / 402.2 MB, free: 44.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/0.3728, allocations: 0.6261 MB / 402.9 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.3729, allocations: 12 kB / 402.9 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007713/0.3737, allocations: 1.292 MB / 404.2 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3737, allocations: 0 / 404.2 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3749, allocations: 1.212 MB / 405.4 MB, free: 40.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.375, allocations: 120.5 kB / 405.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.3751, allocations: 12 kB / 405.5 MB, free: 40.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.3754, allocations: 28 kB / 405.5 MB, free: 40.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.3754, allocations: 29.58 kB / 405.6 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.3755, allocations: 19.98 kB / 405.6 MB, free: 40.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3756, allocations: 213.9 kB / 405.8 MB, free: 40.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3756, allocations: 0 / 405.8 MB, free: 40.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007051/0.3763, allocations: 237.3 kB / 406 MB, free: 40.19 MB / 318.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.0005209/0.3769, allocations: 275.2 kB / 406.3 MB, free: 39.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.3781, allocations: 0.7162 MB / 407 MB, free: 39.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3781, allocations: 0 / 407 MB, free: 39.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007526/0.3788, allocations: 439.7 kB / 407.4 MB, free: 38.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.38, allocations: 240.2 kB / 407.7 MB, free: 38.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3815, allocations: 1.476 MB / 409.1 MB, free: 37.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3817, allocations: 0.8324 MB / 410 MB, free: 36.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.3818, allocations: 43.44 kB / 410 MB, free: 36.18 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3818, allocations: 0 / 410 MB, free: 36.18 MB / 318.1 MB Notification: Performance of Templates: time 0.01156/0.3934, allocations: 12.92 MB / 422.9 MB, free: 23.25 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches