Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001499/0.0015, allocations: 188.4 kB / 16.25 MB, free: 6.629 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.7/1.7, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3363/0.3363, allocations: 37.97 MB / 307.4 MB, free: 10.04 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.1. 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.001476/0.001476, allocations: 74.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1275, allocations: 56.46 MB / 431.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.2791/0.4066, allocations: 42.43 MB / 473.6 MB, free: 30.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02313/0.4298, allocations: 9.092 MB / 482.7 MB, free: 25.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01107/0.4409, allocations: 177.6 kB / 482.9 MB, free: 25.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.4456, allocations: 2.272 MB / 485.2 MB, free: 24.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.4509, allocations: 1.877 MB / 487 MB, free: 23.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.4525, allocations: 0.5471 MB / 487.6 MB, free: 23.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005776/0.4583, allocations: 4.312 MB / 491.9 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004614/0.463, allocations: 3.877 MB / 495.8 MB, free: 20.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.4665, allocations: 1.651 MB / 497.4 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004514/0.4711, allocations: 2.474 MB / 499.9 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001646/0.4727, allocations: 371.9 kB / 0.4885 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.4764, allocations: 1.245 MB / 0.4898 GB, free: 18.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004003/0.4805, allocations: 2.138 MB / 0.4918 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009259/0.4898, allocations: 2.542 MB / 0.4943 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.5057, allocations: 8.011 MB / 0.5021 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.5057, allocations: 2.109 kB / 0.5022 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5057, allocations: 0 / 0.5022 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004069/0.5062, allocations: 4 kB / 0.5022 GB, free: 12.93 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.02017/0.5263, allocations: 5.476 MB / 0.5075 GB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5264, allocations: 17.33 kB / 0.5075 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.5381, allocations: 3.205 MB / 0.5106 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007353/0.5455, allocations: 2.382 MB / 0.513 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.5458, allocations: 268.6 kB / 0.5132 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.548, allocations: 370.5 kB / 0.5136 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.5756, allocations: 12.7 MB / 0.526 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/0.5759, allocations: 27.72 kB / 0.526 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007034/0.5766, allocations: 163.8 kB / 0.5262 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004532/0.5811, allocations: 2.762 MB / 0.5289 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02603/0.6072, allocations: 11.64 MB / 0.5402 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07129/0.6785, allocations: 40.56 MB / 0.5798 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.6893, allocations: 5.014 MB / 0.5847 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003876/0.6932, allocations: 2.421 MB / 0.5871 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01224/0.7055, allocations: 6.866 MB / 0.5938 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.7056, allocations: 52.56 kB / 0.5939 GB, free: 4.516 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 7.734e-06/0.7056, allocations: 0 / 0.5939 GB, free: 4.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=259): time 0.05201/0.7576, allocations: 19.35 MB / 0.6128 GB, free: 1.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.7577, allocations: 73.41 kB / 0.6128 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005632/0.7634, allocations: 3.21 MB / 0.616 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005201/0.7639, allocations: 61.7 kB / 0.616 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003046/0.767, allocations: 3.305 MB / 0.6193 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001679/0.7687, allocations: 0.9676 MB / 0.6202 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/0.7707, allocations: 1.258 MB / 0.6214 GB, free: 8.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7708, allocations: 309.1 kB / 0.6217 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/0.7748, allocations: 2.507 MB / 0.6242 GB, free: 5.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2624/1.037, allocations: 5.917 MB / 0.6299 GB, free: 146.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.048, allocations: 9.162 MB / 0.6389 GB, free: 140.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001629/1.049, allocations: 35.84 kB / 0.6389 GB, free: 140.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02275/1.071, allocations: 10.22 MB / 0.6489 GB, free: 137.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.071, allocations: 54.59 kB / 0.649 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/1.072, allocations: 119.1 kB / 0.6491 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00855/1.08, allocations: 2.375 MB / 0.6514 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005577/1.086, allocations: 1.375 MB / 0.6527 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/1.104, allocations: 11.69 MB / 0.6642 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/1.109, allocations: 330.1 kB / 0.6645 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.11, allocations: 366 kB / 0.6648 GB, free: 131.3 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 (747): * Single equations (assignments): 739 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,5), (3,27)} Notification: Performance of prepare postOptimizeDAE: time 0.006631/1.117, allocations: 2.439 MB / 0.6672 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/1.118, allocations: 319.5 kB / 0.6675 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009022/1.127, allocations: 4.713 MB / 0.6721 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-05/1.127, allocations: 43.67 kB / 0.6722 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.127, allocations: 3.781 kB / 0.6722 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/1.127, allocations: 10.17 kB / 0.6722 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/1.145, allocations: 11.03 MB / 0.6829 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.145, allocations: 3.906 kB / 0.6829 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.147, allocations: 424 kB / 0.6833 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/1.149, allocations: 0.6928 MB / 0.684 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/1.149, allocations: 62.22 kB / 0.6841 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/1.151, allocations: 2.567 MB / 0.6866 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.151, allocations: 7.438 kB / 0.6866 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008994/1.16, allocations: 7.218 MB / 0.6936 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009156/1.161, allocations: 348.8 kB / 0.694 GB, free: 117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/1.162, allocations: 48 kB / 0.694 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.163, allocations: 141.6 kB / 0.6942 GB, free: 116.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/1.163, allocations: 147.6 kB / 0.6943 GB, free: 116.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.163, allocations: 75.78 kB / 0.6944 GB, free: 116.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002728/1.166, allocations: 1.951 MB / 0.6963 GB, free: 115.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.843e-06/1.166, allocations: 0 / 0.6963 GB, free: 115.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005958/1.172, allocations: 1.139 MB / 0.6974 GB, free: 113.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * 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 (212): * Single equations (assignments): 203 * 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.0005568/1.173, allocations: 198.6 kB / 0.6976 GB, free: 113.8 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918: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.01615/1.189, allocations: 10.59 MB / 0.7079 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.189, allocations: 0 / 0.7079 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003955/1.193, allocations: 2.561 MB / 0.7104 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.196, allocations: 496 kB / 0.7109 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.218, allocations: 14 MB / 0.7246 GB, free: 86.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00341/1.221, allocations: 3.797 MB / 0.7283 GB, free: 82.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0044/1.226, allocations: 2.08 MB / 0.7303 GB, free: 80.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006976/1.226, allocations: 243.4 kB / 0.7305 GB, free: 80.06 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/1.226, allocations: 0 / 0.7305 GB, free: 80.06 MB / 494.1 MB Notification: Performance of Templates: time 0.06735/1.294, allocations: 42.58 MB / 0.7721 GB, free: 37.58 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1)