Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002753/0.002758, allocations: 345.9 kB / 15.93 MB, free: 6.219 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.316/3.316, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003575/0.003575, allocations: 213.1 kB / 397.8 MB, free: 6.148 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.7035/0.7035, allocations: 76.1 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008472/0.0008478, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.09016, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.5681, allocations: 102.8 MB / 0.7071 GB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5684, allocations: 81.72 kB / 0.7072 GB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002/1.571, allocations: 153.2 MB / 0.8568 GB, free: 84.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.456e-06/1.571, allocations: 0 / 0.8568 GB, free: 84.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004079/1.571, allocations: 135.6 kB / 0.857 GB, free: 84.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02791/1.599, allocations: 6.935 MB / 0.8637 GB, free: 81.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.599, allocations: 7.188 kB / 0.8638 GB, free: 81.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04443/1.644, allocations: 5.79 MB / 0.8694 GB, free: 80.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0236/1.667, allocations: 7.077 MB / 0.8763 GB, free: 79.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007128/1.668, allocations: 0.5246 MB / 0.8768 GB, free: 79.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00431/1.673, allocations: 0.7075 MB / 0.8775 GB, free: 79.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06743/1.74, allocations: 18.87 MB / 0.896 GB, free: 68.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005038/1.741, allocations: 87.19 kB / 0.896 GB, free: 68.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003922/1.745, allocations: 330.6 kB / 0.8964 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003704/1.748, allocations: 1.721 MB / 0.898 GB, free: 66.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0515/1.8, allocations: 16.56 MB / 0.9142 GB, free: 49.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.49/2.29, allocations: 74.08 MB / 0.9866 GB, free: 45.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04195/2.332, allocations: 6.197 MB / 0.9926 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/2.343, allocations: 2.741 MB / 0.9953 GB, free: 44.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03901/2.382, allocations: 13.8 MB / 1.009 GB, free: 40.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/2.382, allocations: 68.91 kB / 1.009 GB, free: 40.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 7.875e-06/2.382, allocations: 0 / 1.009 GB, free: 40.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=344): time 0.147/2.529, allocations: 23.55 MB / 1.032 GB, free: 36.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/2.529, allocations: 195.1 kB / 1.032 GB, free: 35.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01907/2.548, allocations: 5.879 MB / 1.038 GB, free: 35.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008664/2.549, allocations: 77.36 kB / 1.038 GB, free: 35.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005784/2.555, allocations: 4.995 MB / 1.043 GB, free: 32.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001956/2.557, allocations: 1.281 MB / 1.044 GB, free: 31.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/2.558, allocations: 189 kB / 1.044 GB, free: 31.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007707/2.559, allocations: 0.7058 MB / 1.045 GB, free: 31.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009033/2.568, allocations: 3.262 MB / 1.048 GB, free: 31.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0128/2.581, allocations: 8.735 MB / 1.057 GB, free: 22.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/2.593, allocations: 5.241 MB / 1.062 GB, free: 21.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002929/2.594, allocations: 52.34 kB / 1.062 GB, free: 21.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.04045/2.634, allocations: 12.75 MB / 1.074 GB, free: 17.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/2.634, allocations: 90.66 kB / 1.074 GB, free: 17.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003493/2.635, allocations: 190.9 kB / 1.074 GB, free: 17.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007709/2.642, allocations: 1.333 MB / 1.076 GB, free: 16.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/2.656, allocations: 2.175 MB / 1.078 GB, free: 16.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/2.674, allocations: 7.169 MB / 1.085 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/2.684, allocations: 0.5559 MB / 1.085 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002348/2.687, allocations: 0.5479 MB / 1.086 GB, free: 9.344 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009963/2.697, allocations: 3.447 MB / 1.089 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/2.698, allocations: 0.5322 MB / 1.09 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/2.718, allocations: 5.329 MB / 1.095 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-05/2.718, allocations: 43.95 kB / 1.095 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/2.718, allocations: 4 kB / 1.095 GB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.093e-05/2.718, allocations: 20.27 kB / 1.095 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07044/2.789, allocations: 14.19 MB / 1.109 GB, free: 5.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-05/2.789, allocations: 12 kB / 1.109 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007551/2.797, allocations: 0.533 MB / 1.109 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.807, allocations: 0.9199 MB / 1.11 GB, free: 4.633 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009585/2.808, allocations: 72.89 kB / 1.11 GB, free: 4.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02963/2.838, allocations: 5.586 MB / 1.116 GB, free: 0 / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001808/2.838, allocations: 17.5 kB / 1.116 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04102/2.879, allocations: 8.503 MB / 1.124 GB, free: 8.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005293/2.885, allocations: 0.9562 MB / 1.125 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002594/2.887, allocations: 64 kB / 1.125 GB, free: 7.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007444/2.895, allocations: 190.5 kB / 1.125 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/2.896, allocations: 224.7 kB / 1.126 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007236/2.897, allocations: 99.42 kB / 1.126 GB, free: 6.914 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01703/2.914, allocations: 3.657 MB / 1.129 GB, free: 3.949 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.633e-06/2.914, allocations: 0 / 1.129 GB, free: 3.949 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01932/2.934, allocations: 1.653 MB / 1.131 GB, free: 2.312 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (267): * Single equations (assignments): 260 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001944/2.936, allocations: 262.7 kB / 1.131 GB, free: 2.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03301/2.969, allocations: 7.781 MB / 1.139 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/2.969, allocations: 0 / 1.139 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007409/2.976, allocations: 2.392 MB / 1.141 GB, free: 8.613 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01216/2.988, allocations: 0.6852 MB / 1.142 GB, free: 7.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06291/3.051, allocations: 18.23 MB / 1.16 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01482/3.066, allocations: 5.312 MB / 1.165 GB, free: 240 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.4302/3.496, allocations: 3.032 MB / 1.168 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003587/3.5, allocations: 378.8 kB / 1.168 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/3.5, allocations: 0 / 1.168 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.1793/3.68, allocations: 55.37 MB / 1.222 GB, free: 134.8 MB / 0.4948 GB