Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002762/0.002769, allocations: 350.5 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.774/3.774, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003516/0.003517, allocations: 233.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5791/0.5791, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007036/0.0007039, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09608, allocations: 48.7 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001938/0.09808, allocations: 1.303 MB / 0.608 GB, free: 3.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.09901, allocations: 427.5 kB / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.09908, allocations: 0 / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.09937, allocations: 31.89 kB / 0.6085 GB, free: 2.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.09955, allocations: 39.89 kB / 0.6085 GB, free: 2.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.09977, allocations: 59.81 kB / 0.6086 GB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.09991, allocations: 59.83 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.1, allocations: 4 kB / 0.6086 GB, free: 2.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.1001, allocations: 39.83 kB / 0.6087 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.1002, allocations: 19.92 kB / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1002, allocations: 8 kB / 0.6087 GB, free: 2.645 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1003, allocations: 35.94 kB / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.1004, allocations: 23.89 kB / 0.6087 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.1005, allocations: 37.64 kB / 0.6088 GB, free: 2.543 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1006, allocations: 88.06 kB / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1007, allocations: 0 / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1007, allocations: 0 / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1007, allocations: 0 / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004967/0.1012, allocations: 420.5 kB / 0.6093 GB, free: 1.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1012, allocations: 12.03 kB / 0.6093 GB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1013, allocations: 19.8 kB / 0.6093 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1015, allocations: 198.9 kB / 0.6095 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1015, allocations: 0 / 0.6095 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1016, allocations: 4 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1017, allocations: 45.62 kB / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1017, allocations: 0 / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1017, allocations: 0 / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1017, allocations: 3.984 kB / 0.6095 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.1018, allocations: 19.94 kB / 0.6095 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.1022, allocations: 288.8 kB / 0.6098 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1024, allocations: 38.56 kB / 0.6099 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.1024, allocations: 12.86 kB / 0.6099 GB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1024, allocations: 4 kB / 0.6099 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.1026, allocations: 63.42 kB / 0.6099 GB, free: 1.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.1026, allocations: 0 / 0.6099 GB, free: 1.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004248/0.1031, allocations: 121.2 kB / 0.6101 GB, free: 1.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.1031, allocations: 51.41 kB / 0.6101 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.1033, allocations: 207.3 kB / 0.6103 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1033, allocations: 25.7 kB / 0.6103 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.1034, allocations: 112.1 kB / 0.6104 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.1034, allocations: 15.73 kB / 0.6104 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.1035, allocations: 4 kB / 0.6105 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.1035, allocations: 322.8 kB / 0.6108 GB, free: 292 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.1036, allocations: 19.98 kB / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.1036, allocations: 16 kB / 0.6108 GB, free: 256 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.165e-05/0.1037, allocations: 49.69 kB / 0.6108 GB, free: 200 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1037, allocations: 0 / 0.6108 GB, free: 200 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002043/0.104, allocations: 131.2 kB / 0.611 GB, free: 56 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.104, allocations: 37.7 kB / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.104, allocations: 0 / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.104, allocations: 3.953 kB / 0.611 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2867/0.3908, allocations: 11.53 kB / 0.611 GB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.3908, allocations: 5.375 kB / 0.611 GB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.391, allocations: 2.969 kB / 0.611 GB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.391, allocations: 3.031 kB / 0.611 GB, free: 90.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001464/0.3911, allocations: 125.1 kB / 0.6111 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.3912, allocations: 12.75 kB / 0.6112 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.3913, allocations: 16.08 kB / 0.6112 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3913, allocations: 2.422 kB / 0.6112 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3913, allocations: 0 / 0.6112 GB, free: 90.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.3913, allocations: 88.03 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.3914, allocations: 2.547 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.3914, allocations: 3.219 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3915, allocations: 7.703 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002298/0.3917, allocations: 148.5 kB / 0.6114 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000201/0.392, allocations: 248.2 kB / 0.6117 GB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.4e-05/0.392, allocations: 15.56 kB / 0.6117 GB, free: 89.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.3922, allocations: 156.4 kB / 0.6118 GB, free: 89.87 MB / 362.7 MB Notification: Performance of Backend: time 1.042e-06/0.3922, allocations: 0 / 0.6118 GB, free: 89.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.3936, allocations: 432 kB / 0.6122 GB, free: 89.75 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006703/0.3943, allocations: 0.6689 MB / 0.6129 GB, free: 89.13 MB / 362.7 MB Notification: Performance of Templates: time 0.006371/0.4007, allocations: 1.43 MB / 0.6143 GB, free: 89.12 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.verboseRead,t_new.y[1],time