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.001002/0.001002, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009077/0.009077, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.787/1.787, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4035/0.4035, allocations: 40 MB / 310.7 MB, free: 9.594 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.0006226/0.0006226, allocations: 16 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1618, allocations: 57.95 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3571/0.5189, allocations: 41.21 MB / 478.6 MB, free: 27.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02605/0.545, allocations: 9.135 MB / 487.8 MB, free: 23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/0.5571, allocations: 174.5 kB / 487.9 MB, free: 22.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.5594, allocations: 0.5446 MB / 488.5 MB, free: 22.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006812/0.5663, allocations: 1.883 MB / 490.4 MB, free: 21.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.5682, allocations: 0.5385 MB / 490.9 MB, free: 21.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008626/0.5768, allocations: 6.129 MB / 497 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007749/0.5846, allocations: 4.801 MB / 0.4901 GB, free: 17.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.5879, allocations: 1.195 MB / 0.4912 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004712/0.5926, allocations: 2.071 MB / 0.4932 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.5938, allocations: 165.2 kB / 0.4934 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.5972, allocations: 1.09 MB / 0.4945 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003687/0.6009, allocations: 1.897 MB / 0.4963 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004154/0.6051, allocations: 2.267 MB / 0.4985 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.6213, allocations: 7.613 MB / 0.506 GB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.679e-05/0.6213, allocations: 1.062 kB / 0.506 GB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.844e-06/0.6214, allocations: 3.938 kB / 0.506 GB, free: 11.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007555/0.6221, allocations: 0 / 0.506 GB, free: 11.24 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.02424/0.6464, allocations: 4.448 MB / 0.5103 GB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.732e-05/0.6465, allocations: 9.031 kB / 0.5103 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.661, allocations: 3.288 MB / 0.5135 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008482/0.6695, allocations: 2.37 MB / 0.5159 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005133/0.6701, allocations: 273.6 kB / 0.5161 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/0.6728, allocations: 364.3 kB / 0.5165 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03254/0.7053, allocations: 12.67 MB / 0.5288 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002755/0.7057, allocations: 39.73 kB / 0.5289 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/0.708, allocations: 159.8 kB / 0.529 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005293/0.7133, allocations: 2.762 MB / 0.5317 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03127/0.7446, allocations: 11.62 MB / 0.5431 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08464/0.8293, allocations: 40.48 MB / 0.5826 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/0.8416, allocations: 5.095 MB / 0.5876 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004207/0.8459, allocations: 2.409 MB / 0.5899 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01369/0.8596, allocations: 6.835 MB / 0.5966 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.8597, allocations: 56.5 kB / 0.5967 GB, free: 2.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 7.574e-06/0.8598, allocations: 0 / 0.5967 GB, free: 2.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=244): time 0.04891/0.9087, allocations: 16.48 MB / 0.6127 GB, free: 1.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.9088, allocations: 81.33 kB / 0.6128 GB, free: 1.637 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0077/0.9165, allocations: 3.21 MB / 0.616 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006373/0.9172, allocations: 57.7 kB / 0.616 GB, free: 14.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002966/0.9202, allocations: 3.305 MB / 0.6192 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001654/0.9218, allocations: 0.902 MB / 0.6201 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/0.9236, allocations: 0.535 MB / 0.6206 GB, free: 9.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9238, allocations: 305.1 kB / 0.6209 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005641/0.9294, allocations: 2.429 MB / 0.6233 GB, free: 6.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3062/1.236, allocations: 5.829 MB / 0.629 GB, free: 140.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.246, allocations: 8.981 MB / 0.6378 GB, free: 135.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.867e-05/1.246, allocations: 32.53 kB / 0.6378 GB, free: 135.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01605/1.262, allocations: 9.04 MB / 0.6466 GB, free: 132.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/1.262, allocations: 62.09 kB / 0.6467 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/1.262, allocations: 119.7 kB / 0.6468 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/1.266, allocations: 1.132 MB / 0.6479 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/1.27, allocations: 1.405 MB / 0.6493 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004926/1.275, allocations: 4.582 MB / 0.6538 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004902/1.28, allocations: 332.4 kB / 0.6541 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007599/1.281, allocations: 357.5 kB / 0.6544 GB, free: 129.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 (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): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005648/1.286, allocations: 2.426 MB / 0.6568 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008126/1.287, allocations: 303.3 kB / 0.6571 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008118/1.295, allocations: 4.506 MB / 0.6615 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.49e-05/1.295, allocations: 47.67 kB / 0.6615 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.295, allocations: 5.875 kB / 0.6615 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/1.295, allocations: 10.55 kB / 0.6615 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/1.318, allocations: 10.62 MB / 0.6719 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.318, allocations: 6.25 kB / 0.6719 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.32, allocations: 392.9 kB / 0.6723 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.322, allocations: 0.6785 MB / 0.6729 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/1.322, allocations: 58.55 kB / 0.673 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/1.325, allocations: 2.425 MB / 0.6754 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.325, allocations: 14.03 kB / 0.6754 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009434/1.334, allocations: 6.872 MB / 0.6821 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.335, allocations: 358.2 kB / 0.6824 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/1.336, allocations: 43.84 kB / 0.6825 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.337, allocations: 145.5 kB / 0.6826 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/1.337, allocations: 140.9 kB / 0.6828 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.338, allocations: 65.12 kB / 0.6828 GB, free: 119 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003114/1.341, allocations: 1.953 MB / 0.6847 GB, free: 118.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.341, allocations: 0 / 0.6847 GB, free: 118.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005504/1.346, allocations: 1.082 MB / 0.6858 GB, free: 118.1 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 (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.0004986/1.347, allocations: 189.4 kB / 0.686 GB, free: 117.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00872/1.355, allocations: 5.916 MB / 0.6917 GB, free: 112.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.356, allocations: 0 / 0.6917 GB, free: 112.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/1.359, allocations: 2.448 MB / 0.6941 GB, free: 110.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004433/1.364, allocations: 455.6 kB / 0.6946 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.388, allocations: 14.13 MB / 0.7084 GB, free: 97.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006728/1.395, allocations: 3.749 MB / 0.712 GB, free: 94.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007597/1.402, allocations: 2.072 MB / 0.714 GB, free: 92.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.403, allocations: 239.4 kB / 0.7143 GB, free: 92.01 MB / 494.1 MB Notification: Performance of SimCode: time 1.813e-06/1.403, allocations: 0 / 0.7143 GB, free: 92.01 MB / 494.1 MB Notification: Performance of Templates: time 0.0933/1.497, allocations: 35.12 MB / 0.7486 GB, free: 57.01 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: