Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 199.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007446/0.0007446, allocations: 94.22 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3533/0.3533, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002714, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2948, allocations: 62.96 MB / 0.5165 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3972, allocations: 91.56 MB / 0.6059 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.3974, allocations: 79.95 kB / 0.606 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.4114, allocations: 5.181 MB / 0.611 GB, free: 8.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4114, allocations: 0 / 0.611 GB, free: 8.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.4114, allocations: 8 kB / 0.611 GB, free: 8.543 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000611/0.412, allocations: 0.4928 MB / 0.6115 GB, free: 7.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.4121, allocations: 8.031 kB / 0.6115 GB, free: 7.984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.4121, allocations: 20.73 kB / 0.6116 GB, free: 7.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.4125, allocations: 241.5 kB / 0.6118 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.4125, allocations: 8.375 kB / 0.6118 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4125, allocations: 4.375 kB / 0.6118 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.4127, allocations: 112.8 kB / 0.6119 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4128, allocations: 192 / 0.6119 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4128, allocations: 7.875 kB / 0.6119 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4128, allocations: 4 kB / 0.6119 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.413, allocations: 67.89 kB / 0.612 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.4136, allocations: 0.5165 MB / 0.6125 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.4139, allocations: 90.66 kB / 0.6126 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.414, allocations: 44.84 kB / 0.6126 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.414, allocations: 0 / 0.6126 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.4142, allocations: 91.3 kB / 0.6127 GB, free: 6.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.4142, allocations: 7.984 kB / 0.6127 GB, free: 6.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003923/0.4146, allocations: 153.7 kB / 0.6129 GB, free: 6.488 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.4147, allocations: 55.5 kB / 0.6129 GB, free: 6.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4149, allocations: 194.9 kB / 0.6131 GB, free: 6.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4149, allocations: 33.69 kB / 0.6131 GB, free: 6.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.415, allocations: 119.9 kB / 0.6132 GB, free: 6.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.415, allocations: 23.66 kB / 0.6133 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.415, allocations: 8 kB / 0.6133 GB, free: 6.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4152, allocations: 330.8 kB / 0.6136 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.4153, allocations: 27.98 kB / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4154, allocations: 72.27 kB / 0.6137 GB, free: 5.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4156, allocations: 101.2 kB / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4156, allocations: 0 / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002676/0.4159, allocations: 145.3 kB / 0.6139 GB, free: 5.328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4159, allocations: 8 kB / 0.6139 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4159, allocations: 0 / 0.6139 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4159, allocations: 4 kB / 0.6139 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.416, allocations: 19.98 kB / 0.6139 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.416, allocations: 4 kB / 0.6139 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.4161, allocations: 19.97 kB / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4161, allocations: 11.94 kB / 0.614 GB, free: 5.262 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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.0001017/0.4162, allocations: 132.7 kB / 0.6141 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.4163, allocations: 11.81 kB / 0.6141 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.4166, allocations: 139.1 kB / 0.6142 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4166, allocations: 4.094 kB / 0.6143 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4166, allocations: 3.938 kB / 0.6143 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4166, allocations: 0 / 0.6143 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.4168, allocations: 221.5 kB / 0.6145 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4168, allocations: 3.938 kB / 0.6145 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.4169, allocations: 15.98 kB / 0.6145 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4169, allocations: 0 / 0.6145 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4169, allocations: 0 / 0.6145 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.4169, allocations: 4 kB / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4169, allocations: 0 / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.4173, allocations: 200.8 kB / 0.6147 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.4174, allocations: 100.9 kB / 0.6148 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.4174, allocations: 0 / 0.6148 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.4175, allocations: 15.98 kB / 0.6148 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.4175, allocations: 15.98 kB / 0.6148 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.4175, allocations: 0 / 0.6148 GB, free: 4.316 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.4177, allocations: 155.8 kB / 0.615 GB, free: 4.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4177, allocations: 0 / 0.615 GB, free: 4.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.4179, allocations: 32.12 kB / 0.615 GB, free: 4.137 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008519/0.4188, allocations: 419.1 kB / 0.6154 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.419, allocations: 87.89 kB / 0.6155 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.419, allocations: 0 / 0.6155 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.4191, allocations: 48.05 kB / 0.6155 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4194, allocations: 31.97 kB / 0.6155 GB, free: 3.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.42, allocations: 326.1 kB / 0.6159 GB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.4203, allocations: 0.7203 MB / 0.6166 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.4203, allocations: 19.44 kB / 0.6166 GB, free: 2.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4203, allocations: 0 / 0.6166 GB, free: 2.59 MB / 426.7 MB Notification: Performance of Templates: time 0.003737/0.4241, allocations: 2.221 MB / 0.6187 GB, free: 388 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches