Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009822/0.0009821, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4428/0.4428, allocations: 40 MB / 310.4 MB, free: 9.922 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007107/0.000711, allocations: 27.92 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1961, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3711/0.5672, allocations: 38.37 MB / 475.2 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02236/0.5897, allocations: 8.686 MB / 483.8 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/0.6013, allocations: 175.2 kB / 484 MB, free: 25.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008017/0.6094, allocations: 1.923 MB / 485.9 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01836/0.6278, allocations: 5.629 MB / 491.6 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.6312, allocations: 497.9 kB / 492.1 MB, free: 22.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007336/0.6386, allocations: 4.758 MB / 496.8 MB, free: 20.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007967/0.6466, allocations: 4.318 MB / 0.4894 GB, free: 19.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.6505, allocations: 1.269 MB / 0.4906 GB, free: 18.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005049/0.6556, allocations: 2.023 MB / 0.4926 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.6571, allocations: 165.6 kB / 0.4928 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.6608, allocations: 0.9181 MB / 0.4937 GB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003736/0.6645, allocations: 1.848 MB / 0.4955 GB, free: 17.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.6666, allocations: 0.9464 MB / 0.4964 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.6787, allocations: 6.322 MB / 0.5026 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.6788, allocations: 0 / 0.5026 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.551e-06/0.6788, allocations: 0 / 0.5026 GB, free: 13.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005356/0.6794, allocations: 0 / 0.5026 GB, free: 13.78 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01593/0.6953, allocations: 4.513 MB / 0.507 GB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.6954, allocations: 9.5 kB / 0.507 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/0.7087, allocations: 3.28 MB / 0.5102 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008638/0.7174, allocations: 2.348 MB / 0.5125 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.7179, allocations: 267.1 kB / 0.5127 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002324/0.7202, allocations: 362.8 kB / 0.5131 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/0.746, allocations: 12.64 MB / 0.5254 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.7462, allocations: 31.66 kB / 0.5254 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005752/0.7468, allocations: 171.8 kB / 0.5256 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004357/0.7511, allocations: 2.766 MB / 0.5283 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02705/0.7782, allocations: 11.55 MB / 0.5396 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07594/0.8542, allocations: 40.45 MB / 0.5791 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.865, allocations: 5.078 MB / 0.5841 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/0.8684, allocations: 2.408 MB / 0.5864 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.8789, allocations: 6.839 MB / 0.5931 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.879, allocations: 64.5 kB / 0.5932 GB, free: 5.879 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 5.149e-06/0.879, allocations: 0 / 0.5932 GB, free: 5.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=244): time 0.03679/0.9158, allocations: 16.45 MB / 0.6092 GB, free: 5.277 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.9159, allocations: 77.34 kB / 0.6093 GB, free: 5.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/0.9223, allocations: 3.19 MB / 0.6124 GB, free: 1.984 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000274/0.9226, allocations: 53.7 kB / 0.6125 GB, free: 1.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003325/0.926, allocations: 3.298 MB / 0.6157 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/0.9274, allocations: 0.9175 MB / 0.6166 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/0.928, allocations: 120 kB / 0.6167 GB, free: 13.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006107/0.9286, allocations: 0.5666 MB / 0.6172 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004549/0.9332, allocations: 2.413 MB / 0.6196 GB, free: 10.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007065/0.9403, allocations: 5.812 MB / 0.6253 GB, free: 3.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3187/1.259, allocations: 3.719 MB / 0.6289 GB, free: 140.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.259, allocations: 38.7 kB / 0.6289 GB, free: 140.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02036/1.28, allocations: 8.987 MB / 0.6377 GB, free: 139.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/1.28, allocations: 55.41 kB / 0.6378 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.28, allocations: 118.4 kB / 0.6379 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/1.283, allocations: 1.148 MB / 0.639 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005086/1.288, allocations: 1.397 MB / 0.6404 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/1.294, allocations: 4.59 MB / 0.6449 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/1.299, allocations: 332.4 kB / 0.6452 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008875/1.3, allocations: 354.2 kB / 0.6455 GB, free: 136.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (756): * Single equations (assignments): 748 * 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 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.005943/1.306, allocations: 2.427 MB / 0.6479 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007828/1.306, allocations: 302.6 kB / 0.6482 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/1.314, allocations: 4.493 MB / 0.6526 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-05/1.314, allocations: 45.38 kB / 0.6526 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.314, allocations: 6.953 kB / 0.6526 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/1.314, allocations: 10.17 kB / 0.6526 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/1.338, allocations: 10.61 MB / 0.663 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.338, allocations: 4.406 kB / 0.663 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.34, allocations: 394.8 kB / 0.6634 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/1.342, allocations: 0.6785 MB / 0.664 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/1.342, allocations: 49.72 kB / 0.6641 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/1.345, allocations: 2.43 MB / 0.6664 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/1.345, allocations: 6.406 kB / 0.6664 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.358, allocations: 6.858 MB / 0.6731 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/1.359, allocations: 363 kB / 0.6735 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/1.36, allocations: 44.75 kB / 0.6735 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.361, allocations: 142.8 kB / 0.6737 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/1.361, allocations: 135.8 kB / 0.6738 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.361, allocations: 73.19 kB / 0.6739 GB, free: 126 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003873/1.365, allocations: 1.933 MB / 0.6758 GB, free: 125.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.332e-06/1.365, allocations: 4 kB / 0.6758 GB, free: 125.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005675/1.371, allocations: 1.075 MB / 0.6768 GB, free: 125.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (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,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005561/1.372, allocations: 195.3 kB / 0.677 GB, free: 125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009507/1.381, allocations: 5.889 MB / 0.6827 GB, free: 121.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.381, allocations: 0 / 0.6827 GB, free: 121.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0038/1.385, allocations: 2.44 MB / 0.6851 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.388, allocations: 458.1 kB / 0.6856 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.409, allocations: 13.62 MB / 0.6989 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/1.413, allocations: 3.759 MB / 0.7025 GB, free: 103.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004803/1.418, allocations: 2.061 MB / 0.7045 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/1.418, allocations: 247.2 kB / 0.7048 GB, free: 102.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/1.418, allocations: 0 / 0.7048 GB, free: 102.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06289/1.481, allocations: 34.37 MB / 0.7383 GB, free: 68.66 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) Environment - environmentSimulation: