Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004041/0.004041, allocations: 366.8 kB / 15.96 MB, free: 6.203 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.013/4.013, 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.004539/0.004539, allocations: 219.3 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.5612/0.5612, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09465, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.04332/0.138, allocations: 36.83 MB / 0.7161 GB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3605/0.4986, allocations: 8.357 MB / 0.7242 GB, free: 11.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007675/0.5064, allocations: 168.6 kB / 0.7244 GB, free: 11.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006614/0.513, allocations: 1.826 MB / 0.7262 GB, free: 11.87 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02183/0.5349, allocations: 6.276 MB / 0.7323 GB, free: 11.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.5385, allocations: 0.4947 MB / 0.7328 GB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008252/0.5468, allocations: 4.749 MB / 0.7374 GB, free: 9.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008828/0.5557, allocations: 4.309 MB / 0.7416 GB, free: 8.316 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.5586, allocations: 1.237 MB / 0.7428 GB, free: 7.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.563, allocations: 2.002 MB / 0.7448 GB, free: 7.176 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.5641, allocations: 165.2 kB / 0.7449 GB, free: 7.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.5678, allocations: 0.9214 MB / 0.7458 GB, free: 6.934 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003377/0.5712, allocations: 1.812 MB / 0.7476 GB, free: 6.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.5732, allocations: 0.9336 MB / 0.7485 GB, free: 6.082 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009968/0.5832, allocations: 6.285 MB / 0.7547 GB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5832, allocations: 0 / 0.7547 GB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5832, allocations: 0 / 0.7547 GB, free: 2.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003447/0.5836, allocations: 0 / 0.7547 GB, free: 2.676 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01685/0.6005, allocations: 4.514 MB / 0.7591 GB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.6005, allocations: 8.031 kB / 0.7591 GB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/0.6254, allocations: 3.839 MB / 0.7628 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008154/0.6337, allocations: 2.324 MB / 0.7651 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.6341, allocations: 267.3 kB / 0.7654 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/0.6364, allocations: 350.8 kB / 0.7657 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0381/0.6745, allocations: 12.63 MB / 0.778 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/0.6748, allocations: 31.7 kB / 0.7781 GB, free: 220 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002011/0.6769, allocations: 171.4 kB / 0.7782 GB, free: 100 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008409/0.6853, allocations: 2.745 MB / 0.7809 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.044/0.7293, allocations: 11.55 MB / 0.7922 GB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/0.8312, allocations: 40.03 MB / 0.8313 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/0.8499, allocations: 4.954 MB / 0.8361 GB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006333/0.8563, allocations: 2.38 MB / 0.8384 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01732/0.8736, allocations: 6.481 MB / 0.8448 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/0.8738, allocations: 56.56 kB / 0.8448 GB, free: 10.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=228): time 8.176e-06/0.8738, allocations: 1.859 kB / 0.8448 GB, free: 10.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=237): time 0.07238/0.9462, allocations: 16.23 MB / 0.8607 GB, free: 10.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.9463, allocations: 69.41 kB / 0.8607 GB, free: 10.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/0.9579, allocations: 3.156 MB / 0.8638 GB, free: 7.172 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005848/0.9586, allocations: 61.64 kB / 0.8639 GB, free: 7.105 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003715/0.9623, allocations: 3.285 MB / 0.8671 GB, free: 3.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00171/0.964, allocations: 0.8901 MB / 0.868 GB, free: 2.949 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007259/0.9648, allocations: 116 kB / 0.8681 GB, free: 2.836 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005758/0.9654, allocations: 0.5703 MB / 0.8686 GB, free: 2.258 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006728/0.9721, allocations: 2.389 MB / 0.871 GB, free: 15.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/0.9825, allocations: 5.773 MB / 0.8766 GB, free: 8.426 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009717/0.9923, allocations: 3.704 MB / 0.8802 GB, free: 4.723 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.9924, allocations: 32 kB / 0.8802 GB, free: 4.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=807) (initialization): time 0.02878/1.021, allocations: 8.946 MB / 0.889 GB, free: 11.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.021, allocations: 56 kB / 0.889 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/1.022, allocations: 116 kB / 0.8891 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006804/1.028, allocations: 1.165 MB / 0.8903 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009217/1.038, allocations: 1.376 MB / 0.8916 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.048, allocations: 4.596 MB / 0.8961 GB, free: 4.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006629/1.055, allocations: 323.8 kB / 0.8964 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.057, allocations: 355.9 kB / 0.8968 GB, free: 3.605 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 739 * Array equations: 6 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.007717/1.065, allocations: 2.413 MB / 0.8991 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008936/1.066, allocations: 304 kB / 0.8994 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3809/1.446, allocations: 4.448 MB / 0.9037 GB, free: 166.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.494e-05/1.447, allocations: 9.703 kB / 0.9038 GB, free: 166.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.447, allocations: 3.875 kB / 0.9038 GB, free: 166.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009325/1.448, allocations: 342.2 kB / 0.9041 GB, free: 166.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.449, allocations: 36.33 kB / 0.9041 GB, free: 166.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.451, allocations: 132 kB / 0.9042 GB, free: 166.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/1.452, allocations: 118.7 kB / 0.9044 GB, free: 166.6 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01357/1.465, allocations: 4.148 MB / 0.9084 GB, free: 165.7 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01548/1.481, allocations: 6.28 MB / 0.9145 GB, free: 163.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004188/1.485, allocations: 1.744 MB / 0.9162 GB, free: 162.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004138/1.489, allocations: 1.912 MB / 0.9181 GB, free: 162.2 MB / 490.7 MB Notification: Performance of Backend: time 9.32e-07/1.489, allocations: 0 / 0.9181 GB, free: 162.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01671/1.506, allocations: 4.503 MB / 0.9225 GB, free: 160.7 MB / 490.7 MB Notification: Performance of SimCode: time 0.04121/1.547, allocations: 12.72 MB / 0.9349 GB, free: 153.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1429/1.69, allocations: 45.02 MB / 0.9789 GB, free: 110.8 MB / 490.7 MB