Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003912/0.003917, allocations: 354.7 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.287/3.287, 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.003503/0.003503, allocations: 224.2 kB / 397.9 MB, free: 6.164 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.5113/0.5113, allocations: 76.09 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004878, allocations: 16 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.09929, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3592/0.4585, allocations: 54.19 MB / 0.6597 GB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03178/0.4904, allocations: 11.88 MB / 0.6713 GB, free: 9.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/0.5029, allocations: 265.7 kB / 0.6715 GB, free: 9.797 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009915/0.5129, allocations: 2.642 MB / 0.6741 GB, free: 8.777 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03118/0.5441, allocations: 9.152 MB / 0.683 GB, free: 4.363 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.5495, allocations: 0.9233 MB / 0.6839 GB, free: 4.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.06104/0.6105, allocations: 29.27 MB / 0.7125 GB, free: 13.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01365/0.6243, allocations: 5.546 MB / 0.7179 GB, free: 7.715 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.6288, allocations: 1.611 MB / 0.7195 GB, free: 6.098 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00606/0.635, allocations: 2.559 MB / 0.722 GB, free: 3.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.6362, allocations: 176 kB / 0.7222 GB, free: 3.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.6403, allocations: 1.123 MB / 0.7233 GB, free: 2.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003783/0.6441, allocations: 2.158 MB / 0.7254 GB, free: 72 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.6461, allocations: 1.014 MB / 0.7264 GB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.6574, allocations: 6.78 MB / 0.733 GB, free: 8.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.6575, allocations: 4 kB / 0.733 GB, free: 8.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6575, allocations: 3.938 kB / 0.733 GB, free: 8.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002519/0.6577, allocations: 0 / 0.733 GB, free: 8.242 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.02045/0.6782, allocations: 5.409 MB / 0.7383 GB, free: 2.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.6783, allocations: 8.031 kB / 0.7383 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02321/0.7015, allocations: 3.027 MB / 0.7412 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.7145, allocations: 3.961 MB / 0.7451 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.7149, allocations: 283.2 kB / 0.7454 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.7167, allocations: 391.7 kB / 0.7458 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03458/0.7513, allocations: 12.17 MB / 0.7576 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002629/0.7516, allocations: 55.5 kB / 0.7577 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.7529, allocations: 183.8 kB / 0.7579 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005442/0.7583, allocations: 2.081 MB / 0.7599 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0402/0.7986, allocations: 10.51 MB / 0.7702 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08919/0.8878, allocations: 47.37 MB / 0.8164 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3039/1.192, allocations: 5.904 MB / 0.8222 GB, free: 159.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006407/1.198, allocations: 2.962 MB / 0.8251 GB, free: 158.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02203/1.22, allocations: 8.871 MB / 0.8337 GB, free: 153.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/1.22, allocations: 55.59 kB / 0.8338 GB, free: 153.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=206): time 7.414e-06/1.221, allocations: 0 / 0.8338 GB, free: 153.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.2221/1.443, allocations: 35.57 MB / 0.8685 GB, free: 126.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/1.443, allocations: 213.8 kB / 0.8687 GB, free: 126.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009436/1.452, allocations: 4.749 MB / 0.8734 GB, free: 121.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006849/1.453, allocations: 61.7 kB / 0.8734 GB, free: 121.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002974/1.456, allocations: 3.53 MB / 0.8769 GB, free: 117.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.457, allocations: 0.9764 MB / 0.8778 GB, free: 116.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000827/1.458, allocations: 140 kB / 0.878 GB, free: 116.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000417/1.459, allocations: 0.5917 MB / 0.8785 GB, free: 116.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007334/1.466, allocations: 3.145 MB / 0.8816 GB, free: 112.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009259/1.475, allocations: 6.999 MB / 0.8885 GB, free: 104 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/1.487, allocations: 4.583 MB / 0.8929 GB, free: 99.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.651e-05/1.488, allocations: 36 kB / 0.893 GB, free: 99.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04236/1.53, allocations: 13.66 MB / 0.9063 GB, free: 85.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/1.53, allocations: 61 kB / 0.9064 GB, free: 85.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/1.53, allocations: 140 kB / 0.9065 GB, free: 85.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0217/1.552, allocations: 4.421 MB / 0.9108 GB, free: 81.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00873/1.561, allocations: 1.474 MB / 0.9123 GB, free: 79.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08783/1.649, allocations: 26.82 MB / 0.9384 GB, free: 52.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/1.661, allocations: 411.3 kB / 0.9388 GB, free: 52.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002015/1.664, allocations: 411.9 kB / 0.9392 GB, free: 51.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],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 (795): * Single equations (assignments): 789 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.00905/1.673, allocations: 2.467 MB / 0.9416 GB, free: 49.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.674, allocations: 434.4 kB / 0.9421 GB, free: 48.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04033/1.714, allocations: 8.467 MB / 0.9503 GB, free: 40.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.976e-05/1.714, allocations: 15.89 kB / 0.9503 GB, free: 40.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.714, allocations: 4 kB / 0.9503 GB, free: 40.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004233/1.719, allocations: 0.9677 MB / 0.9513 GB, free: 39.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001981/1.721, allocations: 44.42 kB / 0.9513 GB, free: 39.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005948/1.727, allocations: 173.2 kB / 0.9515 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/1.728, allocations: 233.6 kB / 0.9517 GB, free: 38.76 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0366/1.764, allocations: 8.471 MB / 0.96 GB, free: 30.32 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01855/1.783, allocations: 8.224 MB / 0.968 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004963/1.788, allocations: 2.417 MB / 0.9704 GB, free: 19.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006393/1.794, allocations: 2.99 MB / 0.9733 GB, free: 16.64 MB / 442.7 MB Notification: Performance of Backend: time 8.22e-07/1.794, allocations: 0 / 0.9733 GB, free: 16.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3112/2.106, allocations: 6.491 MB / 0.9796 GB, free: 148.4 MB / 442.7 MB Notification: Performance of SimCode: time 0.03148/2.137, allocations: 13.86 MB / 0.9932 GB, free: 142.6 MB / 442.7 MB Notification: Performance of Templates: time 0.1761/2.313, allocations: 70.82 MB / 1.062 GB, free: 85.08 MB / 442.7 MB