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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 107.6 kB / 21.23 MB, free: 0.5742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 206.3 kB / 24.52 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.5 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 63.89 kB / 379 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2895, allocations: 53.4 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5726/0.8622, allocations: 181.9 MB / 0.6 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.8776, allocations: 9.466 MB / 0.6092 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.8789, allocations: 29.16 kB / 0.6092 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.8804, allocations: 451.6 kB / 0.6097 GB, free: 8.957 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.8909, allocations: 3.276 MB / 0.6129 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008152/0.899, allocations: 2.75 MB / 0.6155 GB, free: 5.348 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00452/0.9035, allocations: 2.691 MB / 0.6182 GB, free: 3.922 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.905, allocations: 0.6623 MB / 0.6188 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0081/0.9131, allocations: 2.903 MB / 0.6217 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.9158, allocations: 1.118 MB / 0.6228 GB, free: 1.281 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.9161, allocations: 119.9 kB / 0.6229 GB, free: 1.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/0.9279, allocations: 5.069 MB / 0.6278 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.9291, allocations: 0.5494 MB / 0.6284 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.9303, allocations: 0.5448 MB / 0.6289 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.9429, allocations: 4.503 MB / 0.6333 GB, free: 7.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.9429, allocations: 0 / 0.6333 GB, free: 7.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.9429, allocations: 4 kB / 0.6333 GB, free: 7.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.9429, allocations: 0 / 0.6333 GB, free: 7.27 MB / 478.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.005665/0.9486, allocations: 2.046 MB / 0.6353 GB, free: 5.172 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.9486, allocations: 12.03 kB / 0.6353 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005705/0.9492, allocations: 127.3 kB / 0.6354 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.9507, allocations: 0.6473 MB / 0.636 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.9509, allocations: 196.7 kB / 0.6362 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.951, allocations: 87.98 kB / 0.6363 GB, free: 4.055 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.9539, allocations: 1.884 MB / 0.6382 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.9539, allocations: 7.938 kB / 0.6382 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.954, allocations: 35.98 kB / 0.6382 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.9541, allocations: 73.95 kB / 0.6383 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.9567, allocations: 1.464 MB / 0.6397 GB, free: 432 kB / 478.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.008807/0.9655, allocations: 4.609 MB / 0.6442 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.9675, allocations: 0.9412 MB / 0.6451 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000808/0.9683, allocations: 0.4897 MB / 0.6456 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007261/0.969, allocations: 240.8 kB / 0.6458 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.9691, allocations: 51.5 kB / 0.6459 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004516/0.9695, allocations: 83.41 kB / 0.646 GB, free: 9.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=84): time 3.858e-06/0.9695, allocations: 0 / 0.646 GB, free: 9.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.01617/0.9857, allocations: 4.719 MB / 0.6506 GB, free: 5.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.9858, allocations: 119.7 kB / 0.6507 GB, free: 4.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/0.9867, allocations: 0.6287 MB / 0.6513 GB, free: 4.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.9869, allocations: 49.7 kB / 0.6513 GB, free: 4.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.9872, allocations: 472.3 kB / 0.6518 GB, free: 3.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.9876, allocations: 364.9 kB / 0.6521 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.9881, allocations: 250.8 kB / 0.6524 GB, free: 3.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.9883, allocations: 390.7 kB / 0.6528 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.9896, allocations: 0.6691 MB / 0.6534 GB, free: 2.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.9914, allocations: 1.062 MB / 0.6544 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.9944, allocations: 1.654 MB / 0.6561 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.9944, allocations: 4 kB / 0.6561 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004197/0.9986, allocations: 1.98 MB / 0.658 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.9987, allocations: 67.39 kB / 0.6581 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9987, allocations: 8 kB / 0.6581 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/1, allocations: 309.7 kB / 0.6584 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.001, allocations: 275.5 kB / 0.6586 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/1.003, allocations: 0.9037 MB / 0.6595 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009707/1.004, allocations: 60.03 kB / 0.6596 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.004, allocations: 71.97 kB / 0.6596 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001719/1.006, allocations: 0.8962 MB / 0.6605 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001676/1.007, allocations: 1.054 MB / 0.6615 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002862/1.01, allocations: 1.635 MB / 0.6631 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.684e-06/1.01, allocations: 7.938 kB / 0.6631 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004079/1.014, allocations: 1.953 MB / 0.665 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/1.014, allocations: 63.95 kB / 0.6651 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.014, allocations: 12 kB / 0.6651 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/1.016, allocations: 320.6 kB / 0.6654 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.017, allocations: 271.5 kB / 0.6657 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/1.018, allocations: 0.9037 MB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.019, allocations: 67.89 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.02, allocations: 71.97 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB 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.0005096/1.02, allocations: 261.3 kB / 0.667 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/1.02, allocations: 87.48 kB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/1.024, allocations: 1.947 MB / 0.6689 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.024, allocations: 12 kB / 0.6689 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.025, allocations: 3.938 kB / 0.669 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.025, allocations: 7.969 kB / 0.669 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/1.03, allocations: 2.71 MB / 0.6716 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.03, allocations: 0 / 0.6716 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/1.031, allocations: 179.8 kB / 0.6718 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/1.033, allocations: 384.6 kB / 0.6721 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/1.033, allocations: 31.98 kB / 0.6722 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/1.034, allocations: 0.884 MB / 0.673 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.034, allocations: 0 / 0.673 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/1.039, allocations: 2.376 MB / 0.6754 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/1.04, allocations: 243.2 kB / 0.6756 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.04, allocations: 27.98 kB / 0.6756 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/1.041, allocations: 55.95 kB / 0.6757 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.041, allocations: 76.8 kB / 0.6757 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.041, allocations: 51.95 kB / 0.6758 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006421/1.041, allocations: 451 kB / 0.6762 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.041, allocations: 3.938 kB / 0.6762 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003408/1.045, allocations: 1.154 MB / 0.6774 GB, free: 8.645 MB / 0.5137 GB 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 (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.002917/1.048, allocations: 1.069 MB / 0.6784 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005464/1.053, allocations: 2.592 MB / 0.6809 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.053, allocations: 4.5 kB / 0.6809 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.055, allocations: 0.7008 MB / 0.6816 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/1.057, allocations: 477 kB / 0.6821 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/1.063, allocations: 2.597 MB / 0.6846 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/1.063, allocations: 0.5277 MB / 0.6851 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/1.064, allocations: 119.4 kB / 0.6852 GB, free: 432 kB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/1.064, allocations: 4 kB / 0.6852 GB, free: 428 kB / 0.5137 GB Notification: Performance of Templates: time 0.05047/1.114, allocations: 31.72 MB / 0.7162 GB, free: 0.7461 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.898349238093942]