Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008385, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005722/0.005722, allocations: 171.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 222.5 MB, free: 5.527 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.3888/0.3888, allocations: 40 MB / 310.7 MB, free: 9.609 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.0009713/0.0009714, allocations: 16 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1774, allocations: 57.95 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3518/0.5292, allocations: 44.91 MB / 482.3 MB, free: 25.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02571/0.5549, allocations: 9.81 MB / 492.1 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01255/0.5676, allocations: 197.9 kB / 492.3 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.5699, allocations: 0.5647 MB / 492.9 MB, free: 19.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00678/0.5767, allocations: 1.812 MB / 494.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.5783, allocations: 0.4999 MB / 495.2 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006985/0.5853, allocations: 5.901 MB / 0.4894 GB, free: 16.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00742/0.5928, allocations: 4.68 MB / 0.4939 GB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.5956, allocations: 1.12 MB / 0.495 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/0.5998, allocations: 1.957 MB / 0.4969 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000896/0.6007, allocations: 154.8 kB / 0.4971 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.6037, allocations: 1.047 MB / 0.4981 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00262/0.6063, allocations: 1.798 MB / 0.4999 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004085/0.6104, allocations: 2.14 MB / 0.5019 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.6228, allocations: 7.249 MB / 0.509 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6229, allocations: 0 / 0.509 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6229, allocations: 1.188 kB / 0.509 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003989/0.6233, allocations: 0 / 0.509 GB, free: 8.621 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01425/0.6375, allocations: 4.27 MB / 0.5132 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6376, allocations: 8.844 kB / 0.5132 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.6501, allocations: 3.264 MB / 0.5164 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006858/0.657, allocations: 2.322 MB / 0.5187 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.6573, allocations: 254.3 kB / 0.5189 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.6589, allocations: 336.1 kB / 0.5192 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/0.6842, allocations: 11.9 MB / 0.5308 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.6844, allocations: 27.72 kB / 0.5309 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005451/0.685, allocations: 151.8 kB / 0.531 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/0.6898, allocations: 2.649 MB / 0.5336 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/0.7138, allocations: 11 MB / 0.5443 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06221/0.7761, allocations: 37.57 MB / 0.581 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008839/0.785, allocations: 4.413 MB / 0.5853 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/0.7881, allocations: 2.158 MB / 0.5874 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.7892, allocations: 1.323 MB / 0.5887 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.7893, allocations: 56.55 kB / 0.5888 GB, free: 10.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 5.28e-06/0.7893, allocations: 0 / 0.5888 GB, free: 10.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04548/0.8348, allocations: 13.9 MB / 0.6024 GB, free: 12.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.8349, allocations: 73.41 kB / 0.6024 GB, free: 12.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006901/0.8418, allocations: 2.993 MB / 0.6054 GB, free: 9.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000548/0.8424, allocations: 57.7 kB / 0.6054 GB, free: 9.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002802/0.8452, allocations: 3.108 MB / 0.6084 GB, free: 6.359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001627/0.8469, allocations: 0.9868 MB / 0.6094 GB, free: 5.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.8483, allocations: 0.5152 MB / 0.6099 GB, free: 4.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8485, allocations: 301.1 kB / 0.6102 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004778/0.8533, allocations: 2.405 MB / 0.6126 GB, free: 2.129 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007303/0.8606, allocations: 5.709 MB / 0.6181 GB, free: 10.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.8727, allocations: 8.888 MB / 0.6268 GB, free: 300 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/0.8729, allocations: 32 kB / 0.6268 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.3157/1.189, allocations: 8.815 MB / 0.6354 GB, free: 141.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/1.189, allocations: 54.34 kB / 0.6355 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/1.189, allocations: 112.8 kB / 0.6356 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003694/1.193, allocations: 1.05 MB / 0.6366 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/1.198, allocations: 1.381 MB / 0.638 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/1.2, allocations: 2.47 MB / 0.6404 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005569/1.206, allocations: 320.6 kB / 0.6407 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.207, allocations: 357.9 kB / 0.641 GB, free: 140.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (748): * Single equations (assignments): 739 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007213/1.215, allocations: 2.367 MB / 0.6434 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.216, allocations: 305.8 kB / 0.6436 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.228, allocations: 5.092 MB / 0.6486 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/1.228, allocations: 55.3 kB / 0.6487 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.402e-05/1.228, allocations: 2.938 kB / 0.6487 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.157e-05/1.228, allocations: 14.25 kB / 0.6487 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/1.26, allocations: 11.78 MB / 0.6602 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/1.26, allocations: 10.81 kB / 0.6602 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/1.262, allocations: 426.5 kB / 0.6606 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00396/1.266, allocations: 0.9064 MB / 0.6615 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006473/1.267, allocations: 62.73 kB / 0.6615 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/1.27, allocations: 2.277 MB / 0.6638 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.992e-05/1.27, allocations: 7.25 kB / 0.6638 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/1.289, allocations: 7.568 MB / 0.6712 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.291, allocations: 350.6 kB / 0.6715 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.292, allocations: 48.3 kB / 0.6715 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.295, allocations: 144.9 kB / 0.6717 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/1.295, allocations: 157.6 kB / 0.6718 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003531/1.296, allocations: 82.45 kB / 0.6719 GB, free: 128.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005044/1.301, allocations: 1.836 MB / 0.6737 GB, free: 128.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.81e-07/1.301, allocations: 0 / 0.6737 GB, free: 128.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00844/1.309, allocations: 1.036 MB / 0.6747 GB, free: 128 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/1.31, allocations: 194.9 kB / 0.6749 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01306/1.324, allocations: 6.279 MB / 0.681 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.3e-05/1.324, allocations: 4 kB / 0.681 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005547/1.329, allocations: 2.606 MB / 0.6836 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007146/1.336, allocations: 496.2 kB / 0.6841 GB, free: 121.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/1.364, allocations: 14.03 MB / 0.6978 GB, free: 108.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007697/1.372, allocations: 3.666 MB / 0.7013 GB, free: 105.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005932/1.378, allocations: 2.146 MB / 0.7034 GB, free: 103.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/1.379, allocations: 255.4 kB / 0.7037 GB, free: 103.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.572e-06/1.379, allocations: 0 / 0.7037 GB, free: 103.2 MB / 494.1 MB Notification: Performance of Templates: time 0.0652/1.444, allocations: 34.2 MB / 0.7371 GB, free: 69.17 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) Environment - environmentSimulation: