Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002315/0.002315, allocations: 181.3 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.153/2.153, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001158/0.001158, allocations: 86.64 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.3421/0.3421, allocations: 43.5 MB / 359.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.766e-05, allocations: 8 kB / 425.3 MB, free: 23.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 58.85 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6071, allocations: 88.41 MB / 0.5591 GB, free: 15.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.6074, allocations: 78.45 kB / 0.5592 GB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03011/0.6375, allocations: 6.924 MB / 0.566 GB, free: 9.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6376, allocations: 0 / 0.566 GB, free: 9.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.122e-05/0.6376, allocations: 4 kB / 0.566 GB, free: 9.316 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008354/0.6385, allocations: 0.4901 MB / 0.5665 GB, free: 8.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6385, allocations: 12.03 kB / 0.5665 GB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.6386, allocations: 19.72 kB / 0.5665 GB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.6393, allocations: 291.1 kB / 0.5668 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.6394, allocations: 11.55 kB / 0.5668 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.6394, allocations: 0 / 0.5668 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.6397, allocations: 101.5 kB / 0.5669 GB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.6397, allocations: 4 kB / 0.5669 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.6398, allocations: 4 kB / 0.5669 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6398, allocations: 0 / 0.5669 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.6399, allocations: 50.05 kB / 0.5669 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.6407, allocations: 395.9 kB / 0.5673 GB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.641, allocations: 114.1 kB / 0.5674 GB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.6411, allocations: 40.09 kB / 0.5675 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.6412, allocations: 4 kB / 0.5675 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.6415, allocations: 126 kB / 0.5676 GB, free: 7.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.414e-06/0.6415, allocations: 0 / 0.5676 GB, free: 7.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004632/0.642, allocations: 148.1 kB / 0.5677 GB, free: 7.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.642, allocations: 102.8 kB / 0.5678 GB, free: 7.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.6426, allocations: 307.8 kB / 0.5681 GB, free: 7.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.6426, allocations: 29.7 kB / 0.5681 GB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.6428, allocations: 183 kB / 0.5683 GB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.6429, allocations: 37.36 kB / 0.5683 GB, free: 6.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.6429, allocations: 0 / 0.5683 GB, free: 6.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.643, allocations: 317.7 kB / 0.5686 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.912e-05/0.6431, allocations: 30.42 kB / 0.5687 GB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.6433, allocations: 77.2 kB / 0.5688 GB, free: 6.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.6434, allocations: 36.36 kB / 0.5688 GB, free: 6.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6435, allocations: 3.938 kB / 0.5688 GB, free: 6.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003249/0.6438, allocations: 121.2 kB / 0.5689 GB, free: 6.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6438, allocations: 4 kB / 0.5689 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6439, allocations: 4 kB / 0.5689 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6439, allocations: 0 / 0.5689 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6441, allocations: 23.98 kB / 0.5689 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.6441, allocations: 3.938 kB / 0.5689 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.6443, allocations: 23.08 kB / 0.569 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.6444, allocations: 7.953 kB / 0.569 GB, free: 6.332 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001163/0.6445, allocations: 116 kB / 0.5691 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.6446, allocations: 23.72 kB / 0.5691 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.6451, allocations: 174.6 kB / 0.5693 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6451, allocations: 0 / 0.5693 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6451, allocations: 0 / 0.5693 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6451, allocations: 0 / 0.5693 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.6455, allocations: 272.4 kB / 0.5695 GB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6455, allocations: 0 / 0.5695 GB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.6456, allocations: 8 kB / 0.5695 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6456, allocations: 0 / 0.5695 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.6456, allocations: 11.42 kB / 0.5695 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.6457, allocations: 3.938 kB / 0.5696 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6457, allocations: 3.938 kB / 0.5696 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.6461, allocations: 195.3 kB / 0.5697 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.6463, allocations: 117.7 kB / 0.5699 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.6463, allocations: 11.88 kB / 0.5699 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.6465, allocations: 7.984 kB / 0.5699 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.6466, allocations: 15.23 kB / 0.5699 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.6466, allocations: 4 kB / 0.5699 GB, free: 5.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004462/0.6471, allocations: 241.3 kB / 0.5701 GB, free: 5.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6471, allocations: 0 / 0.5701 GB, free: 5.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.6475, allocations: 61.81 kB / 0.5702 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001216/0.6487, allocations: 386.6 kB / 0.5705 GB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.6491, allocations: 99.77 kB / 0.5706 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6491, allocations: 0 / 0.5706 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.6493, allocations: 50.5 kB / 0.5707 GB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.6499, allocations: 53.84 kB / 0.5707 GB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.6508, allocations: 333.7 kB / 0.5711 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.6512, allocations: 0.7555 MB / 0.5718 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.6513, allocations: 19.44 kB / 0.5718 GB, free: 3.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6514, allocations: 4 kB / 0.5718 GB, free: 3.559 MB / 378.7 MB Notification: Performance of Templates: time 0.008891/0.6603, allocations: 3.309 MB / 0.5751 GB, free: 284 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches