Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003719/0.003718, allocations: 354.8 kB / 15.95 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.385/3.385, allocations: 341.5 MB / 358.2 MB, free: 28.74 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.003553/0.003553, allocations: 208.1 kB / 397.8 MB, free: 6.172 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.5388/0.5388, allocations: 76.09 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007379/0.0007381, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1175, allocations: 48.72 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.07914/0.1968, allocations: 40.84 MB / 0.6466 GB, free: 2.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.308/0.5048, allocations: 9.282 MB / 0.6557 GB, free: 10.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009281/0.5142, allocations: 193.3 kB / 0.6559 GB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007455/0.5217, allocations: 1.953 MB / 0.6578 GB, free: 10.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02374/0.5455, allocations: 6.965 MB / 0.6646 GB, free: 8.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004327/0.5498, allocations: 0.7839 MB / 0.6654 GB, free: 8.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.05922/0.6091, allocations: 28.29 MB / 0.693 GB, free: 8.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01534/0.6245, allocations: 4.25 MB / 0.6971 GB, free: 5.027 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005869/0.6305, allocations: 1.411 MB / 0.6985 GB, free: 3.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008951/0.6395, allocations: 2.414 MB / 0.7009 GB, free: 1.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0021/0.6417, allocations: 176 kB / 0.701 GB, free: 1.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006718/0.6485, allocations: 1.12 MB / 0.7021 GB, free: 0.6758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005908/0.6544, allocations: 1.948 MB / 0.704 GB, free: 15.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.6578, allocations: 0.8838 MB / 0.7049 GB, free: 14.58 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.6742, allocations: 6.035 MB / 0.7108 GB, free: 9.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.6743, allocations: 3.984 kB / 0.7108 GB, free: 9.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.6743, allocations: 0 / 0.7108 GB, free: 9.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002817/0.6746, allocations: 0 / 0.7108 GB, free: 9.312 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: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.02741/0.7021, allocations: 4.744 MB / 0.7154 GB, free: 4.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.7022, allocations: 8.031 kB / 0.7154 GB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03476/0.737, allocations: 2.986 MB / 0.7183 GB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.749, allocations: 3.399 MB / 0.7217 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.7494, allocations: 242.8 kB / 0.7219 GB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.7515, allocations: 329.6 kB / 0.7222 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/0.7845, allocations: 11.01 MB / 0.733 GB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/0.7848, allocations: 57.59 kB / 0.733 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.7859, allocations: 157.3 kB / 0.7332 GB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005319/0.7913, allocations: 1.939 MB / 0.7351 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05511/0.8464, allocations: 9.548 MB / 0.7444 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/0.959, allocations: 41.11 MB / 0.7845 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01924/0.9783, allocations: 4.283 MB / 0.7887 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004911/0.9833, allocations: 1.916 MB / 0.7906 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/1.003, allocations: 7.62 MB / 0.798 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/1.003, allocations: 51.56 kB / 0.7981 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.322e-06/1.003, allocations: 0 / 0.7981 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.6715/1.674, allocations: 41.48 MB / 0.8386 GB, free: 153.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/1.674, allocations: 203 kB / 0.8388 GB, free: 153.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01311/1.687, allocations: 4.288 MB / 0.843 GB, free: 151.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009915/1.689, allocations: 57.7 kB / 0.843 GB, free: 151.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003891/1.692, allocations: 3.158 MB / 0.8461 GB, free: 147.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00204/1.695, allocations: 0.8782 MB / 0.847 GB, free: 147.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/1.696, allocations: 128.6 kB / 0.8471 GB, free: 146.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007002/1.697, allocations: 0.5867 MB / 0.8477 GB, free: 146.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01254/1.709, allocations: 3.605 MB / 0.8512 GB, free: 142.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01684/1.726, allocations: 7.25 MB / 0.8583 GB, free: 133.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/1.741, allocations: 4.946 MB / 0.8631 GB, free: 128.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.741, allocations: 36 kB / 0.8631 GB, free: 128.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.09985/1.841, allocations: 16.15 MB / 0.8789 GB, free: 112.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.841, allocations: 60 kB / 0.8789 GB, free: 112.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002144/1.841, allocations: 124 kB / 0.8791 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06498/1.906, allocations: 6.279 MB / 0.8852 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01353/1.92, allocations: 1.489 MB / 0.8866 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08393/2.004, allocations: 26.13 MB / 0.9122 GB, free: 78.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/2.017, allocations: 419.2 kB / 0.9126 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/2.019, allocations: 384.9 kB / 0.9129 GB, free: 77.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (776): * Single equations (assignments): 771 * Array equations: 3 * 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 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008222/2.027, allocations: 2.217 MB / 0.9151 GB, free: 75.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/2.029, allocations: 391 kB / 0.9155 GB, free: 74.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05982/2.089, allocations: 11.3 MB / 0.9265 GB, free: 63.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.225e-05/2.089, allocations: 11.95 kB / 0.9265 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/2.089, allocations: 4 kB / 0.9265 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/2.094, allocations: 1.042 MB / 0.9275 GB, free: 62.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/2.095, allocations: 32 kB / 0.9276 GB, free: 62.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005156/2.101, allocations: 181.1 kB / 0.9277 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/2.102, allocations: 178.5 kB / 0.9279 GB, free: 62.07 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03262/2.134, allocations: 8.8 MB / 0.9365 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01979/2.154, allocations: 9.66 MB / 0.9459 GB, free: 43.61 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005231/2.16, allocations: 2.714 MB / 0.9486 GB, free: 40.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005703/2.165, allocations: 2.685 MB / 0.9512 GB, free: 38.21 MB / 442.7 MB Notification: Performance of Backend: time 1.563e-06/2.165, allocations: 0 / 0.9512 GB, free: 38.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02231/2.188, allocations: 6.074 MB / 0.9571 GB, free: 32.18 MB / 442.7 MB Notification: Performance of SimCode: time 0.0242/2.212, allocations: 11.93 MB / 0.9688 GB, free: 20.2 MB / 442.7 MB Notification: Performance of Templates: time 0.4985/2.71, allocations: 70.24 MB / 1.037 GB, free: 102.7 MB / 442.7 MB