Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004054/0.004054, allocations: 353.2 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.932/3.932, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003704/0.003704, allocations: 225.2 kB / 397.9 MB, free: 4.895 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.4713/0.4713, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004969, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09455, allocations: 48.71 MB / 0.6068 GB, free: 4.617 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001959/0.09657, allocations: 1.296 MB / 0.608 GB, free: 3.309 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.0975, allocations: 427.4 kB / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.09757, allocations: 0 / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.09786, allocations: 31.89 kB / 0.6085 GB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.09803, allocations: 31.89 kB / 0.6085 GB, free: 2.824 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.09826, allocations: 59.83 kB / 0.6085 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.0984, allocations: 63.81 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.09851, allocations: 7.984 kB / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.09858, allocations: 27.86 kB / 0.6086 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.09866, allocations: 31.84 kB / 0.6087 GB, free: 2.637 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.09869, allocations: 0 / 0.6087 GB, free: 2.637 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.09882, allocations: 39.98 kB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.09887, allocations: 15.86 kB / 0.6087 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.09892, allocations: 41.64 kB / 0.6088 GB, free: 2.535 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.0991, allocations: 84.11 kB / 0.6088 GB, free: 2.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.09912, allocations: 4 kB / 0.6088 GB, free: 2.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09913, allocations: 0 / 0.6088 GB, free: 2.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.09914, allocations: 0 / 0.6088 GB, free: 2.449 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.0004391/0.09959, allocations: 408.6 kB / 0.6092 GB, free: 1.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.09964, allocations: 12.03 kB / 0.6092 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.09969, allocations: 11.86 kB / 0.6093 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.09988, allocations: 192.9 kB / 0.6094 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.09992, allocations: 15.98 kB / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.09995, allocations: 0 / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1001, allocations: 45.62 kB / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1001, allocations: 4 kB / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1001, allocations: 0 / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1001, allocations: 0 / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.1002, allocations: 19.94 kB / 0.6095 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.1006, allocations: 272.9 kB / 0.6098 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1008, allocations: 46.5 kB / 0.6098 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.1008, allocations: 16.94 kB / 0.6098 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1009, allocations: 3.984 kB / 0.6098 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.101, allocations: 51.41 kB / 0.6099 GB, free: 1.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.101, allocations: 4 kB / 0.6099 GB, free: 1.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004224/0.1015, allocations: 125.3 kB / 0.61 GB, free: 1.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.1015, allocations: 55.41 kB / 0.6101 GB, free: 1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1017, allocations: 182.3 kB / 0.6102 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1017, allocations: 29.7 kB / 0.6103 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1018, allocations: 100.1 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1018, allocations: 7.812 kB / 0.6104 GB, free: 0.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.1019, allocations: 8 kB / 0.6104 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.1019, allocations: 318.8 kB / 0.6107 GB, free: 348 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.102, allocations: 23.92 kB / 0.6107 GB, free: 324 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.1021, allocations: 20 kB / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.1022, allocations: 45.8 kB / 0.6108 GB, free: 252 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1022, allocations: 3.938 kB / 0.6108 GB, free: 248 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002079/0.1024, allocations: 123.2 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.1024, allocations: 37.7 kB / 0.6109 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1024, allocations: 0 / 0.6109 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1025, allocations: 3.953 kB / 0.6109 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.1026, allocations: 11.98 kB / 0.6109 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1026, allocations: 0 / 0.6109 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.1026, allocations: 4 kB / 0.611 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1027, allocations: 4 kB / 0.611 GB, free: 44 kB / 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.3125/0.4152, allocations: 121.3 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.4152, allocations: 8.672 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.062e-05/0.4153, allocations: 13.62 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.4154, allocations: 3.172 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4154, allocations: 0 / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.4155, allocations: 90.84 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.4155, allocations: 3.391 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.4156, allocations: 2.406 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.4157, allocations: 11.42 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002872/0.416, allocations: 148.4 kB / 0.6113 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002736/0.4163, allocations: 244.3 kB / 0.6116 GB, free: 89.94 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.765e-05/0.4164, allocations: 12.03 kB / 0.6116 GB, free: 89.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.4166, allocations: 143.3 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of Backend: time 9.72e-07/0.4166, allocations: 3.812 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.4186, allocations: 427.4 kB / 0.6121 GB, free: 89.74 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008038/0.4194, allocations: 0.6462 MB / 0.6128 GB, free: 89.12 MB / 362.7 MB Notification: Performance of Templates: time 0.006475/0.4259, allocations: 1.431 MB / 0.6142 GB, free: 89.11 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.verboseRead,t_new.y[1],time