Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004645/0.004651, 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.062/4.062, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.005727/0.005727, allocations: 232.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.5254/0.5254, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004718, allocations: 19.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09934, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002545/0.1019, allocations: 1.841 MB / 0.6819 GB, free: 39.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1034, allocations: 0.6636 MB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.1036, allocations: 4 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.1037, allocations: 27.77 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.1039, allocations: 59.48 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1044, allocations: 87.83 kB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.1047, allocations: 234.9 kB / 0.6829 GB, free: 38.74 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1049, allocations: 48.59 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.105, allocations: 91.64 kB / 0.6831 GB, free: 38.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1051, allocations: 83.62 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.1052, allocations: 12 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.069e-05/0.1053, allocations: 12 kB / 0.6832 GB, free: 38.49 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.1053, allocations: 35.83 kB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.1054, allocations: 69.58 kB / 0.6833 GB, free: 38.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1056, allocations: 175.7 kB / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1056, allocations: 0 / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1056, allocations: 0 / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1056, allocations: 0 / 0.6834 GB, free: 38.21 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008944/0.1065, allocations: 498.9 kB / 0.6839 GB, free: 37.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1066, allocations: 8.031 kB / 0.6839 GB, free: 37.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.1067, allocations: 23.72 kB / 0.6839 GB, free: 37.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1069, allocations: 238.7 kB / 0.6842 GB, free: 37.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.107, allocations: 16.44 kB / 0.6842 GB, free: 37.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.107, allocations: 20 kB / 0.6842 GB, free: 37.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.1075, allocations: 222.6 kB / 0.6844 GB, free: 37.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1075, allocations: 3.906 kB / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1076, allocations: 8 kB / 0.6844 GB, free: 37.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.1076, allocations: 7.938 kB / 0.6844 GB, free: 37.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.108, allocations: 147.8 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1096, allocations: 0.9769 MB / 0.6855 GB, free: 35.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.1101, allocations: 234.5 kB / 0.6858 GB, free: 35.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1103, allocations: 83.41 kB / 0.6858 GB, free: 35.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1103, allocations: 4 kB / 0.6858 GB, free: 35.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1104, allocations: 46.44 kB / 0.6859 GB, free: 35.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.927e-06/0.1104, allocations: 3.984 kB / 0.6859 GB, free: 35.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001754/0.1121, allocations: 1.015 MB / 0.6869 GB, free: 34.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1122, allocations: 136.5 kB / 0.687 GB, free: 34.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1124, allocations: 184.7 kB / 0.6872 GB, free: 33.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1125, allocations: 29.7 kB / 0.6872 GB, free: 33.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.1126, allocations: 152.1 kB / 0.6874 GB, free: 33.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.1127, allocations: 106.5 kB / 0.6875 GB, free: 33.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.1127, allocations: 4 kB / 0.6875 GB, free: 33.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.1128, allocations: 338.8 kB / 0.6878 GB, free: 33.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.113, allocations: 60.72 kB / 0.6878 GB, free: 33.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1132, allocations: 187 kB / 0.688 GB, free: 33.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.1134, allocations: 99.88 kB / 0.6881 GB, free: 32.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1135, allocations: 0 / 0.6881 GB, free: 32.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000646/0.1141, allocations: 300.9 kB / 0.6884 GB, free: 32.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1141, allocations: 8.312 kB / 0.6884 GB, free: 32.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1142, allocations: 8 kB / 0.6884 GB, free: 32.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.1142, allocations: 8 kB / 0.6884 GB, free: 32.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.1148, allocations: 87.83 kB / 0.6885 GB, free: 32.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.1148, allocations: 8 kB / 0.6885 GB, free: 32.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.115, allocations: 11.91 kB / 0.6885 GB, free: 32.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1151, allocations: 16.11 kB / 0.6885 GB, free: 32.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0001515/0.1152, allocations: 154.3 kB / 0.6887 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1153, allocations: 19.81 kB / 0.6887 GB, free: 32.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.1156, allocations: 115 kB / 0.6888 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1157, allocations: 0 / 0.6888 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1157, allocations: 0 / 0.6888 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.1157, allocations: 100.8 kB / 0.6889 GB, free: 32.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.1158, allocations: 8 kB / 0.6889 GB, free: 32.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.1161, allocations: 4 kB / 0.6889 GB, free: 32.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1162, allocations: 23.94 kB / 0.6889 GB, free: 32.02 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009457/0.1172, allocations: 0.554 MB / 0.6895 GB, free: 31.45 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000757/0.1179, allocations: 0.6689 MB / 0.6901 GB, free: 30.77 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001697/0.1181, allocations: 75.95 kB / 0.6902 GB, free: 30.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1183, allocations: 137.8 kB / 0.6903 GB, free: 30.56 MB / 346.7 MB Notification: Performance of Backend: time 7.81e-07/0.1183, allocations: 0 / 0.6903 GB, free: 30.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009752/0.1193, allocations: 222.1 kB / 0.6906 GB, free: 30.34 MB / 346.7 MB Notification: Performance of SimCode: time 0.00219/0.1215, allocations: 1.466 MB / 0.692 GB, free: 28.83 MB / 346.7 MB Notification: Performance of Templates: time 0.008037/0.1295, allocations: 2.32 MB / 0.6943 GB, free: 26.54 MB / 346.7 MB