Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,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.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,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.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002148/0.002151, allocations: 181.4 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.136/2.136, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001098/0.001097, allocations: 82.77 kB / 267.5 MB, free: 14.04 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.2839/0.2839, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.987e-05, allocations: 11.98 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.6057, allocations: 87.49 MB / 0.5582 GB, free: 128 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.606, allocations: 77.42 kB / 0.5583 GB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02765/0.6336, allocations: 6.491 MB / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6337, allocations: 0 / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.492e-05/0.6337, allocations: 7.984 kB / 0.5647 GB, free: 10.52 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.001073/0.6348, allocations: 0.5961 MB / 0.5652 GB, free: 9.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6349, allocations: 8.031 kB / 0.5652 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.6351, allocations: 47.44 kB / 0.5653 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.6364, allocations: 482.6 kB / 0.5658 GB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.6364, allocations: 4 kB / 0.5658 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.6365, allocations: 0 / 0.5658 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.6367, allocations: 96.92 kB / 0.5658 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.6367, allocations: 0 / 0.5658 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.6368, allocations: 3.938 kB / 0.5659 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6368, allocations: 0 / 0.5659 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.6369, allocations: 31.86 kB / 0.5659 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.6375, allocations: 388.6 kB / 0.5663 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.6378, allocations: 97.03 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.6379, allocations: 43.86 kB / 0.5664 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.638, allocations: 3.938 kB / 0.5664 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.6382, allocations: 98.91 kB / 0.5665 GB, free: 8.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.6382, allocations: 4 kB / 0.5665 GB, free: 8.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005523/0.6388, allocations: 167.5 kB / 0.5666 GB, free: 8.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.6389, allocations: 85.09 kB / 0.5667 GB, free: 8.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.641, allocations: 0.9302 MB / 0.5676 GB, free: 7.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.6411, allocations: 25.7 kB / 0.5677 GB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.6413, allocations: 245.7 kB / 0.5679 GB, free: 7.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.6413, allocations: 26.7 kB / 0.5679 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.6414, allocations: 4 kB / 0.5679 GB, free: 7.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6415, allocations: 322.4 kB / 0.5682 GB, free: 7.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.6416, allocations: 31.17 kB / 0.5683 GB, free: 7.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.6418, allocations: 53.81 kB / 0.5683 GB, free: 7.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.6419, allocations: 38.53 kB / 0.5684 GB, free: 7.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6419, allocations: 0 / 0.5684 GB, free: 7.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003332/0.6423, allocations: 122.8 kB / 0.5685 GB, free: 6.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6423, allocations: 4 kB / 0.5685 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6423, allocations: 0 / 0.5685 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6423, allocations: 4 kB / 0.5685 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.6426, allocations: 27.3 kB / 0.5685 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6426, allocations: 0 / 0.5685 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.6428, allocations: 11.94 kB / 0.5685 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.6429, allocations: 7.938 kB / 0.5685 GB, free: 6.863 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.0001164/0.643, allocations: 129.9 kB / 0.5686 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.6431, allocations: 55.34 kB / 0.5687 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005553/0.6437, allocations: 185.5 kB / 0.5689 GB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6437, allocations: 4 kB / 0.5689 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6437, allocations: 0 / 0.5689 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.6438, allocations: 3.984 kB / 0.5689 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.6443, allocations: 396.4 kB / 0.5693 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6443, allocations: 3.938 kB / 0.5693 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.6444, allocations: 11.94 kB / 0.5693 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.6445, allocations: 0 / 0.5693 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.6445, allocations: 8 kB / 0.5693 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6445, allocations: 0 / 0.5693 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6445, allocations: 256 / 0.5693 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.645, allocations: 227.2 kB / 0.5695 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.6454, allocations: 194.4 kB / 0.5697 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.6455, allocations: 7.688 kB / 0.5697 GB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.6457, allocations: 8 kB / 0.5697 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.6458, allocations: 11.98 kB / 0.5697 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.6458, allocations: 7.438 kB / 0.5697 GB, free: 5.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001406/0.6473, allocations: 0.7442 MB / 0.5704 GB, free: 5.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6473, allocations: 0 / 0.5704 GB, free: 5.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005499/0.6478, allocations: 79.62 kB / 0.5705 GB, free: 5.055 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.001129/0.649, allocations: 388 kB / 0.5709 GB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.6493, allocations: 81.92 kB / 0.571 GB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6493, allocations: 0 / 0.571 GB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.6495, allocations: 44.67 kB / 0.571 GB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.6501, allocations: 70 kB / 0.5711 GB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.6522, allocations: 0.8182 MB / 0.5719 GB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.6528, allocations: 0.8543 MB / 0.5727 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.653, allocations: 48.92 kB / 0.5728 GB, free: 2.918 MB / 378.7 MB Notification: Performance of SimCode: time 1.764e-06/0.653, allocations: 0 / 0.5728 GB, free: 2.918 MB / 378.7 MB Notification: Performance of Templates: time 0.01547/0.6685, allocations: 5.618 MB / 0.5782 GB, free: 13.32 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches