Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 182 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.06/2.06, 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.001108/0.001108, allocations: 82.7 kB / 267.5 MB, free: 14.05 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.2871/0.2871, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.588e-05, allocations: 4 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.6117, allocations: 87.67 MB / 0.5584 GB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.612, allocations: 79.45 kB / 0.5585 GB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02578/0.6378, allocations: 5.66 MB / 0.564 GB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6379, allocations: 0 / 0.564 GB, free: 11.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.6379, allocations: 4 kB / 0.564 GB, free: 11.37 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.0007064/0.6386, allocations: 422.6 kB / 0.5644 GB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.6387, allocations: 8.031 kB / 0.5644 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.6388, allocations: 23.8 kB / 0.5645 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.6393, allocations: 243.2 kB / 0.5647 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.6394, allocations: 3.125 kB / 0.5647 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.6394, allocations: 4 kB / 0.5647 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.6397, allocations: 97.59 kB / 0.5648 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6397, allocations: 3.938 kB / 0.5648 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.6397, allocations: 4 kB / 0.5648 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.6397, allocations: 0 / 0.5648 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.6399, allocations: 33.36 kB / 0.5648 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.6402, allocations: 218.2 kB / 0.565 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.6405, allocations: 105.2 kB / 0.5651 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.6406, allocations: 40.91 kB / 0.5652 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.6407, allocations: 4.078 kB / 0.5652 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.6409, allocations: 105.4 kB / 0.5653 GB, free: 9.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/0.6409, allocations: 0 / 0.5653 GB, free: 9.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004507/0.6414, allocations: 134 kB / 0.5654 GB, free: 9.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.6415, allocations: 132.5 kB / 0.5655 GB, free: 9.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.6418, allocations: 203.1 kB / 0.5657 GB, free: 9.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.6419, allocations: 29.64 kB / 0.5658 GB, free: 9.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.642, allocations: 168.7 kB / 0.5659 GB, free: 9.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.6421, allocations: 33.58 kB / 0.5659 GB, free: 9.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.6421, allocations: 2.438 kB / 0.5659 GB, free: 9.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6422, allocations: 318 kB / 0.5663 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.6423, allocations: 29.92 kB / 0.5663 GB, free: 8.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6425, allocations: 66.59 kB / 0.5663 GB, free: 8.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.6426, allocations: 38.11 kB / 0.5664 GB, free: 8.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6426, allocations: 0 / 0.5664 GB, free: 8.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000316/0.6429, allocations: 123.6 kB / 0.5665 GB, free: 8.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6429, allocations: 4 kB / 0.5665 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.643, allocations: 0 / 0.5665 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.643, allocations: 4 kB / 0.5665 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.6432, allocations: 23.92 kB / 0.5665 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6432, allocations: 4 kB / 0.5665 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.6434, allocations: 11.66 kB / 0.5665 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.6435, allocations: 4 kB / 0.5665 GB, free: 8.73 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.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.0001178/0.6436, allocations: 118.2 kB / 0.5667 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.6436, allocations: 23.8 kB / 0.5667 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.6441, allocations: 151.2 kB / 0.5668 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.6441, allocations: 4 kB / 0.5668 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6441, allocations: 0 / 0.5668 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.6442, allocations: 0 / 0.5668 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.6445, allocations: 234.9 kB / 0.5671 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6445, allocations: 0 / 0.5671 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.553e-05/0.6446, allocations: 11.94 kB / 0.5671 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.6446, allocations: 8.234 kB / 0.5671 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.6446, allocations: 7.5 kB / 0.5671 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.6446, allocations: 4 kB / 0.5671 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6447, allocations: 4 kB / 0.5671 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.6451, allocations: 179.8 kB / 0.5673 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.6452, allocations: 100.5 kB / 0.5674 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.6452, allocations: 3.5 kB / 0.5674 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.6454, allocations: 11.98 kB / 0.5674 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.6455, allocations: 15.92 kB / 0.5674 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.6455, allocations: 7.438 kB / 0.5674 GB, free: 7.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.6458, allocations: 166.2 kB / 0.5676 GB, free: 7.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6458, allocations: 0 / 0.5676 GB, free: 7.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003871/0.6462, allocations: 47.23 kB / 0.5676 GB, free: 7.672 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001252/0.6474, allocations: 422.7 kB / 0.568 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.6478, allocations: 81.23 kB / 0.5681 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6478, allocations: 0 / 0.5681 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.6479, allocations: 42.38 kB / 0.5681 GB, free: 7.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.6485, allocations: 49.78 kB / 0.5682 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.6492, allocations: 233.2 kB / 0.5684 GB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.6495, allocations: 0.7166 MB / 0.5691 GB, free: 6.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.6496, allocations: 26.67 kB / 0.5691 GB, free: 6.184 MB / 378.7 MB Notification: Performance of SimCode: time 3.397e-06/0.6497, allocations: 0 / 0.5691 GB, free: 6.184 MB / 378.7 MB Notification: Performance of Templates: time 0.007631/0.6573, allocations: 2.727 MB / 0.5718 GB, free: 3.473 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches