Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002746/0.002752, allocations: 348.9 kB / 15.95 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.465/3.465, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005085/0.005085, allocations: 233.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4665/0.4665, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.09949, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.3226/0.4222, allocations: 46.53 MB / 0.6522 GB, free: 62.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03061/0.4529, allocations: 10.3 MB / 0.6622 GB, free: 55.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01136/0.4643, allocations: 221.3 kB / 0.6624 GB, free: 55.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008609/0.4729, allocations: 2.257 MB / 0.6646 GB, free: 53.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0261/0.4991, allocations: 7.965 MB / 0.6724 GB, free: 45.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.5041, allocations: 0.8776 MB / 0.6733 GB, free: 44.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05292/0.5571, allocations: 29.81 MB / 0.7024 GB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009553/0.5667, allocations: 5.123 MB / 0.7074 GB, free: 9.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.5709, allocations: 1.852 MB / 0.7092 GB, free: 7.852 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005931/0.5769, allocations: 3.128 MB / 0.7122 GB, free: 4.715 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.5786, allocations: 240 kB / 0.7125 GB, free: 4.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004338/0.583, allocations: 1.186 MB / 0.7136 GB, free: 3.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003807/0.5868, allocations: 2.575 MB / 0.7162 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.5893, allocations: 1.189 MB / 0.7173 GB, free: 15.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.6033, allocations: 7.992 MB / 0.7251 GB, free: 7.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.6034, allocations: 4 kB / 0.7251 GB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6034, allocations: 0 / 0.7251 GB, free: 7.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003325/0.6038, allocations: 3.75 kB / 0.7251 GB, free: 7.496 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02326/0.627, allocations: 6.336 MB / 0.7313 GB, free: 1.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.6271, allocations: 8.031 kB / 0.7313 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0361/0.6632, allocations: 4.753 MB / 0.736 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.6784, allocations: 4.157 MB / 0.74 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/0.679, allocations: 321.4 kB / 0.7403 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/0.6816, allocations: 423.7 kB / 0.7407 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04588/0.7275, allocations: 15.92 MB / 0.7563 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002992/0.7279, allocations: 56.59 kB / 0.7563 GB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/0.73, allocations: 203.8 kB / 0.7565 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009162/0.7392, allocations: 3.157 MB / 0.7596 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3562/1.096, allocations: 14.29 MB / 0.7736 GB, free: 115.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09938/1.195, allocations: 57.68 MB / 0.8299 GB, free: 72.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02254/1.218, allocations: 6.67 MB / 0.8364 GB, free: 65.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007447/1.225, allocations: 3.746 MB / 0.8401 GB, free: 62.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03366/1.259, allocations: 14.78 MB / 0.8545 GB, free: 46.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/1.259, allocations: 68.55 kB / 0.8546 GB, free: 46.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 8.115e-06/1.259, allocations: 0 / 0.8546 GB, free: 46.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.2918/1.551, allocations: 43.11 MB / 0.8967 GB, free: 3.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/1.551, allocations: 215.4 kB / 0.8969 GB, free: 3.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01249/1.563, allocations: 5.438 MB / 0.9022 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001018/1.564, allocations: 74.7 kB / 0.9023 GB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005265/1.57, allocations: 4.333 MB / 0.9065 GB, free: 9.633 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002617/1.572, allocations: 1.264 MB / 0.9077 GB, free: 8.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/1.574, allocations: 177.5 kB / 0.9079 GB, free: 8.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009187/1.575, allocations: 0.6982 MB / 0.9086 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01355/1.588, allocations: 4.796 MB / 0.9133 GB, free: 2.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0189/1.607, allocations: 9.773 MB / 0.9228 GB, free: 6.492 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3295/1.937, allocations: 6.69 MB / 0.9293 GB, free: 134.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/1.937, allocations: 48.72 kB / 0.9294 GB, free: 134.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.08046/2.018, allocations: 19.54 MB / 0.9485 GB, free: 130.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/2.018, allocations: 79.53 kB / 0.9485 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003433/2.018, allocations: 172.4 kB / 0.9487 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04384/2.062, allocations: 5.985 MB / 0.9546 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/2.076, allocations: 2.12 MB / 0.9566 GB, free: 129.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05278/2.129, allocations: 24.77 MB / 0.9808 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.14, allocations: 0.5547 MB / 0.9814 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002016/2.142, allocations: 0.5125 MB / 0.9819 GB, free: 113.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (1096): * Single equations (assignments): 1088 * 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.007947/2.15, allocations: 3.094 MB / 0.9849 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/2.152, allocations: 0.4928 MB / 0.9854 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05729/2.209, allocations: 13.01 MB / 0.9981 GB, free: 96.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/2.209, allocations: 15.91 kB / 0.9981 GB, free: 96.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/2.209, allocations: 3.75 kB / 0.9981 GB, free: 96.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/2.214, allocations: 1.324 MB / 0.9994 GB, free: 95.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002102/2.216, allocations: 49.33 kB / 0.9994 GB, free: 95.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01021/2.226, allocations: 264.2 kB / 0.9997 GB, free: 95.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002276/2.228, allocations: 207.8 kB / 0.9999 GB, free: 95.2 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05768/2.286, allocations: 10.57 MB / 1.01 GB, free: 84.69 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03514/2.321, allocations: 12.94 MB / 1.023 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00762/2.329, allocations: 3.659 MB / 1.026 GB, free: 68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009592/2.339, allocations: 3.374 MB / 1.03 GB, free: 64.64 MB / 442.7 MB Notification: Performance of Backend: time 1.713e-06/2.339, allocations: 0 / 1.03 GB, free: 64.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02547/2.364, allocations: 7.903 MB / 1.037 GB, free: 56.81 MB / 442.7 MB Notification: Performance of SimCode: time 0.04337/2.408, allocations: 15.95 MB / 1.053 GB, free: 40.85 MB / 442.7 MB Notification: Performance of Templates: time 0.5785/2.986, allocations: 86.47 MB / 1.137 GB, free: 111 MB / 442.7 MB