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.002692/0.002697, allocations: 369.9 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 4.156/4.156, allocations: 388.9 MB / 405.6 MB, free: 9.648 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.003495/0.003494, allocations: 223 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.5137/0.5137, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000746/0.000746, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1249, allocations: 54.87 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.384/0.509, allocations: 46.54 MB / 0.7255 GB, free: 11.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0296/0.5386, allocations: 10.32 MB / 0.7356 GB, free: 11.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0107/0.5494, allocations: 220.8 kB / 0.7358 GB, free: 11.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008513/0.5579, allocations: 2.265 MB / 0.738 GB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02916/0.5872, allocations: 7.965 MB / 0.7458 GB, free: 7.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005101/0.5923, allocations: 0.8658 MB / 0.7467 GB, free: 7.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.06871/0.6611, allocations: 29.8 MB / 0.7758 GB, free: 5.531 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/0.6762, allocations: 5.125 MB / 0.7808 GB, free: 1.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006285/0.6826, allocations: 1.852 MB / 0.7826 GB, free: 120 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.6933, allocations: 3.141 MB / 0.7856 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002708/0.6961, allocations: 237.2 kB / 0.7859 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00729/0.7035, allocations: 1.176 MB / 0.787 GB, free: 11.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007274/0.7108, allocations: 2.579 MB / 0.7895 GB, free: 9.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003371/0.7142, allocations: 1.193 MB / 0.7907 GB, free: 7.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01872/0.733, allocations: 7.992 MB / 0.7985 GB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.7331, allocations: 4 kB / 0.7985 GB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.7331, allocations: 0 / 0.7985 GB, free: 244 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003645/0.7335, allocations: 0 / 0.7985 GB, free: 244 kB / 378.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.02351/0.757, allocations: 6.338 MB / 0.8047 GB, free: 9.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.7571, allocations: 8.828 kB / 0.8047 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04603/0.8031, allocations: 4.746 MB / 0.8093 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/0.8234, allocations: 4.165 MB / 0.8134 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005768/0.8241, allocations: 312 kB / 0.8137 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003015/0.8271, allocations: 427.7 kB / 0.8141 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05091/0.8781, allocations: 15.92 MB / 0.8297 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/0.8784, allocations: 71.36 kB / 0.8297 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00213/0.8805, allocations: 203.8 kB / 0.8299 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009122/0.8897, allocations: 3.153 MB / 0.833 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04709/0.9368, allocations: 14.3 MB / 0.847 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1946/1.132, allocations: 57.68 MB / 0.9033 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3684/1.5, allocations: 6.671 MB / 0.9098 GB, free: 167.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008789/1.509, allocations: 3.741 MB / 0.9135 GB, free: 166.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03972/1.549, allocations: 14.78 MB / 0.9279 GB, free: 159.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/1.549, allocations: 74.33 kB / 0.928 GB, free: 159.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=292): time 8.766e-06/1.549, allocations: 1.281 kB / 0.928 GB, free: 159.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=342): time 0.2771/1.826, allocations: 43.12 MB / 0.9701 GB, free: 128.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/1.826, allocations: 210 kB / 0.9703 GB, free: 128 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/1.837, allocations: 5.434 MB / 0.9756 GB, free: 122.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.838, allocations: 78.39 kB / 0.9757 GB, free: 122.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003825/1.842, allocations: 4.332 MB / 0.9799 GB, free: 118.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002294/1.845, allocations: 1.268 MB / 0.9811 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/1.846, allocations: 177.3 kB / 0.9813 GB, free: 116.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007219/1.847, allocations: 0.6943 MB / 0.982 GB, free: 116 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01172/1.859, allocations: 4.8 MB / 0.9867 GB, free: 111.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01505/1.874, allocations: 9.767 MB / 0.9962 GB, free: 99.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/1.889, allocations: 6.689 MB / 1.003 GB, free: 92.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001883/1.889, allocations: 52 kB / 1.003 GB, free: 92.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07593/1.965, allocations: 19.53 MB / 1.022 GB, free: 72.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.965, allocations: 80 kB / 1.022 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/1.965, allocations: 172 kB / 1.022 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0425/2.008, allocations: 5.99 MB / 1.028 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/2.021, allocations: 2.121 MB / 1.03 GB, free: 64.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05146/2.073, allocations: 24.76 MB / 1.054 GB, free: 39.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/2.084, allocations: 0.5695 MB / 1.055 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/2.087, allocations: 0.5117 MB / 1.055 GB, free: 38.18 MB / 490.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.008187/2.095, allocations: 3.096 MB / 1.058 GB, free: 35.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/2.096, allocations: 497.5 kB / 1.059 GB, free: 34.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05676/2.153, allocations: 13.01 MB / 1.071 GB, free: 21.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.049e-05/2.153, allocations: 19.89 kB / 1.071 GB, free: 21.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/2.153, allocations: 0 / 1.071 GB, free: 21.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004459/2.158, allocations: 1.314 MB / 1.073 GB, free: 20.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002298/2.16, allocations: 48 kB / 1.073 GB, free: 20.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006641/2.167, allocations: 267.1 kB / 1.073 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/2.168, allocations: 205.8 kB / 1.073 GB, free: 19.64 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3913/2.559, allocations: 10.57 MB / 1.084 GB, free: 149.1 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03191/2.591, allocations: 12.95 MB / 1.096 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009163/2.601, allocations: 3.662 MB / 1.1 GB, free: 143.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009007/2.61, allocations: 3.366 MB / 1.103 GB, free: 142 MB / 490.7 MB Notification: Performance of Backend: time 1.694e-06/2.61, allocations: 3.812 kB / 1.103 GB, free: 142 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02383/2.634, allocations: 7.9 MB / 1.111 GB, free: 139 MB / 490.7 MB Notification: Performance of SimCode: time 0.03432/2.668, allocations: 15.95 MB / 1.126 GB, free: 130.9 MB / 490.7 MB Notification: Performance of Templates: time 0.2132/2.881, allocations: 86.49 MB / 1.211 GB, free: 50.65 MB / 490.7 MB