Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002784/0.002789, allocations: 348.2 kB / 15.94 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.497/3.497, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005684/0.005684, allocations: 218.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.489/0.489, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006705/0.0006711, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09628, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.4829, allocations: 75.51 MB / 0.6805 GB, free: 37.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.4831, allocations: 79.84 kB / 0.6806 GB, free: 37.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02226/0.5054, allocations: 5.775 MB / 0.6862 GB, free: 31.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5055, allocations: 1.641 kB / 0.6862 GB, free: 31.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.5055, allocations: 8 kB / 0.6862 GB, free: 31.49 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001018/0.5065, allocations: 0.5877 MB / 0.6868 GB, free: 30.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5066, allocations: 8.031 kB / 0.6868 GB, free: 30.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.5067, allocations: 45.69 kB / 0.6868 GB, free: 30.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.507, allocations: 256.6 kB / 0.6871 GB, free: 30.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.507, allocations: 31.5 kB / 0.6871 GB, free: 30.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.5071, allocations: 39.91 kB / 0.6871 GB, free: 30.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.5079, allocations: 389 kB / 0.6875 GB, free: 30.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.508, allocations: 15.84 kB / 0.6875 GB, free: 30.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.508, allocations: 16 kB / 0.6875 GB, free: 30.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.5081, allocations: 16.59 kB / 0.6876 GB, free: 30.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.5087, allocations: 233.7 kB / 0.6878 GB, free: 29.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.5115, allocations: 1.709 MB / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.512, allocations: 265.7 kB / 0.6897 GB, free: 27.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.5123, allocations: 110.5 kB / 0.6898 GB, free: 27.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.684e-05/0.5123, allocations: 8.047 kB / 0.6898 GB, free: 27.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5124, allocations: 43.75 kB / 0.6899 GB, free: 27.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.5124, allocations: 0 / 0.6899 GB, free: 27.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009235/0.5133, allocations: 272.5 kB / 0.6901 GB, free: 27.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.5134, allocations: 211.6 kB / 0.6903 GB, free: 26.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.5137, allocations: 275.2 kB / 0.6906 GB, free: 26.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.5138, allocations: 33.7 kB / 0.6906 GB, free: 26.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.5139, allocations: 235.3 kB / 0.6908 GB, free: 26.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.514, allocations: 126.9 kB / 0.691 GB, free: 26.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.5141, allocations: 10 kB / 0.691 GB, free: 26.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.5142, allocations: 346.8 kB / 0.6913 GB, free: 25.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.5145, allocations: 100.3 kB / 0.6914 GB, free: 25.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.5149, allocations: 429.5 kB / 0.6918 GB, free: 25.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.5153, allocations: 167.8 kB / 0.692 GB, free: 25.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.5154, allocations: 4 kB / 0.692 GB, free: 25.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001215/0.5166, allocations: 0.53 MB / 0.6925 GB, free: 24.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.5167, allocations: 16 kB / 0.6925 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.5167, allocations: 12 kB / 0.6925 GB, free: 24.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.043e-05/0.5167, allocations: 16 kB / 0.6925 GB, free: 24.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.5177, allocations: 151.7 kB / 0.6927 GB, free: 24.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.5177, allocations: 19.94 kB / 0.6927 GB, free: 24.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.5182, allocations: 65.02 kB / 0.6928 GB, free: 24.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.5182, allocations: 32 kB / 0.6928 GB, free: 24.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002244/0.5185, allocations: 187.5 kB / 0.693 GB, free: 24.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5187, allocations: 39.62 kB / 0.693 GB, free: 24.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.5188, allocations: 37.3 kB / 0.693 GB, free: 24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5188, allocations: 4 kB / 0.693 GB, free: 23.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.5188, allocations: 3.984 kB / 0.693 GB, free: 23.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5188, allocations: 4 kB / 0.693 GB, free: 23.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.5205, allocations: 0.6436 MB / 0.6937 GB, free: 23.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5206, allocations: 4 kB / 0.6937 GB, free: 23.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/0.5215, allocations: 88.77 kB / 0.6938 GB, free: 23.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.5215, allocations: 4 kB / 0.6938 GB, free: 23.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.5215, allocations: 11.98 kB / 0.6938 GB, free: 23.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.5215, allocations: 4 kB / 0.6938 GB, free: 23.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5216, allocations: 4 kB / 0.6938 GB, free: 23.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.5225, allocations: 0.8441 MB / 0.6946 GB, free: 22.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5226, allocations: 120.9 kB / 0.6947 GB, free: 22.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.5227, allocations: 8 kB / 0.6947 GB, free: 22.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.5232, allocations: 15.98 kB / 0.6947 GB, free: 22.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.5233, allocations: 29.55 kB / 0.6948 GB, free: 22.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.5233, allocations: 12 kB / 0.6948 GB, free: 22.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.5235, allocations: 182 kB / 0.695 GB, free: 21.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5236, allocations: 0 / 0.695 GB, free: 21.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001004/0.5246, allocations: 103.8 kB / 0.6951 GB, free: 21.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0001446/0.5247, allocations: 115.1 kB / 0.6952 GB, free: 21.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000788/0.5255, allocations: 291.7 kB / 0.6954 GB, free: 21.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5255, allocations: 4 kB / 0.6955 GB, free: 21.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.5258, allocations: 96.95 kB / 0.6955 GB, free: 21.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.5272, allocations: 67.38 kB / 0.6956 GB, free: 21.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.5304, allocations: 1.896 MB / 0.6975 GB, free: 19.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5307, allocations: 0.8111 MB / 0.6983 GB, free: 18.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.5311, allocations: 40.39 kB / 0.6983 GB, free: 18.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.5312, allocations: 35.42 kB / 0.6983 GB, free: 18.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5312, allocations: 3.469 kB / 0.6983 GB, free: 18.52 MB / 362.7 MB Notification: Performance of Templates: time 0.009173/0.5404, allocations: 2.66 MB / 0.7009 GB, free: 15.94 MB / 362.7 MB