Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00278/0.00278, allocations: 360.2 kB / 15.96 MB, free: 6.184 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.27/4.27, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003693/0.003693, allocations: 236.1 kB / 451 MB, free: 145 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.5638/0.5638, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004878, allocations: 16.97 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09438, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002497/0.09693, allocations: 1.59 MB / 0.6817 GB, free: 40.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.09862, allocations: 0.7929 MB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.09883, allocations: 0 / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.09913, allocations: 31.83 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.09937, allocations: 43.77 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.09968, allocations: 75.84 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.09992, allocations: 167.5 kB / 0.6827 GB, free: 38.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1001, allocations: 29.53 kB / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1002, allocations: 67.7 kB / 0.6828 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1004, allocations: 67.67 kB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.1004, allocations: 8 kB / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1006, allocations: 39.98 kB / 0.6829 GB, free: 38.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.1006, allocations: 23.91 kB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.1007, allocations: 53.52 kB / 0.683 GB, free: 38.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.101, allocations: 136 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.101, allocations: 0 / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.101, allocations: 3.938 kB / 0.6832 GB, free: 38.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.101, allocations: 0 / 0.6832 GB, free: 38.49 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001057/0.1021, allocations: 0.5909 MB / 0.6837 GB, free: 37.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1021, allocations: 8.031 kB / 0.6837 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.1022, allocations: 15.81 kB / 0.6838 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1025, allocations: 230.7 kB / 0.684 GB, free: 37.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1026, allocations: 8 kB / 0.684 GB, free: 37.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.1026, allocations: 8 kB / 0.684 GB, free: 37.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.1032, allocations: 137.5 kB / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1032, allocations: 0 / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1033, allocations: 4 kB / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1033, allocations: 3.953 kB / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.104, allocations: 131.9 kB / 0.6843 GB, free: 37.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.1047, allocations: 396.5 kB / 0.6846 GB, free: 36.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1058, allocations: 190.5 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.1062, allocations: 92.73 kB / 0.6849 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.1063, allocations: 3.984 kB / 0.6849 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/0.1069, allocations: 147.2 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.817e-06/0.1069, allocations: 0 / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001432/0.1084, allocations: 301.2 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1084, allocations: 51.41 kB / 0.6854 GB, free: 36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1087, allocations: 210.2 kB / 0.6856 GB, free: 35.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1088, allocations: 29.7 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.1088, allocations: 120.1 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.1089, allocations: 31.56 kB / 0.6858 GB, free: 35.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.1089, allocations: 4 kB / 0.6858 GB, free: 35.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.109, allocations: 334.8 kB / 0.6861 GB, free: 35.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.1095, allocations: 88.12 kB / 0.6862 GB, free: 35.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.1099, allocations: 110.9 kB / 0.6863 GB, free: 35.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.1104, allocations: 150.1 kB / 0.6864 GB, free: 34.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1105, allocations: 0 / 0.6864 GB, free: 34.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001118/0.1116, allocations: 312.7 kB / 0.6867 GB, free: 34.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.1117, allocations: 67.39 kB / 0.6868 GB, free: 34.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1117, allocations: 4 kB / 0.6868 GB, free: 34.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.1117, allocations: 3.953 kB / 0.6868 GB, free: 34.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.112, allocations: 43.97 kB / 0.6868 GB, free: 34.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1121, allocations: 4 kB / 0.6868 GB, free: 34.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.1124, allocations: 35.88 kB / 0.6869 GB, free: 34.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1124, allocations: 7.984 kB / 0.6869 GB, free: 34.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001517/0.1126, allocations: 141.4 kB / 0.687 GB, free: 34.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1126, allocations: 19.75 kB / 0.687 GB, free: 34.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.1127, allocations: 21.39 kB / 0.687 GB, free: 34.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1127, allocations: 4 kB / 0.687 GB, free: 34.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1128, allocations: 3.953 kB / 0.6871 GB, free: 34.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.1129, allocations: 96.91 kB / 0.6871 GB, free: 34.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.1129, allocations: 15.92 kB / 0.6872 GB, free: 34.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.1132, allocations: 31.97 kB / 0.6872 GB, free: 34.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.1133, allocations: 19.97 kB / 0.6872 GB, free: 34.03 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001239/0.1146, allocations: 320.7 kB / 0.6875 GB, free: 33.71 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001499/0.1161, allocations: 497.2 kB / 0.688 GB, free: 33.21 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004402/0.1166, allocations: 91.97 kB / 0.6881 GB, free: 33.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.1168, allocations: 160 kB / 0.6882 GB, free: 32.96 MB / 346.7 MB Notification: Performance of Backend: time 7.41e-07/0.1168, allocations: 0 / 0.6882 GB, free: 32.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.119, allocations: 0.6519 MB / 0.6889 GB, free: 32.44 MB / 346.7 MB Notification: Performance of SimCode: time 0.0009112/0.12, allocations: 0.7801 MB / 0.6896 GB, free: 31.62 MB / 346.7 MB Notification: Performance of Templates: time 0.008275/0.1283, allocations: 2.805 MB / 0.6924 GB, free: 28.82 MB / 346.7 MB