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.001127/0.001127, allocations: 109.2 kB / 17.93 MB, free: 5.539 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.001097/0.001097, allocations: 197.3 kB / 18.86 MB, free: 4.617 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.531/1.531, allocations: 205.1 MB / 224.7 MB, free: 12.36 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.001313/0.001313, allocations: 47.92 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 46.63 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4677/0.5806, allocations: 210.9 MB / 0.5257 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.293/0.8736, allocations: 13.26 MB / 0.5387 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.8751, allocations: 32.22 kB / 0.5387 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.8764, allocations: 415.7 kB / 0.5391 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.8894, allocations: 3.323 MB / 0.5423 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.8995, allocations: 2.623 MB / 0.5449 GB, free: 464 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004483/0.904, allocations: 2.637 MB / 0.5475 GB, free: 456 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.9054, allocations: 0.7694 MB / 0.5482 GB, free: 396 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008338/0.9138, allocations: 3.004 MB / 0.5511 GB, free: 332 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.9165, allocations: 1.133 MB / 0.5523 GB, free: 332 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003118/0.9168, allocations: 120.6 kB / 0.5524 GB, free: 332 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.9311, allocations: 6.715 MB / 0.5589 GB, free: 276 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.9324, allocations: 0.5397 MB / 0.5595 GB, free: 276 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.9338, allocations: 0.6408 MB / 0.5601 GB, free: 276 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.9451, allocations: 3.456 MB / 0.5635 GB, free: 32 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.9452, allocations: 0.9062 kB / 0.5635 GB, free: 32 kB / 430.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.9452, allocations: 0 / 0.5635 GB, free: 32 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.483e-05/0.9453, allocations: 0.8438 kB / 0.5635 GB, free: 32 kB / 430.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.007717/0.953, allocations: 2.139 MB / 0.5655 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.9531, allocations: 15.73 kB / 0.5656 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005128/0.9536, allocations: 130.8 kB / 0.5657 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.9548, allocations: 0.6844 MB / 0.5664 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.9549, allocations: 131.8 kB / 0.5665 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.9551, allocations: 96.73 kB / 0.5666 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.9575, allocations: 1.469 MB / 0.568 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.9575, allocations: 0 / 0.568 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.9577, allocations: 39.23 kB / 0.568 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.9578, allocations: 70.34 kB / 0.5681 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.9602, allocations: 1.471 MB / 0.5695 GB, free: 14.3 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.008472/0.9687, allocations: 6.346 MB / 0.5757 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.9705, allocations: 0.9765 MB / 0.5767 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.9713, allocations: 0.5213 MB / 0.5772 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/0.973, allocations: 2.062 MB / 0.5792 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.9731, allocations: 50.89 kB / 0.5793 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004883/0.9736, allocations: 99.78 kB / 0.5794 GB, free: 8.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.916e-06/0.9736, allocations: 0.9375 kB / 0.5794 GB, free: 8.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01587/0.9895, allocations: 4.806 MB / 0.5841 GB, free: 7.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.9896, allocations: 111.9 kB / 0.5842 GB, free: 6.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/0.9906, allocations: 0.7768 MB / 0.5849 GB, free: 6.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.9907, allocations: 48.89 kB / 0.585 GB, free: 6.391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.991, allocations: 450.7 kB / 0.5854 GB, free: 6.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.9913, allocations: 342.5 kB / 0.5857 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.9917, allocations: 249.7 kB / 0.586 GB, free: 5.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.9919, allocations: 413.1 kB / 0.5864 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.9931, allocations: 0.6163 MB / 0.587 GB, free: 4.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.9945, allocations: 0.9615 MB / 0.5879 GB, free: 3.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.9971, allocations: 1.659 MB / 0.5895 GB, free: 2.738 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.9971, allocations: 4.812 kB / 0.5895 GB, free: 2.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003612/1.001, allocations: 1.933 MB / 0.5914 GB, free: 1.387 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.386e-05/1.001, allocations: 74.83 kB / 0.5915 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.001, allocations: 11.84 kB / 0.5915 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.002, allocations: 312.7 kB / 0.5918 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.003, allocations: 275.7 kB / 0.5921 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/1.005, allocations: 0.9111 MB / 0.5929 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.006, allocations: 105 kB / 0.593 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/1.006, allocations: 71.48 kB / 0.5931 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001556/1.008, allocations: 0.8542 MB / 0.5939 GB, free: 15.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00135/1.009, allocations: 0.9454 MB / 0.5949 GB, free: 13.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002473/1.012, allocations: 1.64 MB / 0.5965 GB, free: 12.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.493e-06/1.012, allocations: 4 kB / 0.5965 GB, free: 12.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003596/1.015, allocations: 1.905 MB / 0.5983 GB, free: 10.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/1.015, allocations: 71.44 kB / 0.5984 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.015, allocations: 12.55 kB / 0.5984 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/1.017, allocations: 308.5 kB / 0.5987 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.018, allocations: 274.8 kB / 0.599 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/1.019, allocations: 0.903 MB / 0.5999 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.021, allocations: 107.8 kB / 0.6 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.021, allocations: 83.33 kB / 0.6 GB, free: 8.613 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.0005023/1.021, allocations: 260.7 kB / 0.6003 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/1.021, allocations: 98.88 kB / 0.6004 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/1.025, allocations: 1.91 MB / 0.6022 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.025, allocations: 20 kB / 0.6023 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.025, allocations: 2.5 kB / 0.6023 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.025, allocations: 7.969 kB / 0.6023 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005492/1.031, allocations: 3.033 MB / 0.6052 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.031, allocations: 4.188 kB / 0.6052 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/1.032, allocations: 183.6 kB / 0.6054 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/1.034, allocations: 376.3 kB / 0.6058 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.034, allocations: 39.97 kB / 0.6058 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/1.035, allocations: 0.8812 MB / 0.6067 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.035, allocations: 4.062 kB / 0.6067 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004593/1.04, allocations: 2.411 MB / 0.609 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/1.04, allocations: 335.7 kB / 0.6094 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/1.041, allocations: 24 kB / 0.6094 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/1.042, allocations: 90.58 kB / 0.6095 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.042, allocations: 68.91 kB / 0.6095 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.042, allocations: 61.16 kB / 0.6096 GB, free: 14.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007294/1.043, allocations: 0.5693 MB / 0.6101 GB, free: 14.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.043, allocations: 4 kB / 0.6101 GB, free: 14.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003795/1.047, allocations: 1.167 MB / 0.6113 GB, free: 13 MB / 478.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.00349/1.05, allocations: 1.149 MB / 0.6124 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006023/1.056, allocations: 2.947 MB / 0.6153 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.056, allocations: 8.562 kB / 0.6153 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/1.058, allocations: 0.7437 MB / 0.616 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.06, allocations: 0.5552 MB / 0.6166 GB, free: 7.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/1.066, allocations: 2.964 MB / 0.6195 GB, free: 4.777 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/1.067, allocations: 1.123 MB / 0.6206 GB, free: 3.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/1.067, allocations: 144.3 kB / 0.6207 GB, free: 3.484 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/1.067, allocations: 0 / 0.6207 GB, free: 3.484 MB / 478.1 MB Notification: Performance of Templates: time 0.05028/1.118, allocations: 33.22 MB / 0.6531 GB, free: 2.254 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/jenkins1/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