Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007733/0.0007735, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.0009395/0.0009396, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.504/1.504, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004688/0.0004688, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4409/0.5602, allocations: 209.7 MB / 0.526 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3652/0.9254, allocations: 13.51 MB / 0.5392 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.9269, allocations: 27.31 kB / 0.5392 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.9285, allocations: 414 kB / 0.5396 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.9403, allocations: 3.165 MB / 0.5427 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007946/0.9483, allocations: 2.459 MB / 0.5451 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005864/0.9541, allocations: 3.782 MB / 0.5488 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.9556, allocations: 0.6522 MB / 0.5494 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008903/0.9645, allocations: 2.796 MB / 0.5522 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003387/0.9679, allocations: 1.09 MB / 0.5532 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.9682, allocations: 57.97 kB / 0.5533 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.9847, allocations: 6.869 MB / 0.56 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.9862, allocations: 490.8 kB / 0.5605 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.9881, allocations: 0.6049 MB / 0.5611 GB, free: 16.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02158/1.01, allocations: 4.966 MB / 0.5659 GB, free: 16.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.01, allocations: 0 / 0.5659 GB, free: 16.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.607e-06/1.01, allocations: 1.859 kB / 0.5659 GB, free: 16.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.36e-05/1.01, allocations: 2.969 kB / 0.5659 GB, free: 16.4 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006779/1.017, allocations: 1.891 MB / 0.5678 GB, free: 15.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.017, allocations: 13.97 kB / 0.5678 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/1.017, allocations: 124.7 kB / 0.5679 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.018, allocations: 0.6922 MB / 0.5686 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/1.019, allocations: 132.6 kB / 0.5687 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/1.019, allocations: 83.03 kB / 0.5688 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/1.022, allocations: 1.464 MB / 0.5702 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/1.022, allocations: 9.156 kB / 0.5702 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/1.022, allocations: 42.02 kB / 0.5703 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/1.022, allocations: 70.8 kB / 0.5703 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/1.025, allocations: 1.468 MB / 0.5718 GB, free: 13.85 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/1.036, allocations: 6.361 MB / 0.578 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.038, allocations: 0.9951 MB / 0.5789 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/1.039, allocations: 0.5218 MB / 0.5794 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/1.041, allocations: 2.062 MB / 0.5815 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/1.041, allocations: 53.08 kB / 0.5815 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008942/1.042, allocations: 102.8 kB / 0.5816 GB, free: 7.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 4.478e-06/1.042, allocations: 0 / 0.5816 GB, free: 7.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01714/1.059, allocations: 4.974 MB / 0.5865 GB, free: 5.715 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/1.059, allocations: 116.9 kB / 0.5866 GB, free: 5.586 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.06, allocations: 0.7737 MB / 0.5873 GB, free: 5.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/1.061, allocations: 48.14 kB / 0.5874 GB, free: 5.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/1.061, allocations: 449.6 kB / 0.5878 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/1.061, allocations: 345.1 kB / 0.5881 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.062, allocations: 104.9 kB / 0.5882 GB, free: 4.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/1.062, allocations: 405.7 kB / 0.5886 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/1.063, allocations: 0.6175 MB / 0.5892 GB, free: 4.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.064, allocations: 0.97 MB / 0.5902 GB, free: 3.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/1.067, allocations: 1.672 MB / 0.5918 GB, free: 3.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.067, allocations: 0 / 0.5918 GB, free: 3.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004229/1.071, allocations: 1.959 MB / 0.5937 GB, free: 2.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003868/1.072, allocations: 460.5 kB / 0.5942 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/1.072, allocations: 12 kB / 0.5942 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/1.074, allocations: 328 kB / 0.5945 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.075, allocations: 274.5 kB / 0.5947 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/1.076, allocations: 0.933 MB / 0.5957 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.078, allocations: 96.75 kB / 0.5957 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/1.078, allocations: 79.09 kB / 0.5958 GB, free: 15.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.078, allocations: 7.125 kB / 0.5958 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00366/1.082, allocations: 1.841 MB / 0.5976 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.082, allocations: 8 kB / 0.5976 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/1.083, allocations: 327.6 kB / 0.5979 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009991/1.084, allocations: 271.8 kB / 0.5982 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/1.086, allocations: 0.9296 MB / 0.5991 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.087, allocations: 111.1 kB / 0.5992 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.087, allocations: 71.78 kB / 0.5993 GB, free: 13.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000926/1.088, allocations: 434.6 kB / 0.5997 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/1.088, allocations: 98.81 kB / 0.5998 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/1.092, allocations: 1.932 MB / 0.6017 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.092, allocations: 14.91 kB / 0.6017 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.092, allocations: 4 kB / 0.6017 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.092, allocations: 3.984 kB / 0.6017 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/1.098, allocations: 3.049 MB / 0.6047 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.098, allocations: 0 / 0.6047 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008176/1.099, allocations: 188.3 kB / 0.6049 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/1.101, allocations: 396.5 kB / 0.6052 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.101, allocations: 43.84 kB / 0.6053 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/1.102, allocations: 0.8862 MB / 0.6062 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.102, allocations: 4.031 kB / 0.6062 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/1.107, allocations: 2.428 MB / 0.6085 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/1.108, allocations: 347.6 kB / 0.6089 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/1.108, allocations: 27.94 kB / 0.6089 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/1.109, allocations: 87.95 kB / 0.609 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.109, allocations: 72.89 kB / 0.609 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.109, allocations: 59.95 kB / 0.6091 GB, free: 5.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000816/1.11, allocations: 0.5693 MB / 0.6097 GB, free: 4.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 0.6097 GB, free: 4.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004241/1.114, allocations: 1.167 MB / 0.6108 GB, free: 3.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003684/1.118, allocations: 1.15 MB / 0.6119 GB, free: 2.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005543/1.124, allocations: 2.634 MB / 0.6145 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/1.124, allocations: 4.344 kB / 0.6145 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/1.125, allocations: 0.7441 MB / 0.6152 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/1.128, allocations: 0.5325 MB / 0.6157 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/1.134, allocations: 3.026 MB / 0.6187 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/1.135, allocations: 1.12 MB / 0.6198 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002396/1.137, allocations: 0.5978 MB / 0.6204 GB, free: 9.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/1.138, allocations: 131.4 kB / 0.6205 GB, free: 9.496 MB / 478.1 MB Notification: Performance of SimCode: time 2.014e-06/1.138, allocations: 5.703 kB / 0.6205 GB, free: 9.496 MB / 478.1 MB Notification: Performance of Templates: time 0.06577/1.204, allocations: 40.28 MB / 0.6598 GB, free: 1.312 MB / 0.4981 GB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches