Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.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.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003941/0.003947, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.133/4.133, allocations: 388.9 MB / 405.6 MB, free: 9.559 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.003605/0.003605, allocations: 226.7 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.5413/0.5413, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.000449, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.09412, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002368/0.09655, allocations: 1.791 MB / 0.6818 GB, free: 39.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.09781, allocations: 0.652 MB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.09796, allocations: 4 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.701e-05/0.09804, allocations: 23.78 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.09827, allocations: 71.45 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.09864, allocations: 75.8 kB / 0.6826 GB, free: 39.03 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.09894, allocations: 238.8 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.09911, allocations: 52.64 kB / 0.6829 GB, free: 38.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.09922, allocations: 79.72 kB / 0.683 GB, free: 38.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.09939, allocations: 87.56 kB / 0.6831 GB, free: 38.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.09944, allocations: 12 kB / 0.6831 GB, free: 38.56 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/0.0995, allocations: 8 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.09954, allocations: 39.83 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.0996, allocations: 65.64 kB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.0998, allocations: 159.8 kB / 0.6834 GB, free: 38.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.09982, allocations: 7.938 kB / 0.6834 GB, free: 38.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09983, allocations: 3.938 kB / 0.6834 GB, free: 38.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.09984, allocations: 0 / 0.6834 GB, free: 38.28 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007773/0.1006, allocations: 475 kB / 0.6838 GB, free: 37.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1007, allocations: 12.55 kB / 0.6838 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.1008, allocations: 23.72 kB / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.101, allocations: 231.2 kB / 0.6841 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1011, allocations: 16.38 kB / 0.6841 GB, free: 37.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.1011, allocations: 27.91 kB / 0.6841 GB, free: 37.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.1015, allocations: 218.7 kB / 0.6843 GB, free: 37.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1016, allocations: 0 / 0.6843 GB, free: 37.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1016, allocations: 15.95 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1016, allocations: 4 kB / 0.6843 GB, free: 37.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1019, allocations: 115.9 kB / 0.6845 GB, free: 37.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1036, allocations: 1.029 MB / 0.6855 GB, free: 35.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1038, allocations: 170.4 kB / 0.6856 GB, free: 35.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.1039, allocations: 47.47 kB / 0.6857 GB, free: 35.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.104, allocations: 7.938 kB / 0.6857 GB, free: 35.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.104, allocations: 42.5 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.104, allocations: 0 / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004463/0.1045, allocations: 149.3 kB / 0.6859 GB, free: 35.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1045, allocations: 132.5 kB / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1047, allocations: 181.4 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1047, allocations: 29.7 kB / 0.6862 GB, free: 35.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.1048, allocations: 159.8 kB / 0.6863 GB, free: 34.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.1049, allocations: 59.31 kB / 0.6864 GB, free: 34.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.1049, allocations: 8 kB / 0.6864 GB, free: 34.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.105, allocations: 330.8 kB / 0.6867 GB, free: 34.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1051, allocations: 39.97 kB / 0.6868 GB, free: 34.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1053, allocations: 160.7 kB / 0.6869 GB, free: 34.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1054, allocations: 60 kB / 0.687 GB, free: 34.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1055, allocations: 0 / 0.687 GB, free: 34.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004406/0.1059, allocations: 241.1 kB / 0.6872 GB, free: 33.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1059, allocations: 4 kB / 0.6872 GB, free: 33.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.106, allocations: 4 kB / 0.6872 GB, free: 33.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.106, allocations: 11.94 kB / 0.6872 GB, free: 33.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.1064, allocations: 63.91 kB / 0.6873 GB, free: 33.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1064, allocations: 7.938 kB / 0.6873 GB, free: 33.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1066, allocations: 27.77 kB / 0.6873 GB, free: 33.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1066, allocations: 12 kB / 0.6873 GB, free: 33.85 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 (31): * Single equations (assignments): 31 * 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.0001197/0.1067, allocations: 146 kB / 0.6875 GB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.1068, allocations: 15.81 kB / 0.6875 GB, free: 33.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.107, allocations: 70.61 kB / 0.6875 GB, free: 33.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.107, allocations: 7.938 kB / 0.6875 GB, free: 33.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1071, allocations: 0 / 0.6875 GB, free: 33.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.1071, allocations: 96.86 kB / 0.6876 GB, free: 33.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.1072, allocations: 7.984 kB / 0.6876 GB, free: 33.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.1074, allocations: 11.95 kB / 0.6877 GB, free: 33.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.1075, allocations: 11.98 kB / 0.6877 GB, free: 33.45 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007492/0.1082, allocations: 475.1 kB / 0.6881 GB, free: 32.98 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005114/0.1088, allocations: 0.582 MB / 0.6887 GB, free: 32.38 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001077/0.1089, allocations: 48.38 kB / 0.6887 GB, free: 32.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.109, allocations: 134.3 kB / 0.6889 GB, free: 32.21 MB / 346.7 MB Notification: Performance of Backend: time 7.71e-07/0.109, allocations: 0 / 0.6889 GB, free: 32.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008587/0.1099, allocations: 178.1 kB / 0.689 GB, free: 32.03 MB / 346.7 MB Notification: Performance of SimCode: time 0.00203/0.1119, allocations: 1.441 MB / 0.6904 GB, free: 30.54 MB / 346.7 MB Notification: Performance of Templates: time 0.006464/0.1185, allocations: 1.816 MB / 0.6922 GB, free: 28.75 MB / 346.7 MB