Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00595/0.005956, allocations: 360.2 kB / 15.95 MB, free: 6.207 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.05/4.05, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003473/0.003473, allocations: 219.5 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.5742/0.5742, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004781, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5352/0.6382, allocations: 103 MB / 0.7806 GB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.6385, allocations: 80.89 kB / 0.7807 GB, free: 14.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8763/1.515, allocations: 125.4 MB / 0.9031 GB, free: 93.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.515, allocations: 0 / 0.9031 GB, free: 93.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004599/1.515, allocations: 124.2 kB / 0.9033 GB, free: 93.38 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.0325/1.548, allocations: 6.627 MB / 0.9097 GB, free: 90.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.548, allocations: 9.406 kB / 0.9097 GB, free: 90.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07256/1.621, allocations: 6.667 MB / 0.9163 GB, free: 90.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03065/1.651, allocations: 6.167 MB / 0.9223 GB, free: 89.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/1.652, allocations: 450 kB / 0.9227 GB, free: 89.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005248/1.658, allocations: 0.584 MB / 0.9233 GB, free: 89.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0673/1.725, allocations: 15.59 MB / 0.9385 GB, free: 86.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006561/1.726, allocations: 80.02 kB / 0.9386 GB, free: 86.53 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004326/1.73, allocations: 281.8 kB / 0.9389 GB, free: 86.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003742/1.734, allocations: 1.616 MB / 0.9404 GB, free: 86.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04264/1.777, allocations: 13.84 MB / 0.9539 GB, free: 85.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/1.883, allocations: 63.89 MB / 1.016 GB, free: 39.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/1.906, allocations: 6.378 MB / 1.023 GB, free: 34.06 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007783/1.914, allocations: 3.574 MB / 1.026 GB, free: 30.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0504/1.964, allocations: 14.34 MB / 1.04 GB, free: 18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.216e-05/1.964, allocations: 60.5 kB / 1.04 GB, free: 17.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 1.112e-05/1.964, allocations: 0 / 1.04 GB, free: 17.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.73/2.694, allocations: 41.78 MB / 1.081 GB, free: 102.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/2.695, allocations: 216.4 kB / 1.081 GB, free: 102.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01525/2.71, allocations: 5.403 MB / 1.086 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/2.711, allocations: 75.61 kB / 1.086 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004474/2.716, allocations: 4.416 MB / 1.091 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002315/2.718, allocations: 1.255 MB / 1.092 GB, free: 99.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/2.719, allocations: 174.7 kB / 1.092 GB, free: 99.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000981/2.72, allocations: 0.6783 MB / 1.093 GB, free: 99.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01262/2.733, allocations: 4.564 MB / 1.097 GB, free: 99.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01563/2.749, allocations: 9.534 MB / 1.107 GB, free: 93.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/2.763, allocations: 6.44 MB / 1.113 GB, free: 93.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002087/2.763, allocations: 49.31 kB / 1.113 GB, free: 93.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.07149/2.835, allocations: 18.71 MB / 1.131 GB, free: 89.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/2.835, allocations: 79.47 kB / 1.131 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002982/2.835, allocations: 169.6 kB / 1.131 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03918/2.875, allocations: 5.633 MB / 1.137 GB, free: 88.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0141/2.889, allocations: 2.059 MB / 1.139 GB, free: 88.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04968/2.938, allocations: 23.66 MB / 1.162 GB, free: 77.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/2.95, allocations: 0.5424 MB / 1.163 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00243/2.953, allocations: 0.5035 MB / 1.163 GB, free: 77.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009913/2.963, allocations: 3.093 MB / 1.166 GB, free: 75.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/2.965, allocations: 0.4998 MB / 1.167 GB, free: 75.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05429/3.019, allocations: 12.43 MB / 1.179 GB, free: 71.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/3.019, allocations: 60.08 kB / 1.179 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/3.019, allocations: 8 kB / 1.179 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.737e-05/3.019, allocations: 17.56 kB / 1.179 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08448/3.104, allocations: 24.03 MB / 1.202 GB, free: 50.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.792e-05/3.104, allocations: 4 kB / 1.202 GB, free: 50.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005756/3.11, allocations: 0.5771 MB / 1.203 GB, free: 50.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0355/3.145, allocations: 4.651 MB / 1.207 GB, free: 45.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/3.146, allocations: 57.41 kB / 1.207 GB, free: 45.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04703/3.193, allocations: 18.95 MB / 1.226 GB, free: 26.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/3.193, allocations: 11.89 kB / 1.226 GB, free: 26.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05826/3.252, allocations: 16.75 MB / 1.242 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004564/3.256, allocations: 1.232 MB / 1.244 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002369/3.259, allocations: 56.86 kB / 1.244 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00632/3.265, allocations: 248.5 kB / 1.244 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/3.267, allocations: 200.1 kB / 1.244 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005614/3.267, allocations: 88.69 kB / 1.244 GB, free: 7.562 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008943/3.276, allocations: 3.349 MB / 1.247 GB, free: 4.234 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.81e-07/3.276, allocations: 3.938 kB / 1.247 GB, free: 4.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01144/3.288, allocations: 1.716 MB / 1.249 GB, free: 2.523 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/3.289, allocations: 204.5 kB / 1.249 GB, free: 2.332 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3738/3.663, allocations: 10.5 MB / 1.259 GB, free: 107.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/3.663, allocations: 0.9688 kB / 1.259 GB, free: 107.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.009759/3.673, allocations: 3.99 MB / 1.263 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006321/3.679, allocations: 0.6207 MB / 1.264 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04481/3.724, allocations: 18.4 MB / 1.282 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/3.735, allocations: 4.756 MB / 1.287 GB, free: 100.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01368/3.749, allocations: 2.991 MB / 1.29 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002908/3.752, allocations: 350.5 kB / 1.29 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of SimCode: time 2.215e-06/3.752, allocations: 0 / 1.29 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.188/3.94, allocations: 73.63 MB / 1.362 GB, free: 74.65 MB / 0.4949 GB