Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002588/0.002593, allocations: 353 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.859/3.859, 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.003565/0.003565, allocations: 229 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.6023/0.6023, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006557, allocations: 23.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09894, allocations: 48.71 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002064/0.1011, allocations: 1.299 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.102, allocations: 423.5 kB / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.1021, allocations: 0 / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1025, allocations: 91.8 kB / 0.6085 GB, free: 2.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1027, allocations: 63.84 kB / 0.6086 GB, free: 2.758 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.1029, allocations: 59.81 kB / 0.6086 GB, free: 2.699 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1031, allocations: 83.73 kB / 0.6087 GB, free: 2.617 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.1032, allocations: 4 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/0.1033, allocations: 39.84 kB / 0.6088 GB, free: 2.574 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.1034, allocations: 43.88 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1034, allocations: 0 / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1035, allocations: 35.94 kB / 0.6088 GB, free: 2.496 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1036, allocations: 31.89 kB / 0.6089 GB, free: 2.465 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.1037, allocations: 41.64 kB / 0.6089 GB, free: 2.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1038, allocations: 88.11 kB / 0.609 GB, free: 2.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1039, allocations: 0 / 0.609 GB, free: 2.332 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1039, allocations: 0 / 0.609 GB, free: 2.332 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1039, allocations: 0 / 0.609 GB, free: 2.332 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.0005035/0.1044, allocations: 424.4 kB / 0.6094 GB, free: 1.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1045, allocations: 12.03 kB / 0.6094 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.1045, allocations: 11.86 kB / 0.6094 GB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1048, allocations: 198.9 kB / 0.6096 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1048, allocations: 8 kB / 0.6096 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1048, allocations: 3.906 kB / 0.6096 GB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.105, allocations: 45.67 kB / 0.6097 GB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.105, allocations: 3.938 kB / 0.6097 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.105, allocations: 0 / 0.6097 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.105, allocations: 4 kB / 0.6097 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.1051, allocations: 15.89 kB / 0.6097 GB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.1054, allocations: 280.9 kB / 0.6099 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1057, allocations: 46.56 kB / 0.61 GB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.1057, allocations: 12.86 kB / 0.61 GB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1057, allocations: 8.062 kB / 0.61 GB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.1059, allocations: 59.34 kB / 0.6101 GB, free: 1.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.1059, allocations: 0 / 0.6101 GB, free: 1.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004336/0.1064, allocations: 117.2 kB / 0.6102 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1064, allocations: 59.34 kB / 0.6102 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1066, allocations: 224.6 kB / 0.6104 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1067, allocations: 33.69 kB / 0.6105 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.1067, allocations: 96.14 kB / 0.6106 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1068, allocations: 27.72 kB / 0.6106 GB, free: 476 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.1068, allocations: 0 / 0.6106 GB, free: 476 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.1069, allocations: 322.8 kB / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.1069, allocations: 20 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.107, allocations: 23.98 kB / 0.6109 GB, free: 100 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/0.1071, allocations: 49.73 kB / 0.611 GB, free: 44 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1071, allocations: 0 / 0.611 GB, free: 44 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.2838/0.3909, allocations: 121.2 kB / 0.6111 GB, free: 90.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.391, allocations: 33.94 kB / 0.6111 GB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3911, allocations: 0 / 0.6111 GB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.3911, allocations: 3.219 kB / 0.6111 GB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3912, allocations: 8.797 kB / 0.6112 GB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.3913, allocations: 0 / 0.6112 GB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3914, allocations: 4.641 kB / 0.6112 GB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3914, allocations: 7.766 kB / 0.6112 GB, free: 90.36 MB / 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.0001743/0.3916, allocations: 132.2 kB / 0.6113 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.3917, allocations: 8.656 kB / 0.6113 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.219e-05/0.3918, allocations: 18.22 kB / 0.6113 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3918, allocations: 3.953 kB / 0.6113 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3918, allocations: 3.281 kB / 0.6113 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.3919, allocations: 88.02 kB / 0.6114 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3919, allocations: 5.859 kB / 0.6114 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.392, allocations: 5.969 kB / 0.6114 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.3921, allocations: 4.766 kB / 0.6114 GB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002703/0.3924, allocations: 144.9 kB / 0.6116 GB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003268/0.3927, allocations: 251.4 kB / 0.6118 GB, free: 89.84 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.692e-05/0.3928, allocations: 18.41 kB / 0.6118 GB, free: 89.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000282/0.3931, allocations: 171.1 kB / 0.612 GB, free: 89.77 MB / 362.7 MB Notification: Performance of Backend: time 1.032e-06/0.3932, allocations: 0 / 0.612 GB, free: 89.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.3952, allocations: 439.7 kB / 0.6124 GB, free: 89.64 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008734/0.3961, allocations: 0.6792 MB / 0.6131 GB, free: 89.02 MB / 362.7 MB Notification: Performance of Templates: time 0.007664/0.4038, allocations: 1.444 MB / 0.6145 GB, free: 89.01 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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.verboseRead,t_new.y[1],time