Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 192.6 kB / 16.1 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007492/0.0007489, allocations: 93.97 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3025/0.3025, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 62.95 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002021/0.363, allocations: 1.615 MB / 0.5175 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3643, allocations: 0.9988 MB / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3645, allocations: 0 / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.3648, allocations: 40.81 kB / 0.5185 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.3651, allocations: 72.86 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3653, allocations: 110.7 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3655, allocations: 127.4 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3657, allocations: 25.03 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.3658, allocations: 50.61 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.3659, allocations: 45.19 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3659, allocations: 5.875 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.366, allocations: 33.22 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.366, allocations: 32.3 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.3661, allocations: 68.81 kB / 0.519 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3663, allocations: 113.9 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3663, allocations: 0 / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3663, allocations: 0 / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3663, allocations: 0 / 0.5191 GB, free: 35.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005699/0.3669, allocations: 461 kB / 0.5196 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3669, allocations: 15.72 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.367, allocations: 14.53 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3672, allocations: 235.5 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3672, allocations: 7.125 kB / 0.5198 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.3673, allocations: 9.906 kB / 0.5198 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3675, allocations: 109.6 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3675, allocations: 6.562 kB / 0.5199 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3676, allocations: 0 / 0.5199 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3676, allocations: 2.969 kB / 0.5199 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.3677, allocations: 55.39 kB / 0.52 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.3682, allocations: 0.5099 MB / 0.5205 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3685, allocations: 87.44 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.3686, allocations: 44.12 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3687, allocations: 0 / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.3689, allocations: 88.8 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.584e-06/0.3689, allocations: 0 / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003551/0.3692, allocations: 154.3 kB / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3693, allocations: 58.77 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3694, allocations: 196.5 kB / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3695, allocations: 25.7 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.3695, allocations: 120.2 kB / 0.5212 GB, free: 33.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3696, allocations: 26.08 kB / 0.5213 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.3696, allocations: 4 kB / 0.5213 GB, free: 33.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.3697, allocations: 328.1 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.3697, allocations: 32.2 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.3698, allocations: 69.05 kB / 0.5217 GB, free: 32.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.37, allocations: 107.9 kB / 0.5218 GB, free: 32.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.37, allocations: 0 / 0.5218 GB, free: 32.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002421/0.3703, allocations: 142.5 kB / 0.5219 GB, free: 32.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3703, allocations: 5.812 kB / 0.5219 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3703, allocations: 4 kB / 0.5219 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3703, allocations: 2.906 kB / 0.5219 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.3704, allocations: 27.48 kB / 0.522 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3704, allocations: 3.328 kB / 0.522 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.3705, allocations: 16.5 kB / 0.522 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3705, allocations: 2.781 kB / 0.522 GB, free: 32.64 MB / 378.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 8.378e-05/0.3706, allocations: 138.2 kB / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3706, allocations: 13.56 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.3707, allocations: 19.73 kB / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3707, allocations: 6.844 kB / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3707, allocations: 0 / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3707, allocations: 0 / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3709, allocations: 212.7 kB / 0.5223 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3709, allocations: 0 / 0.5223 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.132e-05/0.3709, allocations: 12.44 kB / 0.5224 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.371, allocations: 6.875 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.371, allocations: 0 / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.371, allocations: 3.938 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.371, allocations: 2.281 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.3713, allocations: 190.2 kB / 0.5226 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3714, allocations: 103.1 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3714, allocations: 2.969 kB / 0.5227 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.3715, allocations: 16.75 kB / 0.5227 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.3715, allocations: 10.12 kB / 0.5227 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3715, allocations: 3 kB / 0.5227 GB, free: 32.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.3716, allocations: 155.1 kB / 0.5228 GB, free: 31.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3716, allocations: 0 / 0.5228 GB, free: 31.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.3719, allocations: 27.81 kB / 0.5229 GB, free: 31.93 MB / 378.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008294/0.3727, allocations: 403 kB / 0.5232 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3729, allocations: 80.14 kB / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3729, allocations: 0 / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.373, allocations: 43.44 kB / 0.5234 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3733, allocations: 38.44 kB / 0.5234 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.3738, allocations: 323.3 kB / 0.5237 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3739, allocations: 0.711 MB / 0.5244 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.374, allocations: 16.28 kB / 0.5244 GB, free: 30.73 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.374, allocations: 6.656 kB / 0.5244 GB, free: 30.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003413/0.3774, allocations: 2.191 MB / 0.5266 GB, free: 30.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches