Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003196/0.003204, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.132/3.132, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006206/0.0006212, allocations: 16 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1551, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.3848/0.5399, allocations: 16.37 MB / 390.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008465/0.5485, allocations: 4.763 MB / 395.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/0.549, allocations: 7.5 kB / 395.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.5499, allocations: 171.7 kB / 395.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009389/0.5509, allocations: 233.2 kB / 396.1 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.5571, allocations: 1.194 MB / 397.3 MB, free: 9.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.5585, allocations: 0.4937 MB / 397.8 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.5588, allocations: 73.08 kB / 397.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01867/0.5775, allocations: 7.228 MB / 405.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.5779, allocations: 167.4 kB / 405.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.578, allocations: 15.25 kB / 405.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.5807, allocations: 0.729 MB / 406 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.581, allocations: 69.42 kB / 406 MB, free: 8.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.5813, allocations: 102.2 kB / 406.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.5831, allocations: 0.5995 MB / 406.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5831, allocations: 0 / 406.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5831, allocations: 0 / 406.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.5831, allocations: 0 / 406.7 MB, free: 8.777 MB / 282.7 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.001351/0.5845, allocations: 0.5887 MB / 407.3 MB, free: 8.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5846, allocations: 14.34 kB / 407.3 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006289/0.5852, allocations: 50.95 kB / 407.4 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.5857, allocations: 279.4 kB / 407.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.5857, allocations: 21.36 kB / 407.7 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.5858, allocations: 34.03 kB / 407.7 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.5865, allocations: 332.3 kB / 408 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.5866, allocations: 0.8438 kB / 408 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.5866, allocations: 14.62 kB / 408.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5867, allocations: 4.844 kB / 408.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.5872, allocations: 208.2 kB / 408.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.6085, allocations: 5.913 MB / 414.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.609, allocations: 179 kB / 414.4 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01798/0.627, allocations: 3.869 MB / 418.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.6271, allocations: 46.69 kB / 418.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.745e-06/0.6271, allocations: 0 / 418.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.01022/0.6373, allocations: 1.412 MB / 419.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.6374, allocations: 55.41 kB / 419.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.6379, allocations: 254.5 kB / 420 MB, free: 14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.638, allocations: 33.7 kB / 420 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.6382, allocations: 250.4 kB / 420.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.6383, allocations: 89.94 kB / 420.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.6383, allocations: 12 kB / 420.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6385, allocations: 330.8 kB / 420.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.6388, allocations: 87.97 kB / 420.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.6392, allocations: 190.6 kB / 421 MB, free: 12.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.6396, allocations: 120.4 kB / 421.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6396, allocations: 0 / 421.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001183/0.6408, allocations: 386.7 kB / 421.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6408, allocations: 7.938 kB / 421.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6408, allocations: 4 kB / 421.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006071/0.6469, allocations: 401.4 kB / 421.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.6476, allocations: 75.84 kB / 421.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.6499, allocations: 1.893 MB / 423.8 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.6504, allocations: 16 kB / 423.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.6504, allocations: 20.06 kB / 423.9 MB, free: 9.898 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002851/0.6507, allocations: 157.6 kB / 424 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.6508, allocations: 31.62 kB / 424 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.6521, allocations: 487.4 kB / 424.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.6522, allocations: 12 kB / 424.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6522, allocations: 0 / 424.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.6532, allocations: 0.7195 MB / 425.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.6554, allocations: 0.9453 MB / 426.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.6555, allocations: 0 / 426.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.6559, allocations: 44.83 kB / 426.2 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/0.659, allocations: 332.3 kB / 426.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.6591, allocations: 8 kB / 426.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007832/0.6599, allocations: 0.6383 MB / 427.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.66, allocations: 0 / 427.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.6616, allocations: 0.7413 MB / 427.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.6618, allocations: 104.8 kB / 428.1 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.6619, allocations: 12.12 kB / 428.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.6623, allocations: 27.84 kB / 428.1 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.6623, allocations: 11.98 kB / 428.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.6624, allocations: 15.98 kB / 428.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003157/0.6627, allocations: 178 kB / 428.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6627, allocations: 0 / 428.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001244/0.664, allocations: 187.9 kB / 428.5 MB, free: 5.027 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/0.6651, allocations: 280.4 kB / 428.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.6664, allocations: 440.3 kB / 429.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6664, allocations: 4 kB / 429.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008531/0.6673, allocations: 227.7 kB / 429.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.669, allocations: 163.2 kB / 429.6 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.6712, allocations: 0.9815 MB / 430.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.6718, allocations: 0.7841 MB / 431.3 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.6719, allocations: 27.44 kB / 431.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6719, allocations: 4 kB / 431.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of Templates: time 0.02087/0.6928, allocations: 8.425 MB / 439.8 MB, free: 9.66 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches