Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0026/0.002604, allocations: 351.3 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.683/3.683, 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.003562/0.003562, allocations: 225.1 kB / 397.9 MB, free: 4.977 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.4953/0.4953, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006392/0.0006395, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09861, allocations: 48.71 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002553/0.1012, allocations: 1.307 MB / 0.608 GB, free: 3.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1025, allocations: 423.5 kB / 0.6084 GB, free: 2.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.1026, allocations: 0 / 0.6084 GB, free: 2.898 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1029, allocations: 39.83 kB / 0.6085 GB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1031, allocations: 23.92 kB / 0.6085 GB, free: 2.836 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1035, allocations: 55.81 kB / 0.6085 GB, free: 2.781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1036, allocations: 59.83 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1038, allocations: 19.98 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.1039, allocations: 23.86 kB / 0.6086 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.104, allocations: 23.91 kB / 0.6087 GB, free: 2.656 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.104, allocations: 0 / 0.6087 GB, free: 2.656 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1042, allocations: 43.92 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.1043, allocations: 11.98 kB / 0.6087 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1043, allocations: 41.58 kB / 0.6088 GB, free: 2.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1046, allocations: 80.11 kB / 0.6088 GB, free: 2.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1046, allocations: 8 kB / 0.6088 GB, free: 2.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1046, allocations: 0 / 0.6088 GB, free: 2.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1046, allocations: 0 / 0.6088 GB, free: 2.469 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.0005565/0.1052, allocations: 412.6 kB / 0.6092 GB, free: 2.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1053, allocations: 12.03 kB / 0.6092 GB, free: 2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1053, allocations: 11.86 kB / 0.6093 GB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1056, allocations: 196.9 kB / 0.6094 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1056, allocations: 4 kB / 0.6095 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1057, allocations: 0 / 0.6095 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1058, allocations: 45.69 kB / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1059, allocations: 7.938 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1059, allocations: 0 / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1059, allocations: 0 / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.106, allocations: 19.94 kB / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1064, allocations: 284.8 kB / 0.6098 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1067, allocations: 46.5 kB / 0.6098 GB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.1068, allocations: 8.859 kB / 0.6098 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1068, allocations: 0 / 0.6098 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.107, allocations: 59.48 kB / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.1071, allocations: 4 kB / 0.6099 GB, free: 1.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005864/0.1077, allocations: 117.3 kB / 0.61 GB, free: 1.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.1077, allocations: 51.41 kB / 0.6101 GB, free: 1.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.108, allocations: 190.3 kB / 0.6102 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.108, allocations: 33.7 kB / 0.6103 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.1081, allocations: 92.14 kB / 0.6104 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1081, allocations: 15.8 kB / 0.6104 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.1081, allocations: 4 kB / 0.6104 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.1082, allocations: 314.8 kB / 0.6107 GB, free: 368 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.1083, allocations: 23.98 kB / 0.6107 GB, free: 344 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.1083, allocations: 27.84 kB / 0.6107 GB, free: 316 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.873e-05/0.1084, allocations: 45.7 kB / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1084, allocations: 4 kB / 0.6108 GB, free: 260 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002222/0.1087, allocations: 119.3 kB / 0.6109 GB, free: 128 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.1087, allocations: 37.64 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1087, allocations: 0 / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1088, allocations: 7.938 kB / 0.6109 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.1089, allocations: 8 kB / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1089, allocations: 0 / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.109, allocations: 4 kB / 0.611 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.109, allocations: 0 / 0.611 GB, free: 64 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.2849/0.3939, allocations: 126.9 kB / 0.6111 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.3939, allocations: 9.75 kB / 0.6111 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.394, allocations: 15.95 kB / 0.6111 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.394, allocations: 2.328 kB / 0.6111 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.394, allocations: 0 / 0.6111 GB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3941, allocations: 89.2 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.3941, allocations: 4.266 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.3942, allocations: 3.812 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.3943, allocations: 11.33 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002292/0.3945, allocations: 146.2 kB / 0.6113 GB, free: 90.19 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002057/0.3947, allocations: 239.6 kB / 0.6116 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.565e-05/0.3948, allocations: 14.27 kB / 0.6116 GB, free: 89.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.395, allocations: 136.2 kB / 0.6117 GB, free: 89.91 MB / 362.7 MB Notification: Performance of Backend: time 2.264e-06/0.395, allocations: 1.188 kB / 0.6117 GB, free: 89.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.3965, allocations: 434.1 kB / 0.6121 GB, free: 89.79 MB / 362.7 MB Notification: Performance of SimCode: time 0.000635/0.3971, allocations: 0.6422 MB / 0.6128 GB, free: 89.17 MB / 362.7 MB Notification: Performance of Templates: time 0.006027/0.4032, allocations: 1.428 MB / 0.6142 GB, free: 89.16 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