Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00259/0.002594, allocations: 352.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.653/3.653, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003445/0.003445, allocations: 217.1 kB / 397.9 MB, free: 4.988 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.5051/0.5051, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006486, allocations: 23.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08706, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001906/0.08902, allocations: 1.299 MB / 0.608 GB, free: 3.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.09, allocations: 423.5 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.09009, allocations: 0 / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.09038, allocations: 35.89 kB / 0.6085 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.09057, allocations: 19.92 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.09085, allocations: 67.8 kB / 0.6085 GB, free: 2.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.09099, allocations: 55.84 kB / 0.6086 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.09111, allocations: 15.97 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.09119, allocations: 31.86 kB / 0.6086 GB, free: 2.699 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.09127, allocations: 15.92 kB / 0.6087 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.0913, allocations: 0 / 0.6087 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.09144, allocations: 43.92 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.0915, allocations: 11.98 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.09155, allocations: 41.58 kB / 0.6087 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.09174, allocations: 84.05 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.09176, allocations: 4 kB / 0.6088 GB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.09178, allocations: 4 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09179, allocations: 0 / 0.6088 GB, free: 2.492 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.0004837/0.09228, allocations: 412.6 kB / 0.6092 GB, free: 2.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.09234, allocations: 12.03 kB / 0.6092 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.0924, allocations: 15.86 kB / 0.6093 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.09261, allocations: 196.9 kB / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.09264, allocations: 4 kB / 0.6094 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.09267, allocations: 0 / 0.6094 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.0928, allocations: 49.67 kB / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.09283, allocations: 7.938 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.09285, allocations: 4 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.09286, allocations: 0 / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.045e-05/0.09293, allocations: 11.95 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.09329, allocations: 280.8 kB / 0.6098 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.09354, allocations: 46.48 kB / 0.6098 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.09359, allocations: 16.86 kB / 0.6098 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.09363, allocations: 0 / 0.6098 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.09382, allocations: 55.48 kB / 0.6099 GB, free: 1.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.09383, allocations: 4 kB / 0.6099 GB, free: 1.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004851/0.09433, allocations: 117.3 kB / 0.61 GB, free: 1.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.09437, allocations: 51.41 kB / 0.6101 GB, free: 1.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.09457, allocations: 190.3 kB / 0.6102 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.09461, allocations: 33.7 kB / 0.6103 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.09467, allocations: 96.14 kB / 0.6104 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.0947, allocations: 11.8 kB / 0.6104 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.09472, allocations: 4 kB / 0.6104 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.09479, allocations: 318.8 kB / 0.6107 GB, free: 384 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.09486, allocations: 20 kB / 0.6107 GB, free: 364 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.09493, allocations: 31.89 kB / 0.6107 GB, free: 332 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/0.09501, allocations: 45.7 kB / 0.6108 GB, free: 280 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.09503, allocations: 0 / 0.6108 GB, free: 280 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002157/0.09525, allocations: 123.3 kB / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.0953, allocations: 41.62 kB / 0.6109 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.09532, allocations: 0 / 0.6109 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.09534, allocations: 3.953 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.09544, allocations: 8 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.09546, allocations: 0 / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.09554, allocations: 8 kB / 0.611 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.09556, allocations: 0 / 0.611 GB, free: 76 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.3046/0.4002, allocations: 124.9 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.4003, allocations: 11.41 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.4004, allocations: 11.75 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4004, allocations: 2.906 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4005, allocations: 0 / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.4005, allocations: 88.91 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.4006, allocations: 4.25 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4007, allocations: 2.797 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.4008, allocations: 8.031 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000341/0.4012, allocations: 149.1 kB / 0.6113 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003174/0.4015, allocations: 242.4 kB / 0.6116 GB, free: 89.94 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.893e-05/0.4016, allocations: 15.42 kB / 0.6116 GB, free: 89.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002465/0.4019, allocations: 140 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of Backend: time 3.135e-06/0.4019, allocations: 0 / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.4043, allocations: 427.5 kB / 0.6121 GB, free: 89.74 MB / 362.7 MB Notification: Performance of SimCode: time 0.001076/0.4054, allocations: 0.6482 MB / 0.6128 GB, free: 89.12 MB / 362.7 MB Notification: Performance of Templates: time 0.009705/0.4152, allocations: 1.427 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