Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004425/0.004424, allocations: 364.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.277/4.277, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.007204/0.007204, allocations: 234.1 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5648/0.5648, allocations: 80.01 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004894, allocations: 15.44 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09524, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001957/0.09725, allocations: 1.359 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.09931, allocations: 1.278 MB / 0.6827 GB, free: 39 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.09945, allocations: 0 / 0.6827 GB, free: 39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.09974, allocations: 35.83 kB / 0.6827 GB, free: 38.96 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.09995, allocations: 35.91 kB / 0.6828 GB, free: 38.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1002, allocations: 55.77 kB / 0.6828 GB, free: 38.87 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1003, allocations: 91.75 kB / 0.6829 GB, free: 38.78 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1005, allocations: 11.98 kB / 0.6829 GB, free: 38.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.1006, allocations: 39.84 kB / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1007, allocations: 39.83 kB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1008, allocations: 4 kB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1009, allocations: 51.98 kB / 0.683 GB, free: 38.64 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.101, allocations: 19.91 kB / 0.6831 GB, free: 38.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1011, allocations: 45.58 kB / 0.6831 GB, free: 38.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1013, allocations: 100.1 kB / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1013, allocations: 0 / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1013, allocations: 0 / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1013, allocations: 0 / 0.6832 GB, free: 38.47 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005385/0.1019, allocations: 462.2 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1019, allocations: 8.828 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.102, allocations: 7.906 kB / 0.6836 GB, free: 37.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1022, allocations: 202.9 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1022, allocations: 4 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1023, allocations: 7.938 kB / 0.6839 GB, free: 37.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.1025, allocations: 79.38 kB / 0.6839 GB, free: 37.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1025, allocations: 7.953 kB / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1026, allocations: 0 / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1026, allocations: 0 / 0.6839 GB, free: 37.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1027, allocations: 31.97 kB / 0.684 GB, free: 37.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1031, allocations: 308.7 kB / 0.6843 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1034, allocations: 74.61 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.1035, allocations: 32.81 kB / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1035, allocations: 3.984 kB / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.1038, allocations: 67.39 kB / 0.6844 GB, free: 37.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.1038, allocations: 0 / 0.6844 GB, free: 37.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007664/0.1045, allocations: 197.3 kB / 0.6846 GB, free: 36.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1046, allocations: 85.11 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1048, allocations: 166.1 kB / 0.6849 GB, free: 36.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1048, allocations: 25.7 kB / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1048, allocations: 100.1 kB / 0.685 GB, free: 36.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1049, allocations: 27.56 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.1049, allocations: 4 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.105, allocations: 318.8 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1051, allocations: 40.08 kB / 0.6854 GB, free: 36.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1053, allocations: 74.36 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1054, allocations: 69.69 kB / 0.6855 GB, free: 35.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1054, allocations: 0 / 0.6855 GB, free: 35.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003769/0.1058, allocations: 179.2 kB / 0.6857 GB, free: 35.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.1059, allocations: 41.69 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1059, allocations: 0 / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1059, allocations: 0 / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1061, allocations: 19.94 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1061, allocations: 4.062 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.655e-05/0.1062, allocations: 7.984 kB / 0.6857 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1062, allocations: 8 kB / 0.6857 GB, free: 35.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001025/0.1063, allocations: 121.8 kB / 0.6859 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.1064, allocations: 15.86 kB / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.1064, allocations: 16.7 kB / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1065, allocations: 0 / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1065, allocations: 0 / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.1066, allocations: 100.9 kB / 0.686 GB, free: 35.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.1066, allocations: 8 kB / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1067, allocations: 3.984 kB / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1067, allocations: 4 kB / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003155/0.1071, allocations: 188.9 kB / 0.6862 GB, free: 35.1 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003224/0.1074, allocations: 294.6 kB / 0.6865 GB, free: 34.8 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001058/0.1075, allocations: 36.27 kB / 0.6865 GB, free: 34.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.468e-05/0.1076, allocations: 107.8 kB / 0.6866 GB, free: 34.66 MB / 346.7 MB Notification: Performance of Backend: time 9.41e-07/0.1076, allocations: 3.938 kB / 0.6866 GB, free: 34.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.1096, allocations: 0.6237 MB / 0.6872 GB, free: 34.19 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006154/0.1103, allocations: 0.6621 MB / 0.6879 GB, free: 33.49 MB / 346.7 MB Notification: Performance of Templates: time 0.006391/0.1167, allocations: 2.063 MB / 0.6899 GB, free: 31.44 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.timeScale,t_new.verboseRead,t_new.y[1],t_new.y[2],time