Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007375/0.007375, allocations: 369.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.059/4.059, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003643/0.003643, allocations: 231.7 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.681/0.681, allocations: 80.01 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000683/0.0006834, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09599, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001993/0.09804, allocations: 1.479 MB / 0.6815 GB, free: 40.17 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.09844, allocations: 147.5 kB / 0.6817 GB, free: 40.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.09854, allocations: 7.938 kB / 0.6817 GB, free: 40.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.577e-05/0.0986, allocations: 11.86 kB / 0.6817 GB, free: 40 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.09875, allocations: 47.61 kB / 0.6818 GB, free: 39.96 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.09891, allocations: 23.98 kB / 0.6818 GB, free: 39.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.09912, allocations: 175.1 kB / 0.6819 GB, free: 39.76 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.09928, allocations: 45.84 kB / 0.682 GB, free: 39.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.09938, allocations: 55.8 kB / 0.682 GB, free: 39.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.09951, allocations: 63.7 kB / 0.6821 GB, free: 39.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.09955, allocations: 8 kB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.0996, allocations: 8 kB / 0.6821 GB, free: 39.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.09964, allocations: 27.91 kB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.0997, allocations: 57.62 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.09987, allocations: 127.9 kB / 0.6823 GB, free: 39.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.09989, allocations: 4 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.0999, allocations: 3.938 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.09991, allocations: 0 / 0.6823 GB, free: 39.36 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006497/0.1006, allocations: 431.1 kB / 0.6827 GB, free: 38.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1006, allocations: 16.02 kB / 0.6828 GB, free: 38.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.1007, allocations: 19.77 kB / 0.6828 GB, free: 38.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1009, allocations: 194.9 kB / 0.683 GB, free: 38.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1009, allocations: 8.328 kB / 0.683 GB, free: 38.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.101, allocations: 23.91 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.1014, allocations: 178.8 kB / 0.6832 GB, free: 38.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1014, allocations: 0 / 0.6832 GB, free: 38.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1014, allocations: 4 kB / 0.6832 GB, free: 38.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1014, allocations: 4 kB / 0.6832 GB, free: 38.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.1017, allocations: 95.84 kB / 0.6833 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009463/0.1026, allocations: 0.6151 MB / 0.6839 GB, free: 37.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1029, allocations: 129.1 kB / 0.684 GB, free: 37.49 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.103, allocations: 57.64 kB / 0.684 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1031, allocations: 0 / 0.684 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1031, allocations: 38.52 kB / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.063e-06/0.1031, allocations: 0 / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001011/0.1041, allocations: 385.4 kB / 0.6844 GB, free: 36.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1042, allocations: 81.05 kB / 0.6845 GB, free: 36.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1043, allocations: 126.1 kB / 0.6846 GB, free: 36.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1043, allocations: 29.7 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.1044, allocations: 139.9 kB / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.1045, allocations: 55.2 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.1045, allocations: 4 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.1046, allocations: 326.8 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.1047, allocations: 31.98 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1048, allocations: 116.1 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1049, allocations: 51.94 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1049, allocations: 0 / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005075/0.1055, allocations: 215 kB / 0.6856 GB, free: 35.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1055, allocations: 11.95 kB / 0.6856 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1055, allocations: 0 / 0.6856 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.1058, allocations: 49.89 kB / 0.6856 GB, free: 35.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.106, allocations: 39.98 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.108, allocations: 2.721 MB / 0.6883 GB, free: 32.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1082, allocations: 16.06 kB / 0.6883 GB, free: 32.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.1082, allocations: 12 kB / 0.6883 GB, free: 32.59 MB / 346.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 (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.1084, allocations: 133.7 kB / 0.6885 GB, free: 32.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.1085, allocations: 15.91 kB / 0.6885 GB, free: 32.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.1085, allocations: 13.19 kB / 0.6885 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1085, allocations: 3.984 kB / 0.6885 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1085, allocations: 0 / 0.6885 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.1086, allocations: 89.02 kB / 0.6886 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1086, allocations: 4 kB / 0.6886 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1088, allocations: 7.938 kB / 0.6886 GB, free: 32.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1088, allocations: 15.94 kB / 0.6886 GB, free: 32.28 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008493/0.1097, allocations: 365.5 kB / 0.689 GB, free: 31.91 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004075/0.1101, allocations: 428.8 kB / 0.6894 GB, free: 31.47 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.649e-05/0.1102, allocations: 44 kB / 0.6894 GB, free: 31.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.855e-05/0.1103, allocations: 95.27 kB / 0.6895 GB, free: 31.34 MB / 346.7 MB Notification: Performance of Backend: time 7.32e-07/0.1103, allocations: 3.938 kB / 0.6895 GB, free: 31.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009868/0.1113, allocations: 391.8 kB / 0.6899 GB, free: 30.92 MB / 346.7 MB Notification: Performance of SimCode: time 0.001672/0.113, allocations: 1.279 MB / 0.6911 GB, free: 29.6 MB / 346.7 MB Notification: Performance of Templates: time 0.006241/0.1193, allocations: 1.703 MB / 0.6928 GB, free: 27.91 MB / 346.7 MB