Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004232/0.004237, allocations: 369.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.874/3.874, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003512/0.003512, allocations: 240.7 kB / 451 MB, free: 145.1 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.4951/0.4951, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007605/0.0007608, allocations: 14.09 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09591, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02675/0.1227, allocations: 22.88 MB / 0.7024 GB, free: 18.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.1371, allocations: 5.829 MB / 0.7081 GB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004029/0.1412, allocations: 111.8 kB / 0.7082 GB, free: 12.74 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.1448, allocations: 1.155 MB / 0.7094 GB, free: 11.58 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.1563, allocations: 4.036 MB / 0.7133 GB, free: 7.527 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.1591, allocations: 0.5694 MB / 0.7139 GB, free: 6.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007156/0.1663, allocations: 3.987 MB / 0.7178 GB, free: 2.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3497/0.5161, allocations: 2.837 MB / 0.7205 GB, free: 13.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.5185, allocations: 1.022 MB / 0.7215 GB, free: 13.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.5219, allocations: 1.602 MB / 0.7231 GB, free: 13.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000938/0.5229, allocations: 129.8 kB / 0.7232 GB, free: 13.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.5249, allocations: 0.5319 MB / 0.7237 GB, free: 13.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002721/0.5276, allocations: 1.48 MB / 0.7252 GB, free: 13.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.529, allocations: 0.785 MB / 0.7259 GB, free: 13.85 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.5377, allocations: 4.966 MB / 0.7308 GB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.5378, allocations: 4 kB / 0.7308 GB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.789e-06/0.5378, allocations: 0 / 0.7308 GB, free: 13.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002621/0.5381, allocations: 4.422 kB / 0.7308 GB, free: 13.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01117/0.5492, allocations: 3.473 MB / 0.7342 GB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.5493, allocations: 14.17 kB / 0.7342 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02233/0.5717, allocations: 3.661 MB / 0.7378 GB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006212/0.5779, allocations: 1.825 MB / 0.7396 GB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.5782, allocations: 203 kB / 0.7398 GB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.5797, allocations: 261.3 kB / 0.74 GB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/0.6055, allocations: 10.53 MB / 0.7503 GB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.6057, allocations: 31.62 kB / 0.7503 GB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00076/0.6064, allocations: 130.4 kB / 0.7504 GB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006639/0.6131, allocations: 2.433 MB / 0.7528 GB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02529/0.6384, allocations: 9.354 MB / 0.762 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07893/0.7174, allocations: 38.84 MB / 0.7999 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.7291, allocations: 3.487 MB / 0.8033 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004756/0.7339, allocations: 1.27 MB / 0.8045 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0334/0.7674, allocations: 5.458 MB / 0.8099 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.7675, allocations: 50.12 kB / 0.8099 GB, free: 15.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=153): time 8.696e-06/0.7675, allocations: 0 / 0.8099 GB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=153): time 0.02552/0.7931, allocations: 3.344 MB / 0.8132 GB, free: 12.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.7933, allocations: 171.3 kB / 0.8133 GB, free: 11.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02182/0.8151, allocations: 3.902 MB / 0.8171 GB, free: 8.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003794/0.8155, allocations: 45.7 kB / 0.8172 GB, free: 7.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004064/0.8196, allocations: 3.31 MB / 0.8204 GB, free: 4.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00131/0.821, allocations: 0.6167 MB / 0.821 GB, free: 4.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008915/0.8219, allocations: 128 kB / 0.8211 GB, free: 3.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007284/0.8227, allocations: 0.591 MB / 0.8217 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006064/0.8287, allocations: 1.973 MB / 0.8236 GB, free: 1.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/0.8393, allocations: 6.26 MB / 0.8298 GB, free: 9.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/0.8485, allocations: 3.512 MB / 0.8332 GB, free: 5.586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/0.8487, allocations: 44 kB / 0.8332 GB, free: 5.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02301/0.8717, allocations: 7.855 MB / 0.8409 GB, free: 13.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.8719, allocations: 72 kB / 0.841 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002555/0.8722, allocations: 156.9 kB / 0.8411 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.8725, allocations: 220 kB / 0.8413 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009364/0.8819, allocations: 1.508 MB / 0.8428 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000381/0.8823, allocations: 298.8 kB / 0.8431 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007176/0.8895, allocations: 0.9447 MB / 0.844 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/0.891, allocations: 408 kB / 0.8444 GB, free: 10.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (816): * Single equations (assignments): 808 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006686/0.8977, allocations: 2.276 MB / 0.8466 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008503/0.8986, allocations: 319.8 kB / 0.8469 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.9, allocations: 416 kB / 0.8473 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.9, allocations: 7.969 kB / 0.8473 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.9, allocations: 0 / 0.8473 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009815/0.901, allocations: 376.5 kB / 0.8477 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006284/0.9017, allocations: 27.98 kB / 0.8477 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.9035, allocations: 58.73 kB / 0.8478 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.9038, allocations: 56.48 kB / 0.8478 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005642/0.9094, allocations: 2.282 MB / 0.8501 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005211/0.9147, allocations: 2.515 MB / 0.8525 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001976/0.9167, allocations: 0.8723 MB / 0.8534 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006356/0.9231, allocations: 2.371 MB / 0.8557 GB, free: 14.51 MB / 458.7 MB Notification: Performance of Backend: time 1.864e-06/0.9231, allocations: 4 kB / 0.8557 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0127/0.9358, allocations: 3.829 MB / 0.8594 GB, free: 10.72 MB / 458.7 MB Notification: Performance of SimCode: time 0.02626/0.9622, allocations: 10.26 MB / 0.8694 GB, free: 412 kB / 458.7 MB Notification: Performance of Templates: time 0.1228/1.085, allocations: 32.4 MB / 0.9011 GB, free: 196 kB / 490.7 MB