Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002707/0.002706, allocations: 371.4 kB / 15.97 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.122/4.122, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.003601/0.0036, allocations: 228.8 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.5991/0.5991, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.0006201, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1079, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003/0.1109, allocations: 2.164 MB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1125, allocations: 0.6557 MB / 0.6828 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.1128, allocations: 4 kB / 0.6828 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.591e-05/0.1129, allocations: 35.7 kB / 0.6829 GB, free: 38.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1132, allocations: 83.33 kB / 0.683 GB, free: 38.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1135, allocations: 63.91 kB / 0.683 GB, free: 38.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.1139, allocations: 302.6 kB / 0.6833 GB, free: 38.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1142, allocations: 65.56 kB / 0.6834 GB, free: 38.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1144, allocations: 103.6 kB / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1146, allocations: 115.4 kB / 0.6836 GB, free: 38.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.1147, allocations: 12 kB / 0.6836 GB, free: 38.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.1147, allocations: 12 kB / 0.6836 GB, free: 38.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.1148, allocations: 43.83 kB / 0.6836 GB, free: 38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.1149, allocations: 77.52 kB / 0.6837 GB, free: 37.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1151, allocations: 211.7 kB / 0.6839 GB, free: 37.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1152, allocations: 8 kB / 0.6839 GB, free: 37.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1152, allocations: 0 / 0.6839 GB, free: 37.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1152, allocations: 0 / 0.6839 GB, free: 37.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001067/0.1163, allocations: 0.5444 MB / 0.6845 GB, free: 37.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1163, allocations: 8.828 kB / 0.6845 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.1164, allocations: 31.62 kB / 0.6845 GB, free: 37.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1167, allocations: 258.3 kB / 0.6847 GB, free: 36.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1168, allocations: 20.56 kB / 0.6848 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.1168, allocations: 31.89 kB / 0.6848 GB, free: 36.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.1175, allocations: 281.9 kB / 0.6851 GB, free: 36.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.1175, allocations: 11.95 kB / 0.6851 GB, free: 36.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.1176, allocations: 4 kB / 0.6851 GB, free: 36.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1176, allocations: 8 kB / 0.6851 GB, free: 36.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.1183, allocations: 203.7 kB / 0.6853 GB, free: 36.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.1207, allocations: 1.325 MB / 0.6866 GB, free: 34.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.1214, allocations: 250.4 kB / 0.6868 GB, free: 34.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.1218, allocations: 103.6 kB / 0.6869 GB, free: 34.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.1218, allocations: 19.88 kB / 0.6869 GB, free: 34.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.1219, allocations: 42.48 kB / 0.687 GB, free: 34.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 5.65e-06/0.1219, allocations: 0 / 0.687 GB, free: 34.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.004123/0.126, allocations: 1.619 MB / 0.6886 GB, free: 32.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1261, allocations: 136.5 kB / 0.6887 GB, free: 32.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1264, allocations: 217 kB / 0.6889 GB, free: 32.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1265, allocations: 29.7 kB / 0.6889 GB, free: 32.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1266, allocations: 184.3 kB / 0.6891 GB, free: 31.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/0.1267, allocations: 114.3 kB / 0.6892 GB, free: 31.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.1267, allocations: 12 kB / 0.6892 GB, free: 31.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.1268, allocations: 338.8 kB / 0.6895 GB, free: 31.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.1272, allocations: 114 kB / 0.6896 GB, free: 31.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.1277, allocations: 253.3 kB / 0.6899 GB, free: 31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.1283, allocations: 143.9 kB / 0.69 GB, free: 30.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1283, allocations: 0 / 0.69 GB, free: 30.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001217/0.1295, allocations: 412.7 kB / 0.6904 GB, free: 30.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1295, allocations: 4.406 kB / 0.6904 GB, free: 30.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1296, allocations: 12 kB / 0.6904 GB, free: 30.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.1296, allocations: 8.016 kB / 0.6904 GB, free: 30.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.1303, allocations: 111.8 kB / 0.6905 GB, free: 30.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.1303, allocations: 8 kB / 0.6906 GB, free: 30.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.1307, allocations: 43.81 kB / 0.6906 GB, free: 30.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.1308, allocations: 16 kB / 0.6906 GB, free: 30.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001796/0.131, allocations: 149.7 kB / 0.6908 GB, free: 30.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1311, allocations: 27.72 kB / 0.6908 GB, free: 30.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/0.1312, allocations: 34.22 kB / 0.6908 GB, free: 30.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1312, allocations: 0 / 0.6908 GB, free: 30.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1312, allocations: 7.953 kB / 0.6908 GB, free: 30.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.1313, allocations: 100.8 kB / 0.6909 GB, free: 29.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.1314, allocations: 4 kB / 0.6909 GB, free: 29.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.1318, allocations: 27.98 kB / 0.6909 GB, free: 29.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.1319, allocations: 31.89 kB / 0.691 GB, free: 29.85 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001515/0.1335, allocations: 0.6546 MB / 0.6916 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001658/0.1351, allocations: 0.8413 MB / 0.6924 GB, free: 28.32 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004656/0.1357, allocations: 127.9 kB / 0.6926 GB, free: 28.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.1358, allocations: 156.5 kB / 0.6927 GB, free: 28.05 MB / 346.7 MB Notification: Performance of Backend: time 1.022e-06/0.1358, allocations: 0 / 0.6927 GB, free: 28.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.1372, allocations: 270.9 kB / 0.693 GB, free: 27.77 MB / 346.7 MB Notification: Performance of SimCode: time 0.001999/0.1392, allocations: 1.476 MB / 0.6944 GB, free: 26.25 MB / 346.7 MB Notification: Performance of Templates: time 0.008321/0.1476, allocations: 2.553 MB / 0.6969 GB, free: 23.71 MB / 346.7 MB