Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002761/0.00276, allocations: 367.4 kB / 15.96 MB, free: 6.18 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 3.973/3.973, allocations: 388.9 MB / 405.6 MB, free: 9.555 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.005156/0.005155, allocations: 227.1 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.54/0.54, allocations: 80.03 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 11.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09417, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001746/0.09597, allocations: 1.312 MB / 0.6814 GB, free: 40.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000285/0.09629, allocations: 107.6 kB / 0.6815 GB, free: 40.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.09637, allocations: 0 / 0.6815 GB, free: 40.22 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.09643, allocations: 11.92 kB / 0.6815 GB, free: 40.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.09655, allocations: 35.7 kB / 0.6815 GB, free: 40.17 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.09668, allocations: 19.98 kB / 0.6815 GB, free: 40.15 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.09685, allocations: 111.5 kB / 0.6816 GB, free: 40.04 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.09699, allocations: 29.05 kB / 0.6817 GB, free: 40.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.09707, allocations: 43.8 kB / 0.6817 GB, free: 39.97 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.09717, allocations: 47.83 kB / 0.6818 GB, free: 39.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.0972, allocations: 8 kB / 0.6818 GB, free: 39.92 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.901e-05/0.09724, allocations: 4 kB / 0.6818 GB, free: 39.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.09727, allocations: 19.92 kB / 0.6818 GB, free: 39.89 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.09732, allocations: 45.64 kB / 0.6818 GB, free: 39.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.09745, allocations: 96.03 kB / 0.6819 GB, free: 39.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.09747, allocations: 0 / 0.6819 GB, free: 39.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09748, allocations: 0 / 0.6819 GB, free: 39.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.09749, allocations: 0 / 0.6819 GB, free: 39.75 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004682/0.09797, allocations: 387.1 kB / 0.6823 GB, free: 39.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.09802, allocations: 8.031 kB / 0.6823 GB, free: 39.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.09808, allocations: 19.86 kB / 0.6823 GB, free: 39.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.09825, allocations: 186.9 kB / 0.6825 GB, free: 39.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.09828, allocations: 8.234 kB / 0.6825 GB, free: 39.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.09833, allocations: 15.91 kB / 0.6825 GB, free: 39.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.09862, allocations: 127.8 kB / 0.6826 GB, free: 38.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.09865, allocations: 4 kB / 0.6827 GB, free: 38.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.09868, allocations: 4 kB / 0.6827 GB, free: 38.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.0987, allocations: 8 kB / 0.6827 GB, free: 38.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.09885, allocations: 67.84 kB / 0.6827 GB, free: 38.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.09971, allocations: 0.5335 MB / 0.6832 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.09988, allocations: 89.16 kB / 0.6833 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.09995, allocations: 25.72 kB / 0.6834 GB, free: 38.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.09997, allocations: 0 / 0.6834 GB, free: 38.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1, allocations: 42.5 kB / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.1, allocations: 0 / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006822/0.1007, allocations: 317.7 kB / 0.6837 GB, free: 37.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.1007, allocations: 81.11 kB / 0.6838 GB, free: 37.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.1009, allocations: 113.8 kB / 0.6839 GB, free: 37.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1009, allocations: 29.7 kB / 0.6839 GB, free: 37.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.1009, allocations: 123.6 kB / 0.684 GB, free: 37.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.101, allocations: 39.53 kB / 0.6841 GB, free: 37.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-06/0.101, allocations: 0 / 0.6841 GB, free: 37.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.1011, allocations: 318.8 kB / 0.6844 GB, free: 36.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.1011, allocations: 23.98 kB / 0.6844 GB, free: 36.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.1012, allocations: 84.58 kB / 0.6845 GB, free: 36.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.1013, allocations: 31.94 kB / 0.6845 GB, free: 36.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1014, allocations: 4 kB / 0.6845 GB, free: 36.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003629/0.1017, allocations: 175 kB / 0.6847 GB, free: 36.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1018, allocations: 7.938 kB / 0.6847 GB, free: 36.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1018, allocations: 7.984 kB / 0.6847 GB, free: 36.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.1021, allocations: 33.95 kB / 0.6847 GB, free: 36.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1022, allocations: 27.98 kB / 0.6848 GB, free: 36.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.1039, allocations: 2.53 MB / 0.6872 GB, free: 33.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.104, allocations: 15.88 kB / 0.6872 GB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1041, allocations: 12.16 kB / 0.6873 GB, free: 33.69 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 (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.0001115/0.1042, allocations: 125.7 kB / 0.6874 GB, free: 33.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.1043, allocations: 7.906 kB / 0.6874 GB, free: 33.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.1043, allocations: 15.89 kB / 0.6874 GB, free: 33.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1043, allocations: 0 / 0.6874 GB, free: 33.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1043, allocations: 0 / 0.6874 GB, free: 33.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.1044, allocations: 88.95 kB / 0.6875 GB, free: 33.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1044, allocations: 0 / 0.6875 GB, free: 33.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1045, allocations: 12 kB / 0.6875 GB, free: 33.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.1046, allocations: 11.94 kB / 0.6875 GB, free: 33.4 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005263/0.1051, allocations: 289.8 kB / 0.6878 GB, free: 33.11 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002612/0.1054, allocations: 373.8 kB / 0.6881 GB, free: 32.72 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.725e-05/0.1055, allocations: 19.98 kB / 0.6882 GB, free: 32.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.1055, allocations: 91.28 kB / 0.6882 GB, free: 32.61 MB / 346.7 MB Notification: Performance of Backend: time 8.52e-07/0.1055, allocations: 0 / 0.6882 GB, free: 32.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000841/0.1064, allocations: 366.5 kB / 0.6886 GB, free: 32.22 MB / 346.7 MB Notification: Performance of SimCode: time 0.00123/0.1076, allocations: 1.047 MB / 0.6896 GB, free: 31.13 MB / 346.7 MB Notification: Performance of Templates: time 0.004889/0.1125, allocations: 1.276 MB / 0.6909 GB, free: 29.87 MB / 346.7 MB