Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,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.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,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.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002066/0.002066, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 78.78 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.314/0.314, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.341e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 58.84 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.6224, allocations: 87.49 MB / 0.5582 GB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.6227, allocations: 77.95 kB / 0.5583 GB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02758/0.6503, allocations: 6.438 MB / 0.5646 GB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6504, allocations: 0 / 0.5646 GB, free: 10.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.327e-05/0.6505, allocations: 8 kB / 0.5646 GB, free: 10.54 MB / 378.7 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.000973/0.6515, allocations: 0.5908 MB / 0.5652 GB, free: 9.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6516, allocations: 8.031 kB / 0.5652 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.6517, allocations: 51.34 kB / 0.5652 GB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.653, allocations: 472.1 kB / 0.5657 GB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.653, allocations: 7.297 kB / 0.5657 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.653, allocations: 4 kB / 0.5657 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.6533, allocations: 81.94 kB / 0.5658 GB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6533, allocations: 3.938 kB / 0.5658 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.6533, allocations: 7.375 kB / 0.5658 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6534, allocations: 4 kB / 0.5658 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.6535, allocations: 26.98 kB / 0.5658 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.6541, allocations: 380.4 kB / 0.5662 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.6544, allocations: 106 kB / 0.5663 GB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.6546, allocations: 37.3 kB / 0.5663 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.6546, allocations: 7.984 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.6549, allocations: 106.9 kB / 0.5664 GB, free: 8.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.6549, allocations: 0 / 0.5664 GB, free: 8.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005579/0.6554, allocations: 168.8 kB / 0.5666 GB, free: 8.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.6555, allocations: 77.11 kB / 0.5667 GB, free: 8.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.6576, allocations: 0.9099 MB / 0.5675 GB, free: 7.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.6576, allocations: 29.7 kB / 0.5676 GB, free: 7.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.6578, allocations: 245.4 kB / 0.5678 GB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.6579, allocations: 30.94 kB / 0.5678 GB, free: 7.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.6579, allocations: 4 kB / 0.5678 GB, free: 7.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6581, allocations: 322.1 kB / 0.5682 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.401e-05/0.6582, allocations: 26.38 kB / 0.5682 GB, free: 7.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.6583, allocations: 57.92 kB / 0.5682 GB, free: 7.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.6584, allocations: 30.36 kB / 0.5683 GB, free: 7.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.6585, allocations: 8 kB / 0.5683 GB, free: 7.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000324/0.6588, allocations: 114.6 kB / 0.5684 GB, free: 6.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6588, allocations: 4 kB / 0.5684 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6588, allocations: 4 kB / 0.5684 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.6589, allocations: 0 / 0.5684 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.6591, allocations: 23.92 kB / 0.5684 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.6591, allocations: 4 kB / 0.5684 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.6594, allocations: 15.84 kB / 0.5684 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.6595, allocations: 4 kB / 0.5684 GB, free: 6.922 MB / 378.7 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.0001227/0.6596, allocations: 130 kB / 0.5686 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6597, allocations: 47.44 kB / 0.5686 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/0.6603, allocations: 196.4 kB / 0.5688 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6604, allocations: 4 kB / 0.5688 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.6604, allocations: 8.047 kB / 0.5688 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6604, allocations: 0 / 0.5688 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.661, allocations: 379.7 kB / 0.5692 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.661, allocations: 3.938 kB / 0.5692 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.6611, allocations: 23.17 kB / 0.5692 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.6611, allocations: 0 / 0.5692 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.6612, allocations: 0 / 0.5692 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.6612, allocations: 4 kB / 0.5692 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6612, allocations: 0 / 0.5692 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.6617, allocations: 220.5 kB / 0.5694 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.6621, allocations: 186.4 kB / 0.5696 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.6622, allocations: 11.44 kB / 0.5696 GB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.6625, allocations: 7.984 kB / 0.5696 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.6625, allocations: 11.48 kB / 0.5696 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6626, allocations: 4 kB / 0.5696 GB, free: 5.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001392/0.664, allocations: 0.7229 MB / 0.5703 GB, free: 5.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.664, allocations: 0 / 0.5703 GB, free: 5.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005208/0.6645, allocations: 75.62 kB / 0.5704 GB, free: 5.148 MB / 378.7 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.001171/0.6657, allocations: 392.9 kB / 0.5708 GB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.6661, allocations: 81.23 kB / 0.5708 GB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6661, allocations: 0 / 0.5708 GB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.6662, allocations: 45.73 kB / 0.5709 GB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.667, allocations: 67.17 kB / 0.5709 GB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.669, allocations: 0.7986 MB / 0.5717 GB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.6697, allocations: 0.852 MB / 0.5726 GB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.6699, allocations: 41.31 kB / 0.5726 GB, free: 3.035 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6699, allocations: 4 kB / 0.5726 GB, free: 3.031 MB / 378.7 MB Notification: Performance of Templates: time 0.01485/0.6848, allocations: 5.496 MB / 0.578 GB, free: 13.56 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches