Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00366/0.003665, allocations: 355.4 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.211/3.211, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005543/0.005543, allocations: 224 kB / 397.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6372/0.6372, allocations: 76.1 MB / 0.5014 GB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004499, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09975, allocations: 48.71 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001737/0.1015, allocations: 1.312 MB / 0.608 GB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.1019, allocations: 95.64 kB / 0.6081 GB, free: 10.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.102, allocations: 0 / 0.6081 GB, free: 10.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.102, allocations: 15.92 kB / 0.6081 GB, free: 10.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1021, allocations: 31.77 kB / 0.6082 GB, free: 10.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.1023, allocations: 15.98 kB / 0.6082 GB, free: 10.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1024, allocations: 123.4 kB / 0.6083 GB, free: 9.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1026, allocations: 29.08 kB / 0.6083 GB, free: 9.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/0.1026, allocations: 35.88 kB / 0.6084 GB, free: 9.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.1027, allocations: 43.78 kB / 0.6084 GB, free: 9.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1028, allocations: 11.98 kB / 0.6084 GB, free: 9.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.962e-05/0.1028, allocations: 4 kB / 0.6084 GB, free: 9.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.1028, allocations: 19.92 kB / 0.6084 GB, free: 9.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.1029, allocations: 49.64 kB / 0.6085 GB, free: 9.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.103, allocations: 88.03 kB / 0.6086 GB, free: 9.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.103, allocations: 0 / 0.6086 GB, free: 9.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.103, allocations: 0 / 0.6086 GB, free: 9.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.103, allocations: 3.938 kB / 0.6086 GB, free: 9.668 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004512/0.1035, allocations: 391.2 kB / 0.6089 GB, free: 9.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1036, allocations: 8.031 kB / 0.6089 GB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.1036, allocations: 11.91 kB / 0.609 GB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1038, allocations: 190.8 kB / 0.6091 GB, free: 8.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1038, allocations: 12.19 kB / 0.6092 GB, free: 8.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1039, allocations: 16 kB / 0.6092 GB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1041, allocations: 129 kB / 0.6093 GB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1042, allocations: 0 / 0.6093 GB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1042, allocations: 8 kB / 0.6093 GB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1042, allocations: 11.88 kB / 0.6093 GB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1044, allocations: 59.95 kB / 0.6094 GB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.1052, allocations: 0.541 MB / 0.6099 GB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1054, allocations: 89.16 kB / 0.61 GB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1055, allocations: 21.72 kB / 0.61 GB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1055, allocations: 0 / 0.61 GB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1055, allocations: 54.58 kB / 0.6101 GB, free: 7.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.1055, allocations: 0 / 0.6101 GB, free: 7.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007015/0.1062, allocations: 289.5 kB / 0.6103 GB, free: 7.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1063, allocations: 81.11 kB / 0.6104 GB, free: 7.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.1064, allocations: 125.7 kB / 0.6105 GB, free: 7.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1064, allocations: 29.7 kB / 0.6106 GB, free: 7.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.1065, allocations: 115.7 kB / 0.6107 GB, free: 7.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.1065, allocations: 31.55 kB / 0.6107 GB, free: 7.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.1065, allocations: 4 kB / 0.6107 GB, free: 7.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.1066, allocations: 322.8 kB / 0.611 GB, free: 6.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.1067, allocations: 19.98 kB / 0.611 GB, free: 6.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.1068, allocations: 92.03 kB / 0.6111 GB, free: 6.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.1069, allocations: 35.98 kB / 0.6111 GB, free: 6.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1069, allocations: 4 kB / 0.6112 GB, free: 6.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003469/0.1072, allocations: 163.5 kB / 0.6113 GB, free: 6.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1073, allocations: 8 kB / 0.6113 GB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1073, allocations: 0 / 0.6113 GB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.1075, allocations: 41.91 kB / 0.6114 GB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1077, allocations: 31.92 kB / 0.6114 GB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.1093, allocations: 2.529 MB / 0.6139 GB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1095, allocations: 20.12 kB / 0.6139 GB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1095, allocations: 8 kB / 0.6139 GB, free: 3.621 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.1096, allocations: 123.2 kB / 0.614 GB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1097, allocations: 7.906 kB / 0.614 GB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.1097, allocations: 15.84 kB / 0.614 GB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1097, allocations: 3.938 kB / 0.614 GB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1097, allocations: 0 / 0.614 GB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.1098, allocations: 96.89 kB / 0.6141 GB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1098, allocations: 4 kB / 0.6141 GB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.11, allocations: 4 kB / 0.6141 GB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.11, allocations: 11.92 kB / 0.6141 GB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005568/0.1106, allocations: 297.8 kB / 0.6144 GB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002865/0.1109, allocations: 365.9 kB / 0.6148 GB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.837e-05/0.1109, allocations: 19.98 kB / 0.6148 GB, free: 2.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.111, allocations: 99.64 kB / 0.6149 GB, free: 2.527 MB / 282.7 MB Notification: Performance of Backend: time 1.222e-06/0.111, allocations: 0 / 0.6149 GB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008109/0.1118, allocations: 355.6 kB / 0.6152 GB, free: 2.148 MB / 282.7 MB Notification: Performance of SimCode: time 0.001274/0.1131, allocations: 1.058 MB / 0.6163 GB, free: 1.047 MB / 282.7 MB Notification: Performance of Templates: time 0.005062/0.1182, allocations: 1.273 MB / 0.6175 GB, free: 15.78 MB / 298.7 MB