Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00281/0.002814, allocations: 364.4 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.33 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.004739/0.004738, allocations: 224 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.5372/0.5372, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004751, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09604, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.04326/0.1394, allocations: 36.84 MB / 0.7161 GB, free: 4.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3376/0.477, allocations: 8.356 MB / 0.7242 GB, free: 11.89 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/0.4875, allocations: 167.8 kB / 0.7244 GB, free: 11.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009657/0.4973, allocations: 1.823 MB / 0.7262 GB, free: 11.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03283/0.5302, allocations: 6.285 MB / 0.7323 GB, free: 11.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.5354, allocations: 0.4929 MB / 0.7328 GB, free: 11.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.5479, allocations: 4.762 MB / 0.7374 GB, free: 9.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01325/0.5612, allocations: 4.331 MB / 0.7417 GB, free: 8.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.5656, allocations: 1.247 MB / 0.7429 GB, free: 7.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006521/0.5722, allocations: 2.009 MB / 0.7449 GB, free: 7.176 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001932/0.5742, allocations: 163.8 kB / 0.745 GB, free: 7.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/0.5797, allocations: 0.9203 MB / 0.7459 GB, free: 6.938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004991/0.5848, allocations: 1.819 MB / 0.7477 GB, free: 6.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002197/0.5871, allocations: 0.9349 MB / 0.7486 GB, free: 6.082 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.5975, allocations: 6.315 MB / 0.7548 GB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5975, allocations: 0 / 0.7548 GB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5975, allocations: 0 / 0.7548 GB, free: 2.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003643/0.5979, allocations: 3.938 kB / 0.7548 GB, free: 2.656 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: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.01677/0.6147, allocations: 4.524 MB / 0.7592 GB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.6148, allocations: 8.031 kB / 0.7592 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02477/0.6395, allocations: 3.844 MB / 0.763 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008293/0.6479, allocations: 2.331 MB / 0.7652 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/0.6483, allocations: 272.3 kB / 0.7655 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002602/0.651, allocations: 353.7 kB / 0.7658 GB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03703/0.688, allocations: 12.66 MB / 0.7782 GB, free: 124 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/0.6883, allocations: 39.64 kB / 0.7782 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.69, allocations: 160.3 kB / 0.7784 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008206/0.6982, allocations: 2.753 MB / 0.7811 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03877/0.737, allocations: 11.59 MB / 0.7924 GB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/0.8381, allocations: 40.1 MB / 0.8315 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/0.8564, allocations: 4.89 MB / 0.8363 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006608/0.8631, allocations: 2.391 MB / 0.8387 GB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/0.8809, allocations: 6.505 MB / 0.845 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.755e-05/0.8811, allocations: 52.56 kB / 0.8451 GB, free: 10.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=231): time 7.424e-06/0.8811, allocations: 1.641 kB / 0.8451 GB, free: 10.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=252): time 0.09834/0.9794, allocations: 19.01 MB / 0.8636 GB, free: 7.469 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.9795, allocations: 77.39 kB / 0.8637 GB, free: 7.383 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007757/0.9873, allocations: 3.154 MB / 0.8668 GB, free: 4.219 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006892/0.9881, allocations: 65.7 kB / 0.8668 GB, free: 4.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/0.9919, allocations: 3.286 MB / 0.8701 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001809/0.9938, allocations: 0.9381 MB / 0.871 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007881/0.9946, allocations: 120 kB / 0.8711 GB, free: 15.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006263/0.9952, allocations: 0.5744 MB / 0.8716 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007215/1.002, allocations: 2.476 MB / 0.8741 GB, free: 12.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/1.013, allocations: 5.856 MB / 0.8798 GB, free: 5.238 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.024, allocations: 3.791 MB / 0.8835 GB, free: 1.449 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/1.024, allocations: 36 kB / 0.8835 GB, free: 1.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.03832/1.062, allocations: 10.13 MB / 0.8934 GB, free: 7.285 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.062, allocations: 52 kB / 0.8935 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/1.063, allocations: 120.8 kB / 0.8936 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02489/1.087, allocations: 2.411 MB / 0.8959 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/1.101, allocations: 1.365 MB / 0.8973 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3771/1.478, allocations: 10.73 MB / 0.9077 GB, free: 161.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006337/1.484, allocations: 329.3 kB / 0.9081 GB, free: 161.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.486, allocations: 362.3 kB / 0.9084 GB, free: 161 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 (738): * Single equations (assignments): 730 * 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: 0 * Non-linear torn systems: 2 {3 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.00741/1.493, allocations: 2.43 MB / 0.9108 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008252/1.494, allocations: 307.1 kB / 0.9111 GB, free: 160.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/1.509, allocations: 4.644 MB / 0.9156 GB, free: 158.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.682e-05/1.509, allocations: 14.59 kB / 0.9156 GB, free: 158.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/1.509, allocations: 0 / 0.9156 GB, free: 158.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.51, allocations: 350.4 kB / 0.9159 GB, free: 158.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.511, allocations: 42.45 kB / 0.916 GB, free: 158.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/1.514, allocations: 134.4 kB / 0.9161 GB, free: 158.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006048/1.515, allocations: 124.3 kB / 0.9162 GB, free: 158.3 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01397/1.529, allocations: 4.388 MB / 0.9205 GB, free: 156.9 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01491/1.544, allocations: 6.658 MB / 0.927 GB, free: 154.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004519/1.548, allocations: 1.85 MB / 0.9288 GB, free: 153.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007803/1.556, allocations: 1.913 MB / 0.9307 GB, free: 153.1 MB / 490.7 MB Notification: Performance of Backend: time 4.829e-06/1.556, allocations: 0 / 0.9307 GB, free: 153.1 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1952:5-1954:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1958:5-1960:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1955:5-1957:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01532/1.572, allocations: 4.774 MB / 0.9354 GB, free: 151.5 MB / 490.7 MB Notification: Performance of SimCode: time 0.02608/1.598, allocations: 12.69 MB / 0.9477 GB, free: 140.7 MB / 490.7 MB Notification: Performance of Templates: time 0.1377/1.736, allocations: 50.2 MB / 0.9968 GB, free: 91.63 MB / 490.7 MB