Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002845/0.00285, allocations: 370.8 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.722/3.722, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003556/0.003555, allocations: 229.5 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.5306/0.5306, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007173/0.0007176, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1085, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3906/0.4992, allocations: 63.76 MB / 0.7424 GB, free: 11.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03692/0.5362, allocations: 13.53 MB / 0.7556 GB, free: 5.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01494/0.5512, allocations: 309.4 kB / 0.7559 GB, free: 5.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.5621, allocations: 3.063 MB / 0.7589 GB, free: 3.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04313/0.6053, allocations: 10.69 MB / 0.7693 GB, free: 12.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007458/0.6128, allocations: 1.292 MB / 0.7706 GB, free: 11.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07383/0.6867, allocations: 30.84 MB / 0.8007 GB, free: 14.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01976/0.7065, allocations: 6.389 MB / 0.8069 GB, free: 7.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.7139, allocations: 2.207 MB / 0.8091 GB, free: 5.375 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.725, allocations: 3.685 MB / 0.8127 GB, free: 1.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002455/0.7275, allocations: 248 kB / 0.8129 GB, free: 1.438 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006534/0.7341, allocations: 1.248 MB / 0.8141 GB, free: 192 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007389/0.7416, allocations: 2.996 MB / 0.8171 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003272/0.7449, allocations: 1.302 MB / 0.8183 GB, free: 11.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.7602, allocations: 8.553 MB / 0.8267 GB, free: 3.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.7603, allocations: 4 kB / 0.8267 GB, free: 3.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7603, allocations: 0 / 0.8267 GB, free: 3.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004103/0.7607, allocations: 0 / 0.8267 GB, free: 3.293 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02784/0.7885, allocations: 7.162 MB / 0.8337 GB, free: 12.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7886, allocations: 12.03 kB / 0.8337 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05868/0.8473, allocations: 4.223 MB / 0.8378 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/0.8686, allocations: 5.407 MB / 0.8431 GB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005326/0.8692, allocations: 377.4 kB / 0.8435 GB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/0.8719, allocations: 0.515 MB / 0.844 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05007/0.922, allocations: 16.55 MB / 0.8601 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004156/0.9225, allocations: 79.3 kB / 0.8602 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002062/0.9246, allocations: 235.8 kB / 0.8604 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007462/0.9321, allocations: 2.806 MB / 0.8632 GB, free: 12.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07842/1.011, allocations: 13.95 MB / 0.8768 GB, free: 14.71 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4658/1.476, allocations: 64.72 MB / 0.94 GB, free: 131.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04028/1.517, allocations: 7.966 MB / 0.9478 GB, free: 129.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009506/1.526, allocations: 4.336 MB / 0.952 GB, free: 127.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04703/1.573, allocations: 19.36 MB / 0.9709 GB, free: 116.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.165e-05/1.574, allocations: 62.88 kB / 0.971 GB, free: 116.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=289): time 8.275e-06/1.574, allocations: 7.109 kB / 0.971 GB, free: 116.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=370): time 0.3231/1.897, allocations: 53.99 MB / 1.024 GB, free: 64.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/1.897, allocations: 277.8 kB / 1.024 GB, free: 64.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/1.909, allocations: 6.023 MB / 1.03 GB, free: 58.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.91, allocations: 81.7 kB / 1.03 GB, free: 58.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004145/1.914, allocations: 4.669 MB / 1.034 GB, free: 53.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002232/1.916, allocations: 1.359 MB / 1.036 GB, free: 52.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/1.918, allocations: 199.9 kB / 1.036 GB, free: 51.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005863/1.918, allocations: 0.7033 MB / 1.037 GB, free: 51.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/1.929, allocations: 4.231 MB / 1.041 GB, free: 46.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01364/1.943, allocations: 9.427 MB / 1.05 GB, free: 34.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.956, allocations: 6.103 MB / 1.056 GB, free: 28.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/1.957, allocations: 55.94 kB / 1.056 GB, free: 28.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.06171/2.018, allocations: 18.09 MB / 1.074 GB, free: 10.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/2.019, allocations: 84 kB / 1.074 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000248/2.019, allocations: 180 kB / 1.074 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02652/2.045, allocations: 4.698 MB / 1.079 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0135/2.059, allocations: 2.125 MB / 1.081 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.432/2.491, allocations: 24.96 MB / 1.105 GB, free: 163.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.502, allocations: 0.5342 MB / 1.106 GB, free: 163.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002343/2.505, allocations: 0.5414 MB / 1.106 GB, free: 163.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1132): * Single equations (assignments): 1127 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(3,88.9%) 49} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009233/2.514, allocations: 3.126 MB / 1.109 GB, free: 162.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/2.516, allocations: 0.5627 MB / 1.11 GB, free: 162.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0462/2.562, allocations: 11.01 MB / 1.12 GB, free: 159.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/2.562, allocations: 17.89 kB / 1.12 GB, free: 159.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/2.562, allocations: 4.594 kB / 1.12 GB, free: 159.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0045/2.567, allocations: 1.186 MB / 1.122 GB, free: 159 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002561/2.569, allocations: 59.81 kB / 1.122 GB, free: 159 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006653/2.576, allocations: 227.2 kB / 1.122 GB, free: 158.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001674/2.578, allocations: 302.7 kB / 1.122 GB, free: 158.9 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04276/2.62, allocations: 10.47 MB / 1.132 GB, free: 155.9 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03234/2.653, allocations: 11.47 MB / 1.144 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007115/2.66, allocations: 3.25 MB / 1.147 GB, free: 150 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008855/2.669, allocations: 3.75 MB / 1.15 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of Backend: time 2.334e-06/2.669, allocations: 0.5469 kB / 1.15 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02343/2.692, allocations: 7.876 MB / 1.158 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of SimCode: time 0.03757/2.73, allocations: 17.76 MB / 1.175 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.265/2.995, allocations: 88.83 MB / 1.262 GB, free: 32.65 MB / 0.4949 GB