Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002671/0.002671, allocations: 353.4 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.558/3.558, 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.00354/0.00354, allocations: 229.1 kB / 397.9 MB, free: 4.984 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.5586/0.5586, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 15.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08656/0.08707, allocations: 48.71 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002041/0.08917, allocations: 1.299 MB / 0.608 GB, free: 3.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.09016, allocations: 419.5 kB / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.09025, allocations: 0 / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.09055, allocations: 35.91 kB / 0.6085 GB, free: 2.875 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.09074, allocations: 27.91 kB / 0.6085 GB, free: 2.848 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.09099, allocations: 63.8 kB / 0.6085 GB, free: 2.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.09114, allocations: 55.84 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.09125, allocations: 15.92 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.09133, allocations: 23.91 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.09141, allocations: 27.86 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.09144, allocations: 0 / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.09159, allocations: 39.92 kB / 0.6087 GB, free: 2.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.09165, allocations: 23.97 kB / 0.6087 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.0917, allocations: 41.58 kB / 0.6088 GB, free: 2.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.09189, allocations: 76.12 kB / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.09191, allocations: 0 / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09192, allocations: 0 / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.09194, allocations: 0 / 0.6088 GB, free: 2.48 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.0005857/0.09253, allocations: 416.6 kB / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.09259, allocations: 8.031 kB / 0.6092 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.09265, allocations: 11.86 kB / 0.6093 GB, free: 2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.09287, allocations: 204.9 kB / 0.6094 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.0929, allocations: 0 / 0.6094 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.09294, allocations: 4 kB / 0.6095 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.09309, allocations: 45.67 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.09311, allocations: 3.938 kB / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.09313, allocations: 0 / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.09315, allocations: 0 / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.441e-05/0.09322, allocations: 15.95 kB / 0.6095 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.0936, allocations: 292.8 kB / 0.6098 GB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.09383, allocations: 38.56 kB / 0.6098 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.09388, allocations: 12.84 kB / 0.6098 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.09391, allocations: 4 kB / 0.6098 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.09408, allocations: 59.48 kB / 0.6099 GB, free: 1.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.524e-06/0.0941, allocations: 0 / 0.6099 GB, free: 1.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004539/0.09456, allocations: 125.3 kB / 0.61 GB, free: 1.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.0946, allocations: 51.41 kB / 0.6101 GB, free: 1.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.0948, allocations: 190.3 kB / 0.6103 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.09483, allocations: 25.7 kB / 0.6103 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.09489, allocations: 96.12 kB / 0.6104 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.09493, allocations: 15.81 kB / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.09496, allocations: 0 / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.09504, allocations: 322.8 kB / 0.6107 GB, free: 368 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.09511, allocations: 23.94 kB / 0.6107 GB, free: 344 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.09517, allocations: 19.98 kB / 0.6107 GB, free: 324 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.09525, allocations: 53.73 kB / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09527, allocations: 0 / 0.6108 GB, free: 264 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000209/0.09548, allocations: 119.2 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.09553, allocations: 33.69 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.09555, allocations: 0 / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.09558, allocations: 7.953 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.09566, allocations: 4 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.09569, allocations: 4.156 kB / 0.6109 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.09576, allocations: 4 kB / 0.6109 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.09579, allocations: 11.98 kB / 0.611 GB, free: 60 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.3072/0.403, allocations: 117.4 kB / 0.6111 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.4031, allocations: 9.656 kB / 0.6111 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.4032, allocations: 12.91 kB / 0.6111 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4032, allocations: 4.109 kB / 0.6111 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4032, allocations: 0 / 0.6111 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.4032, allocations: 86.3 kB / 0.6112 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.4033, allocations: 3.672 kB / 0.6112 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.4034, allocations: 6.906 kB / 0.6112 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.4034, allocations: 6.797 kB / 0.6112 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002259/0.4037, allocations: 147.4 kB / 0.6113 GB, free: 89.98 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001981/0.4039, allocations: 241.8 kB / 0.6116 GB, free: 89.78 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.284e-05/0.4039, allocations: 14.23 kB / 0.6116 GB, free: 89.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.4041, allocations: 143.7 kB / 0.6117 GB, free: 89.71 MB / 362.7 MB Notification: Performance of Backend: time 8.12e-07/0.4041, allocations: 0 / 0.6117 GB, free: 89.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.4055, allocations: 426 kB / 0.6121 GB, free: 89.58 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006272/0.4061, allocations: 0.6513 MB / 0.6128 GB, free: 88.97 MB / 362.7 MB Notification: Performance of Templates: time 0.005972/0.4121, allocations: 1.431 MB / 0.6142 GB, free: 88.96 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