Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002357/0.002357, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 90.16 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2935/0.2935, allocations: 43.5 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.539e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3938, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.5556, allocations: 86.83 MB / 0.5507 GB, free: 12.47 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.556, allocations: 71.97 kB / 0.5508 GB, free: 12.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02937/0.5854, allocations: 6.392 MB / 0.557 GB, free: 6.02 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5854, allocations: 0 / 0.557 GB, free: 6.02 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.226e-05/0.5855, allocations: 7.984 kB / 0.557 GB, free: 6.012 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001145/0.5866, allocations: 0.5832 MB / 0.5576 GB, free: 5.383 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5867, allocations: 15.97 kB / 0.5576 GB, free: 5.367 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.5869, allocations: 47.34 kB / 0.5576 GB, free: 5.32 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.5884, allocations: 475.2 kB / 0.5581 GB, free: 4.816 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.5884, allocations: 7.938 kB / 0.5581 GB, free: 4.809 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.5885, allocations: 0 / 0.5581 GB, free: 4.809 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001445/0.5886, allocations: 27.98 kB / 0.5581 GB, free: 4.781 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.5888, allocations: 79.31 kB / 0.5582 GB, free: 4.691 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5889, allocations: 7.938 kB / 0.5582 GB, free: 4.684 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.5889, allocations: 0 / 0.5582 GB, free: 4.684 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5889, allocations: 4 kB / 0.5582 GB, free: 4.68 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.5896, allocations: 362.7 kB / 0.5586 GB, free: 4.285 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.5899, allocations: 89.34 kB / 0.5587 GB, free: 4.18 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.59, allocations: 37.72 kB / 0.5587 GB, free: 4.137 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.59, allocations: 3.938 kB / 0.5587 GB, free: 4.133 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.5903, allocations: 105.2 kB / 0.5588 GB, free: 4.012 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.5903, allocations: 0 / 0.5588 GB, free: 4.012 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006222/0.591, allocations: 161 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.5911, allocations: 77.11 kB / 0.559 GB, free: 3.754 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.5932, allocations: 0.8848 MB / 0.5599 GB, free: 2.859 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.5933, allocations: 25.7 kB / 0.5599 GB, free: 2.828 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.5936, allocations: 242.6 kB / 0.5601 GB, free: 2.59 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.5936, allocations: 27.64 kB / 0.5602 GB, free: 2.562 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-06/0.5937, allocations: 0 / 0.5602 GB, free: 2.562 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5938, allocations: 322.8 kB / 0.5605 GB, free: 2.238 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.5939, allocations: 24 kB / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.594, allocations: 55.42 kB / 0.5606 GB, free: 2.148 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.5942, allocations: 32.05 kB / 0.5606 GB, free: 2.117 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5942, allocations: 0 / 0.5606 GB, free: 2.117 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003049/0.5945, allocations: 105.6 kB / 0.5607 GB, free: 2.008 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5945, allocations: 8 kB / 0.5607 GB, free: 2 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5945, allocations: 4.062 kB / 0.5607 GB, free: 1.996 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.5946, allocations: 4 kB / 0.5607 GB, free: 1.992 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.5948, allocations: 19.98 kB / 0.5607 GB, free: 1.973 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5948, allocations: 0 / 0.5607 GB, free: 1.973 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.5951, allocations: 15.89 kB / 0.5607 GB, free: 1.957 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.5952, allocations: 4 kB / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.5953, allocations: 120.7 kB / 0.5609 GB, free: 1.828 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5955, allocations: 47.44 kB / 0.5609 GB, free: 1.781 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.5961, allocations: 193.6 kB / 0.5611 GB, free: 1.582 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.5961, allocations: 4 kB / 0.5611 GB, free: 1.578 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.5961, allocations: 3.938 kB / 0.5611 GB, free: 1.574 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5961, allocations: 0 / 0.5611 GB, free: 1.574 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.5967, allocations: 361.8 kB / 0.5614 GB, free: 1.184 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5968, allocations: 3.938 kB / 0.5614 GB, free: 1.18 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.5969, allocations: 11.95 kB / 0.5614 GB, free: 1.168 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.5969, allocations: 4 kB / 0.5615 GB, free: 1.164 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.5969, allocations: 3.984 kB / 0.5615 GB, free: 1.16 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.597, allocations: 0 / 0.5615 GB, free: 1.16 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.597, allocations: 4.25 kB / 0.5615 GB, free: 1.156 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.5975, allocations: 218.9 kB / 0.5617 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.598, allocations: 188.5 kB / 0.5618 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.5981, allocations: 4 kB / 0.5619 GB, free: 0.707 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5983, allocations: 11.98 kB / 0.5619 GB, free: 0.6953 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.5983, allocations: 8 kB / 0.5619 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.5984, allocations: 11.98 kB / 0.5619 GB, free: 0.6758 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001465/0.5998, allocations: 0.6941 MB / 0.5626 GB, free: 15.98 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.5999, allocations: 0 / 0.5626 GB, free: 15.98 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005963/0.6005, allocations: 72 kB / 0.5626 GB, free: 15.91 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.6016, allocations: 346.8 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.6019, allocations: 75.92 kB / 0.563 GB, free: 15.54 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6019, allocations: 0 / 0.563 GB, free: 15.54 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.6021, allocations: 44.17 kB / 0.5631 GB, free: 15.5 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.6028, allocations: 69.36 kB / 0.5631 GB, free: 15.43 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.6049, allocations: 0.7957 MB / 0.5639 GB, free: 14.6 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.6056, allocations: 0.8547 MB / 0.5648 GB, free: 13.72 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.6058, allocations: 39.44 kB / 0.5648 GB, free: 13.68 MB / 411.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6058, allocations: 0 / 0.5648 GB, free: 13.68 MB / 411.1 MB Notification: Performance of Templates: time 0.0151/0.621, allocations: 5.46 MB / 0.5701 GB, free: 8.223 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches