Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005814/0.005814, allocations: 102 kB / 15.73 MB, free: 6.051 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.001303/0.001304, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2154/0.2154, allocations: 39.96 MB / 309.9 MB, free: 4.004 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.001465/0.001465, allocations: 68.12 kB / 435.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 56.89 MB / 492.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.0147/0.1603, allocations: 13.19 MB / 0.494 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009631/0.17, allocations: 4.161 MB / 0.4981 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.1733, allocations: 71.81 kB / 0.4981 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.1776, allocations: 1.861 MB / 0.4999 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.1822, allocations: 1.86 MB / 0.5018 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1834, allocations: 0.4951 MB / 0.5022 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004508/0.1879, allocations: 3.908 MB / 0.5061 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.1908, allocations: 2.923 MB / 0.5089 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.1926, allocations: 1.405 MB / 0.5103 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.1947, allocations: 1.974 MB / 0.5122 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004749/0.1952, allocations: 304 kB / 0.5125 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.1972, allocations: 1.116 MB / 0.5136 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3223/0.5195, allocations: 1.849 MB / 0.5154 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004022/0.5236, allocations: 2.196 MB / 0.5175 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.5364, allocations: 7.329 MB / 0.5247 GB, free: 7.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5364, allocations: 2.5 kB / 0.5247 GB, free: 7.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5364, allocations: 0 / 0.5247 GB, free: 7.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002991/0.5367, allocations: 0 / 0.5247 GB, free: 7.035 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01576/0.5525, allocations: 4.888 MB / 0.5295 GB, free: 5.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.5526, allocations: 13.39 kB / 0.5295 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.5646, allocations: 3.138 MB / 0.5325 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00705/0.5717, allocations: 2.184 MB / 0.5347 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.572, allocations: 229.7 kB / 0.5349 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.5737, allocations: 298.3 kB / 0.5352 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/0.5964, allocations: 11.45 MB / 0.5464 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.5966, allocations: 30.02 kB / 0.5464 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005424/0.5972, allocations: 137.2 kB / 0.5465 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0047/0.6019, allocations: 2.635 MB / 0.5491 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02604/0.6279, allocations: 10.7 MB / 0.5595 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.068/0.696, allocations: 36.23 MB / 0.5949 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009342/0.7054, allocations: 4.416 MB / 0.5992 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.7089, allocations: 2.158 MB / 0.6013 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.7103, allocations: 1.319 MB / 0.6026 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.7104, allocations: 56.56 kB / 0.6027 GB, free: 9.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 7.264e-06/0.7104, allocations: 0 / 0.6027 GB, free: 9.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04494/0.7553, allocations: 13.89 MB / 0.6163 GB, free: 11.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.7554, allocations: 77.41 kB / 0.6163 GB, free: 11.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006656/0.7621, allocations: 2.836 MB / 0.6191 GB, free: 8.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006864/0.7628, allocations: 63.19 kB / 0.6192 GB, free: 8.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/0.7657, allocations: 2.942 MB / 0.622 GB, free: 5.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00192/0.7676, allocations: 0.9699 MB / 0.623 GB, free: 4.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003664/0.7713, allocations: 1.162 MB / 0.6241 GB, free: 3.215 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7714, allocations: 301.1 kB / 0.6244 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/0.776, allocations: 2.37 MB / 0.6267 GB, free: 0.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007034/0.7831, allocations: 5.541 MB / 0.6321 GB, free: 9.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.7961, allocations: 8.673 MB / 0.6406 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001849/0.7964, allocations: 32 kB / 0.6406 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02087/0.8172, allocations: 8.629 MB / 0.6491 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.8174, allocations: 52 kB / 0.6491 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002141/0.8176, allocations: 111.9 kB / 0.6492 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003954/0.8216, allocations: 1.048 MB / 0.6502 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004979/0.8266, allocations: 1.345 MB / 0.6515 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.8298, allocations: 2.596 MB / 0.6541 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/0.8345, allocations: 311.7 kB / 0.6544 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/0.8358, allocations: 336 kB / 0.6547 GB, free: 1.461 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (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 (727): * Single equations (assignments): 718 * 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.008344/0.8442, allocations: 2.281 MB / 0.6569 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000945/0.8451, allocations: 288.2 kB / 0.6572 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.8566, allocations: 5.08 MB / 0.6622 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.768e-05/0.8567, allocations: 43.98 kB / 0.6622 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.8567, allocations: 4 kB / 0.6622 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.745e-05/0.8567, allocations: 11.95 kB / 0.6622 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02904/0.8858, allocations: 11.53 MB / 0.6735 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/0.8859, allocations: 8 kB / 0.6735 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/0.888, allocations: 427.3 kB / 0.6739 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/0.8915, allocations: 0.9154 MB / 0.6748 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004272/0.8919, allocations: 51.98 kB / 0.6748 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/0.8947, allocations: 2.413 MB / 0.6772 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.8947, allocations: 16 kB / 0.6772 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.9082, allocations: 7.543 MB / 0.6846 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.9097, allocations: 325.4 kB / 0.6849 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/0.9108, allocations: 59.98 kB / 0.6849 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.9129, allocations: 138.5 kB / 0.6851 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005141/0.9134, allocations: 165.5 kB / 0.6852 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/0.9137, allocations: 75.97 kB / 0.6853 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004176/0.9179, allocations: 1.742 MB / 0.687 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9179, allocations: 0 / 0.687 GB, free: 15.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006112/0.9241, allocations: 1.014 MB / 0.688 GB, free: 14.81 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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.0005666/0.9246, allocations: 182 kB / 0.6882 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01093/0.9356, allocations: 6.251 MB / 0.6943 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/0.9356, allocations: 0 / 0.6943 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00507/0.9407, allocations: 2.611 MB / 0.6968 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.9437, allocations: 456.3 kB / 0.6973 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/0.9695, allocations: 10.85 MB / 0.7079 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004182/0.9737, allocations: 3.504 MB / 0.7113 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004643/0.9784, allocations: 2.089 MB / 0.7133 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007468/0.9791, allocations: 243.4 kB / 0.7136 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.9791, allocations: 0 / 0.7136 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of Templates: time 0.3661/1.345, allocations: 31.57 MB / 0.7444 GB, free: 201.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)