Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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.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_trunk_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_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000893/0.0008928, allocations: 103.8 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002862, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.234, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.076/7.31, allocations: 3.546 GB / 3.946 GB, free: 78.55 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/7.31, allocations: 92.89 kB / 3.946 GB, free: 78.46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.879/9.189, allocations: 0.5293 GB / 4.475 GB, free: 48.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.102e-06/9.189, allocations: 0 / 4.475 GB, free: 48.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.67e-05/9.189, allocations: 26.47 kB / 4.475 GB, free: 48.93 MB / 474.7 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.009881/9.199, allocations: 2.991 MB / 4.478 GB, free: 47.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/9.199, allocations: 11.22 kB / 4.478 GB, free: 47.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/9.2, allocations: 129.5 kB / 4.478 GB, free: 47.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/9.202, allocations: 0.7197 MB / 4.479 GB, free: 46.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/9.202, allocations: 135.8 kB / 4.479 GB, free: 46.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003965/9.202, allocations: 87.86 kB / 4.479 GB, free: 46.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/9.205, allocations: 1.446 MB / 4.48 GB, free: 46.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/9.205, allocations: 4.844 kB / 4.48 GB, free: 46.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/9.206, allocations: 46.2 kB / 4.48 GB, free: 46.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/9.206, allocations: 65.23 kB / 4.48 GB, free: 46.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/9.208, allocations: 1.441 MB / 4.482 GB, free: 46.48 MB / 474.7 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.008036/9.216, allocations: 6.049 MB / 4.488 GB, free: 43.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/9.217, allocations: 0.9646 MB / 4.489 GB, free: 43.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/9.219, allocations: 1.81 MB / 4.49 GB, free: 41.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/9.219, allocations: 48.97 kB / 4.49 GB, free: 41.4 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005884/9.219, allocations: 110 kB / 4.491 GB, free: 41.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 4.278e-06/9.219, allocations: 3.938 kB / 4.491 GB, free: 41.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.01674/9.236, allocations: 5.123 MB / 4.496 GB, free: 40.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/9.236, allocations: 122 kB / 4.496 GB, free: 39.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/9.237, allocations: 0.6846 MB / 4.496 GB, free: 39.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/9.237, allocations: 50.83 kB / 4.496 GB, free: 39.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/9.238, allocations: 445.8 kB / 4.497 GB, free: 39.22 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/9.238, allocations: 346.4 kB / 4.497 GB, free: 38.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/9.238, allocations: 27.28 kB / 4.497 GB, free: 38.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/9.238, allocations: 402.2 kB / 4.498 GB, free: 38.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/9.239, allocations: 0.6065 MB / 4.498 GB, free: 38.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/9.241, allocations: 0.9379 MB / 4.499 GB, free: 37.76 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/9.242, allocations: 0.7803 MB / 4.5 GB, free: 37.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/9.242, allocations: 3.344 kB / 4.5 GB, free: 37.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003325/9.245, allocations: 1.896 MB / 4.502 GB, free: 36.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007917/9.246, allocations: 3.983 MB / 4.506 GB, free: 32.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/9.246, allocations: 14.47 kB / 4.506 GB, free: 32.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/9.248, allocations: 329.7 kB / 4.506 GB, free: 32.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/9.249, allocations: 271 kB / 4.506 GB, free: 32.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/9.25, allocations: 0.932 MB / 4.507 GB, free: 31.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/9.251, allocations: 111.6 kB / 4.507 GB, free: 31.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/9.252, allocations: 71.25 kB / 4.507 GB, free: 31.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/9.252, allocations: 7.375 kB / 4.507 GB, free: 31.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003087/9.255, allocations: 1.789 MB / 4.509 GB, free: 30.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/9.255, allocations: 11.53 kB / 4.509 GB, free: 30.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/9.256, allocations: 328 kB / 4.509 GB, free: 30.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/9.257, allocations: 278 kB / 4.51 GB, free: 30.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/9.259, allocations: 0.9241 MB / 4.511 GB, free: 29.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/9.26, allocations: 108.8 kB / 4.511 GB, free: 29.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/9.26, allocations: 71.03 kB / 4.511 GB, free: 29.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006521/9.261, allocations: 417.8 kB / 4.511 GB, free: 29.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/9.261, allocations: 98.5 kB / 4.511 GB, free: 29.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/9.264, allocations: 1.976 MB / 4.513 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/9.264, allocations: 16 kB / 4.513 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/9.264, allocations: 0 / 4.513 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/9.264, allocations: 11.41 kB / 4.513 GB, free: 27.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/9.27, allocations: 3.092 MB / 4.516 GB, free: 24.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/9.27, allocations: 0 / 4.516 GB, free: 24.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/9.27, allocations: 187.2 kB / 4.516 GB, free: 24.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/9.272, allocations: 403.2 kB / 4.517 GB, free: 24.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/9.272, allocations: 39.03 kB / 4.517 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/9.274, allocations: 0.8962 MB / 4.518 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/9.274, allocations: 3.938 kB / 4.518 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/9.277, allocations: 2.455 MB / 4.52 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007786/9.278, allocations: 341 kB / 4.52 GB, free: 21.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/9.278, allocations: 24 kB / 4.52 GB, free: 21.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009527/9.279, allocations: 87.55 kB / 4.52 GB, free: 21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/9.279, allocations: 70.69 kB / 4.521 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/9.28, allocations: 50.88 kB / 4.521 GB, free: 20.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006214/9.28, allocations: 0.5475 MB / 4.521 GB, free: 20.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/9.28, allocations: 0 / 4.521 GB, free: 20.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00418/9.284, allocations: 1.331 MB / 4.522 GB, free: 19.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003804/9.288, allocations: 1.913 MB / 4.524 GB, free: 17.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004151/9.292, allocations: 2.614 MB / 4.527 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/9.292, allocations: 4.562 kB / 4.527 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/9.293, allocations: 0.7301 MB / 4.528 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/9.296, allocations: 0.4918 MB / 4.528 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/9.3, allocations: 2.916 MB / 4.531 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/9.3, allocations: 1.136 MB / 4.532 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001782/9.302, allocations: 0.6698 MB / 4.533 GB, free: 10.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/9.303, allocations: 110.2 kB / 4.533 GB, free: 10.25 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/9.303, allocations: 4 kB / 4.533 GB, free: 10.24 MB / 474.7 MB Notification: Performance of Templates: time 0.3074/9.61, allocations: 47.87 MB / 4.579 GB, free: 58.53 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","../files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches