Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002695/0.002694, allocations: 347.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.653/3.653, 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.00355/0.00355, allocations: 226.1 kB / 397.9 MB, free: 4.965 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.4886/0.4886, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08397, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/0.5057, allocations: 93.47 MB / 0.698 GB, free: 19.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5061, allocations: 83.06 kB / 0.6981 GB, free: 19.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.587/1.093, allocations: 71.38 MB / 0.7678 GB, free: 86.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.093, allocations: 1.438 kB / 0.7678 GB, free: 86.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002299/1.093, allocations: 62.69 kB / 0.7679 GB, free: 86.94 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01399/1.107, allocations: 3.521 MB / 0.7713 GB, free: 85.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.107, allocations: 11.78 kB / 0.7713 GB, free: 85.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/1.125, allocations: 2.043 MB / 0.7733 GB, free: 85.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009941/1.135, allocations: 2.966 MB / 0.7762 GB, free: 84.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/1.135, allocations: 259.6 kB / 0.7765 GB, free: 84.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/1.137, allocations: 341.2 kB / 0.7768 GB, free: 84.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/1.164, allocations: 8.821 MB / 0.7854 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/1.164, allocations: 55.64 kB / 0.7854 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001675/1.166, allocations: 171 kB / 0.7856 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002345/1.168, allocations: 0.8687 MB / 0.7865 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/1.19, allocations: 7.101 MB / 0.7934 GB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05276/1.243, allocations: 42.55 MB / 0.8349 GB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/1.254, allocations: 3.162 MB / 0.838 GB, free: 48.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/1.257, allocations: 1.431 MB / 0.8394 GB, free: 48.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008138/1.265, allocations: 4.067 MB / 0.8434 GB, free: 45.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.265, allocations: 43.06 kB / 0.8434 GB, free: 45.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 5.01e-06/1.265, allocations: 0 / 0.8434 GB, free: 45.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.05524/1.321, allocations: 11.31 MB / 0.8545 GB, free: 41.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.321, allocations: 169.8 kB / 0.8546 GB, free: 40.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.332, allocations: 3.706 MB / 0.8583 GB, free: 39.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000435/1.333, allocations: 41.11 kB / 0.8583 GB, free: 39.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003423/1.336, allocations: 2.732 MB / 0.861 GB, free: 37.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.337, allocations: 0.4946 MB / 0.8615 GB, free: 37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/1.338, allocations: 107.1 kB / 0.8616 GB, free: 36.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005618/1.339, allocations: 0.5247 MB / 0.8621 GB, free: 36.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006555/1.345, allocations: 1.663 MB / 0.8637 GB, free: 35.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009303/1.355, allocations: 5.083 MB / 0.8687 GB, free: 29.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009497/1.364, allocations: 2.848 MB / 0.8714 GB, free: 27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/1.364, allocations: 32 kB / 0.8715 GB, free: 26.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.0243/1.389, allocations: 6.617 MB / 0.8779 GB, free: 21.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.389, allocations: 61 kB / 0.878 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002061/1.389, allocations: 120 kB / 0.8781 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/1.391, allocations: 346.1 kB / 0.8784 GB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008636/1.399, allocations: 1.271 MB / 0.8797 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/1.402, allocations: 2.339 MB / 0.882 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/1.408, allocations: 293.3 kB / 0.8822 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.409, allocations: 327.2 kB / 0.8826 GB, free: 16.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004267/1.414, allocations: 1.782 MB / 0.8843 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/1.414, allocations: 300.1 kB / 0.8846 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007352/1.422, allocations: 2.323 MB / 0.8868 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/1.422, allocations: 12 kB / 0.8869 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.422, allocations: 7.25 kB / 0.8869 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/1.422, allocations: 7.938 kB / 0.8869 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/1.44, allocations: 5.849 MB / 0.8926 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.44, allocations: 3.75 kB / 0.8926 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.441, allocations: 164.5 kB / 0.8927 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/1.445, allocations: 0.7108 MB / 0.8934 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/1.445, allocations: 24.42 kB / 0.8935 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009289/1.455, allocations: 4.451 MB / 0.8978 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.455, allocations: 0 / 0.8978 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.466, allocations: 4.262 MB / 0.902 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.468, allocations: 0.5359 MB / 0.9025 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006913/1.468, allocations: 19.95 kB / 0.9025 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.47, allocations: 72.91 kB / 0.9026 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/1.471, allocations: 68.41 kB / 0.9027 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.471, allocations: 37.72 kB / 0.9027 GB, free: 14.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00584/1.477, allocations: 2.303 MB / 0.9049 GB, free: 11.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.477, allocations: 0 / 0.9049 GB, free: 11.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006203/1.483, allocations: 0.8124 MB / 0.9057 GB, free: 11.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005536/1.484, allocations: 157.3 kB / 0.9059 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/1.494, allocations: 3.939 MB / 0.9097 GB, free: 6.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.494, allocations: 3.938 kB / 0.9097 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/1.496, allocations: 1.083 MB / 0.9108 GB, free: 5.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/1.5, allocations: 370 kB / 0.9111 GB, free: 5.477 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.521, allocations: 8.509 MB / 0.9194 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007307/1.528, allocations: 2.835 MB / 0.9222 GB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01135/1.54, allocations: 1.643 MB / 0.9238 GB, free: 8.461 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.541, allocations: 207.4 kB / 0.924 GB, free: 8.258 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.541, allocations: 0 / 0.924 GB, free: 8.258 MB / 442.7 MB Notification: Performance of Templates: time 0.4018/1.943, allocations: 28.79 MB / 0.9521 GB, free: 102.2 MB / 442.7 MB