Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002718/0.002722, allocations: 371.2 kB / 15.96 MB, free: 6.199 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 3.981/3.981, allocations: 388.9 MB / 405.6 MB, free: 47.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003601/0.0036, allocations: 236.7 kB / 451 MB, free: 2.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8198/0.8198, allocations: 80 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 12 kB / 0.6265 GB, free: 4.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 54.89 MB / 0.6801 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.3644/0.4867, allocations: 40.86 MB / 0.72 GB, free: 60.05 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.5131, allocations: 9.313 MB / 0.7291 GB, free: 53.82 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00991/0.5231, allocations: 195 kB / 0.7293 GB, free: 53.79 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007391/0.5306, allocations: 1.95 MB / 0.7312 GB, free: 53.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02734/0.558, allocations: 6.954 MB / 0.738 GB, free: 50.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00469/0.5627, allocations: 0.7785 MB / 0.7387 GB, free: 49.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0559/0.6187, allocations: 28.29 MB / 0.7664 GB, free: 31.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007377/0.6261, allocations: 4.251 MB / 0.7705 GB, free: 27.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.6288, allocations: 1.405 MB / 0.7719 GB, free: 26.13 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.633, allocations: 2.407 MB / 0.7743 GB, free: 23.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.6341, allocations: 176 kB / 0.7744 GB, free: 23.54 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.6378, allocations: 1.135 MB / 0.7755 GB, free: 22.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003228/0.6411, allocations: 1.944 MB / 0.7774 GB, free: 20.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.6427, allocations: 0.8817 MB / 0.7783 GB, free: 19.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008084/0.6508, allocations: 6.04 MB / 0.7842 GB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.6509, allocations: 3.938 kB / 0.7842 GB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.6509, allocations: 0 / 0.7842 GB, free: 13.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002522/0.6511, allocations: 0 / 0.7842 GB, free: 13.51 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01614/0.6673, allocations: 4.746 MB / 0.7888 GB, free: 8.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.6674, allocations: 8.031 kB / 0.7888 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05221/0.7196, allocations: 2.979 MB / 0.7917 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/0.7339, allocations: 3.407 MB / 0.7951 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.7343, allocations: 234.1 kB / 0.7953 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/0.7364, allocations: 335.7 kB / 0.7956 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04046/0.7769, allocations: 11 MB / 0.8064 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/0.7772, allocations: 63.48 kB / 0.8064 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.7783, allocations: 147.9 kB / 0.8066 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005528/0.7839, allocations: 1.943 MB / 0.8085 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03355/0.8175, allocations: 9.545 MB / 0.8178 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08722/0.9047, allocations: 41.11 MB / 0.8579 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03038/0.9352, allocations: 4.298 MB / 0.8621 GB, free: 11.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007388/0.9427, allocations: 1.904 MB / 0.864 GB, free: 9.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02926/0.972, allocations: 7.615 MB / 0.8714 GB, free: 1.617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.185e-05/0.9721, allocations: 55.5 kB / 0.8715 GB, free: 1.555 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 9.758e-06/0.9722, allocations: 0 / 0.8715 GB, free: 1.555 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.7083/1.68, allocations: 41.48 MB / 0.912 GB, free: 137.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.681, allocations: 211 kB / 0.9122 GB, free: 137.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01396/1.695, allocations: 4.279 MB / 0.9164 GB, free: 135.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009048/1.696, allocations: 57.86 kB / 0.9164 GB, free: 135.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01024/1.706, allocations: 3.161 MB / 0.9195 GB, free: 132.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.708, allocations: 0.8812 MB / 0.9204 GB, free: 131.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/1.709, allocations: 134.3 kB / 0.9205 GB, free: 131.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005957/1.71, allocations: 0.5782 MB / 0.9211 GB, free: 131.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0241/1.734, allocations: 3.6 MB / 0.9246 GB, free: 128.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01417/1.748, allocations: 7.248 MB / 0.9317 GB, free: 119.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.763, allocations: 4.952 MB / 0.9365 GB, free: 114.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/1.763, allocations: 39.94 kB / 0.9365 GB, free: 114.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.06828/1.831, allocations: 16.14 MB / 0.9523 GB, free: 98.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/1.831, allocations: 60 kB / 0.9523 GB, free: 98.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/1.832, allocations: 124 kB / 0.9525 GB, free: 98.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04703/1.879, allocations: 6.276 MB / 0.9586 GB, free: 91.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02148/1.9, allocations: 1.486 MB / 0.96 GB, free: 90.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08999/1.99, allocations: 26.15 MB / 0.9856 GB, free: 63.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009074/1.999, allocations: 419.2 kB / 0.986 GB, free: 63.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/2.001, allocations: 384 kB / 0.9863 GB, free: 63.13 MB / 474.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.006305/2.007, allocations: 2.212 MB / 0.9885 GB, free: 60.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/2.009, allocations: 395 kB / 0.9889 GB, free: 60.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05256/2.061, allocations: 11.29 MB / 0.9999 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/2.061, allocations: 11.95 kB / 0.9999 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/2.061, allocations: 4 kB / 0.9999 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003486/2.065, allocations: 1.042 MB / 1.001 GB, free: 48.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/2.067, allocations: 39.95 kB / 1.001 GB, free: 48.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005374/2.072, allocations: 178 kB / 1.001 GB, free: 47.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009926/2.073, allocations: 188.8 kB / 1.001 GB, free: 47.71 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03339/2.106, allocations: 8.799 MB / 1.01 GB, free: 38.95 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0203/2.127, allocations: 9.655 MB / 1.019 GB, free: 29.27 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005469/2.132, allocations: 2.709 MB / 1.022 GB, free: 26.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005954/2.138, allocations: 2.685 MB / 1.025 GB, free: 23.87 MB / 474.7 MB Notification: Performance of Backend: time 1.262e-06/2.138, allocations: 0 / 1.025 GB, free: 23.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01802/2.156, allocations: 6.065 MB / 1.031 GB, free: 17.84 MB / 474.7 MB Notification: Performance of SimCode: time 0.02521/2.182, allocations: 11.93 MB / 1.042 GB, free: 5.875 MB / 474.7 MB Notification: Performance of Templates: time 0.4999/2.682, allocations: 70.25 MB / 1.111 GB, free: 102.8 MB / 474.7 MB