Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003683/0.00369, allocations: 351.8 kB / 15.95 MB, free: 6.219 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.629/3.629, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004908/0.004908, allocations: 225 kB / 397.9 MB, free: 6.168 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5577/0.5577, allocations: 76.09 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004918, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09318, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002128/0.09538, allocations: 1.296 MB / 0.608 GB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.09639, allocations: 435.4 kB / 0.6084 GB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.09651, allocations: 0 / 0.6084 GB, free: 9.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.09688, allocations: 75.83 kB / 0.6085 GB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.09712, allocations: 55.8 kB / 0.6086 GB, free: 9.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.09743, allocations: 51.83 kB / 0.6086 GB, free: 9.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.0976, allocations: 71.81 kB / 0.6087 GB, free: 9.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.09772, allocations: 11.97 kB / 0.6087 GB, free: 9.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.09781, allocations: 35.84 kB / 0.6087 GB, free: 9.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.09793, allocations: 43.89 kB / 0.6088 GB, free: 9.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.09796, allocations: 3.938 kB / 0.6088 GB, free: 9.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.09814, allocations: 39.98 kB / 0.6088 GB, free: 9.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.0982, allocations: 15.97 kB / 0.6088 GB, free: 9.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.09827, allocations: 37.64 kB / 0.6089 GB, free: 9.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.09847, allocations: 84.11 kB / 0.6089 GB, free: 9.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.09849, allocations: 0 / 0.6089 GB, free: 9.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.0985, allocations: 0 / 0.6089 GB, free: 9.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.09852, allocations: 0 / 0.6089 GB, free: 9.273 MB / 282.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.0005399/0.09906, allocations: 420.6 kB / 0.6093 GB, free: 8.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.09913, allocations: 8.031 kB / 0.6093 GB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.09919, allocations: 7.906 kB / 0.6094 GB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.09943, allocations: 202.6 kB / 0.6095 GB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.09946, allocations: 8 kB / 0.6096 GB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.0995, allocations: 0 / 0.6096 GB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.09964, allocations: 49.66 kB / 0.6096 GB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.09967, allocations: 4 kB / 0.6096 GB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.09969, allocations: 3.938 kB / 0.6096 GB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.09971, allocations: 0 / 0.6096 GB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.09978, allocations: 19.98 kB / 0.6096 GB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1002, allocations: 276.8 kB / 0.6099 GB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1005, allocations: 46.56 kB / 0.6099 GB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.1005, allocations: 12.94 kB / 0.6099 GB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1005, allocations: 0 / 0.6099 GB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.1008, allocations: 59.41 kB / 0.61 GB, free: 8.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.1008, allocations: 0 / 0.61 GB, free: 8.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005838/0.1014, allocations: 125.2 kB / 0.6101 GB, free: 7.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1014, allocations: 51.41 kB / 0.6102 GB, free: 7.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1017, allocations: 192.4 kB / 0.6104 GB, free: 7.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1017, allocations: 29.7 kB / 0.6104 GB, free: 7.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.1018, allocations: 96.14 kB / 0.6105 GB, free: 7.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1018, allocations: 23.78 kB / 0.6105 GB, free: 7.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.1018, allocations: 4 kB / 0.6105 GB, free: 7.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.1019, allocations: 330.7 kB / 0.6108 GB, free: 7.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.102, allocations: 16 kB / 0.6108 GB, free: 7.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.1021, allocations: 19.98 kB / 0.6109 GB, free: 7.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.1022, allocations: 45.7 kB / 0.6109 GB, free: 7.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1022, allocations: 0 / 0.6109 GB, free: 7.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002591/0.1024, allocations: 123.2 kB / 0.611 GB, free: 6.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.1025, allocations: 33.69 kB / 0.611 GB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1025, allocations: 0 / 0.611 GB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1026, allocations: 4 kB / 0.611 GB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.1027, allocations: 8 kB / 0.6111 GB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.1027, allocations: 7.938 kB / 0.6111 GB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.1028, allocations: 0 / 0.6111 GB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1028, allocations: 4.094 kB / 0.6111 GB, free: 6.844 MB / 282.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.0001269/0.1029, allocations: 135 kB / 0.6112 GB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.103, allocations: 11.91 kB / 0.6112 GB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.103, allocations: 16.3 kB / 0.6112 GB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1031, allocations: 0 / 0.6112 GB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1031, allocations: 4 kB / 0.6112 GB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.1031, allocations: 88.98 kB / 0.6113 GB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.1032, allocations: 4 kB / 0.6113 GB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.1032, allocations: 0 / 0.6113 GB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1033, allocations: 11.94 kB / 0.6113 GB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002031/0.1035, allocations: 144.9 kB / 0.6115 GB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001973/0.1037, allocations: 246.7 kB / 0.6117 GB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.041e-05/0.1038, allocations: 12.28 kB / 0.6117 GB, free: 6.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1039, allocations: 152.1 kB / 0.6119 GB, free: 5.98 MB / 282.7 MB Notification: Performance of Backend: time 8.62e-07/0.1039, allocations: 0 / 0.6119 GB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.1055, allocations: 446.7 kB / 0.6123 GB, free: 5.652 MB / 282.7 MB Notification: Performance of SimCode: time 0.0007298/0.1063, allocations: 0.6509 MB / 0.6129 GB, free: 4.953 MB / 282.7 MB Notification: Performance of Templates: time 0.005789/0.1121, allocations: 1.444 MB / 0.6143 GB, free: 3.52 MB / 282.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.verboseRead,t_new.y[1],time