Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001676/0.001676, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001235/0.001235, allocations: 197 kB / 16.14 MB, free: 6.703 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.608/1.608, allocations: 205.1 MB / 222 MB, free: 4.984 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.3781/0.3781, allocations: 39.93 MB / 309.3 MB, free: 9.508 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.001455/0.001455, allocations: 70.41 kB / 376.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1682, allocations: 56.89 MB / 433.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.3523/0.5205, allocations: 42.4 MB / 476.2 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02627/0.5469, allocations: 9.208 MB / 485.4 MB, free: 23.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01416/0.5611, allocations: 174.8 kB / 485.6 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005579/0.5668, allocations: 2.349 MB / 487.9 MB, free: 22.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006134/0.5729, allocations: 1.872 MB / 489.8 MB, free: 21.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.5747, allocations: 0.5385 MB / 490.4 MB, free: 21.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007124/0.5818, allocations: 6.139 MB / 496.5 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005907/0.5877, allocations: 3.608 MB / 0.4884 GB, free: 17.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.592, allocations: 1.433 MB / 0.4898 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.5968, allocations: 2.364 MB / 0.4921 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.5982, allocations: 264.8 kB / 0.4923 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.6019, allocations: 1.186 MB / 0.4935 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003264/0.6052, allocations: 2.031 MB / 0.4955 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004597/0.6098, allocations: 2.433 MB / 0.4979 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.6251, allocations: 7.853 MB / 0.5055 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.6252, allocations: 1.469 kB / 0.5055 GB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6252, allocations: 0 / 0.5055 GB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005302/0.6257, allocations: 0 / 0.5055 GB, free: 10.41 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.023/0.6488, allocations: 5.479 MB / 0.5109 GB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.6488, allocations: 9.875 kB / 0.5109 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.6607, allocations: 3.202 MB / 0.514 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007769/0.6685, allocations: 2.38 MB / 0.5163 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.6688, allocations: 276.1 kB / 0.5166 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/0.6704, allocations: 370.3 kB / 0.517 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.699, allocations: 12.69 MB / 0.5294 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/0.6992, allocations: 35.64 kB / 0.5294 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/0.7002, allocations: 171.8 kB / 0.5296 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004948/0.7052, allocations: 2.762 MB / 0.5323 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02968/0.7349, allocations: 11.63 MB / 0.5436 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07262/0.8076, allocations: 40.57 MB / 0.5832 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.8198, allocations: 5.009 MB / 0.5881 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/0.824, allocations: 2.419 MB / 0.5905 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.8372, allocations: 6.877 MB / 0.5972 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.8373, allocations: 56.5 kB / 0.5972 GB, free: 15.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 6.662e-06/0.8373, allocations: 0 / 0.5972 GB, free: 15.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=259): time 0.0526/0.8899, allocations: 19.34 MB / 0.6161 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.89, allocations: 77.34 kB / 0.6162 GB, free: 12.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.8954, allocations: 3.206 MB / 0.6193 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004504/0.8959, allocations: 61.7 kB / 0.6194 GB, free: 8.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002567/0.8984, allocations: 3.309 MB / 0.6226 GB, free: 5.586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/0.8999, allocations: 0.9676 MB / 0.6236 GB, free: 4.605 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001784/0.9017, allocations: 1.262 MB / 0.6248 GB, free: 3.332 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.9018, allocations: 301.1 kB / 0.6251 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003593/0.9054, allocations: 2.507 MB / 0.6275 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3136/1.219, allocations: 5.924 MB / 0.6333 GB, free: 143.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.229, allocations: 9.156 MB / 0.6423 GB, free: 137.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.229, allocations: 34.62 kB / 0.6423 GB, free: 137.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02408/1.254, allocations: 10.22 MB / 0.6523 GB, free: 134 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.254, allocations: 61.47 kB / 0.6523 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/1.254, allocations: 118.8 kB / 0.6524 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008475/1.262, allocations: 2.359 MB / 0.6548 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/1.267, allocations: 1.379 MB / 0.6561 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/1.286, allocations: 10.75 MB / 0.6666 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005914/1.292, allocations: 336.7 kB / 0.6669 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/1.294, allocations: 359.2 kB / 0.6673 GB, free: 128.6 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.007239/1.301, allocations: 2.451 MB / 0.6697 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.302, allocations: 309.4 kB / 0.67 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009237/1.312, allocations: 4.708 MB / 0.6745 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.774e-05/1.312, allocations: 47.34 kB / 0.6746 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.312, allocations: 3.625 kB / 0.6746 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.312, allocations: 11.53 kB / 0.6746 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/1.333, allocations: 11.02 MB / 0.6854 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.333, allocations: 5.25 kB / 0.6854 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.335, allocations: 422.9 kB / 0.6858 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/1.337, allocations: 0.7057 MB / 0.6865 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003546/1.337, allocations: 62.19 kB / 0.6865 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/1.34, allocations: 2.421 MB / 0.6889 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.34, allocations: 4 kB / 0.6889 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009708/1.349, allocations: 7.227 MB / 0.696 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.35, allocations: 348.7 kB / 0.6963 GB, free: 112.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005367/1.351, allocations: 48 kB / 0.6963 GB, free: 112.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.352, allocations: 141 kB / 0.6965 GB, free: 112.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/1.353, allocations: 146.1 kB / 0.6966 GB, free: 112.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.353, allocations: 73.89 kB / 0.6967 GB, free: 112.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003133/1.356, allocations: 1.96 MB / 0.6986 GB, free: 110.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.356, allocations: 0 / 0.6986 GB, free: 110.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006931/1.363, allocations: 1.14 MB / 0.6997 GB, free: 109.8 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.0006599/1.364, allocations: 195.4 kB / 0.6999 GB, free: 109.6 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.009452/1.373, allocations: 6.241 MB / 0.706 GB, free: 104.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.373, allocations: 0 / 0.706 GB, free: 104.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003812/1.377, allocations: 2.563 MB / 0.7085 GB, free: 101.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.38, allocations: 474.3 kB / 0.7089 GB, free: 101.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/1.404, allocations: 13.98 MB / 0.7226 GB, free: 87.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/1.408, allocations: 3.794 MB / 0.7263 GB, free: 83.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004803/1.413, allocations: 2.08 MB / 0.7283 GB, free: 81.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/1.414, allocations: 247.4 kB / 0.7286 GB, free: 81.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.064e-06/1.414, allocations: 0 / 0.7286 GB, free: 81.14 MB / 494.1 MB Notification: Performance of Templates: time 0.06825/1.482, allocations: 40.95 MB / 0.7686 GB, free: 40.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1)