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.002288/0.002288, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.624/1.624, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.398/0.398, allocations: 39.94 MB / 309.7 MB, free: 9.324 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.001952/0.001952, allocations: 75.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1571, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01441/0.1716, allocations: 13.17 MB / 447.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1827, allocations: 4.173 MB / 451.8 MB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.187, allocations: 79.75 kB / 451.9 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005165/0.1922, allocations: 1.857 MB / 453.8 MB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3066/0.4988, allocations: 1.848 MB / 455.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.501, allocations: 0.4964 MB / 456.1 MB, free: 36.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007682/0.5087, allocations: 3.897 MB / 460 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006029/0.5147, allocations: 2.922 MB / 462.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.519, allocations: 1.403 MB / 464.3 MB, free: 36.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005311/0.5244, allocations: 1.969 MB / 466.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.526, allocations: 305.6 kB / 466.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005478/0.5315, allocations: 1.124 MB / 467.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003877/0.5354, allocations: 1.847 MB / 469.6 MB, free: 35.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00584/0.5413, allocations: 2.199 MB / 471.8 MB, free: 33.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.5529, allocations: 7.021 MB / 478.8 MB, free: 31.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.553, allocations: 4 kB / 478.8 MB, free: 31.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.553, allocations: 0 / 478.8 MB, free: 31.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005019/0.5536, allocations: 0 / 478.8 MB, free: 31.35 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02213/0.5757, allocations: 4.88 MB / 483.7 MB, free: 28.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.5758, allocations: 12.86 kB / 483.7 MB, free: 28.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.5914, allocations: 3.142 MB / 486.8 MB, free: 28.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008312/0.5998, allocations: 2.165 MB / 489 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.6001, allocations: 227.7 kB / 489.2 MB, free: 27.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.6016, allocations: 292.5 kB / 489.5 MB, free: 27.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02713/0.6287, allocations: 11.45 MB / 0.4892 GB, free: 22.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.629, allocations: 31.53 kB / 0.4893 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007249/0.6297, allocations: 136 kB / 0.4894 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005697/0.6354, allocations: 2.635 MB / 0.492 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/0.6614, allocations: 10.69 MB / 0.5024 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06367/0.7251, allocations: 36.46 MB / 0.538 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009036/0.7342, allocations: 4.414 MB / 0.5423 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.7376, allocations: 2.164 MB / 0.5444 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.7389, allocations: 1.309 MB / 0.5457 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.739, allocations: 63.47 kB / 0.5458 GB, free: 2.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=244): time 6.051e-06/0.739, allocations: 0 / 0.5458 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.04385/0.7828, allocations: 13.89 MB / 0.5593 GB, free: 4.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.783, allocations: 73.41 kB / 0.5594 GB, free: 4.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/0.7882, allocations: 2.836 MB / 0.5622 GB, free: 1.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007399/0.789, allocations: 61.7 kB / 0.5622 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.7914, allocations: 2.937 MB / 0.5651 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/0.7929, allocations: 0.9733 MB / 0.566 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.7946, allocations: 1.162 MB / 0.5672 GB, free: 12.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7948, allocations: 305.1 kB / 0.5675 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/0.7982, allocations: 2.37 MB / 0.5698 GB, free: 9.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/0.804, allocations: 5.539 MB / 0.5752 GB, free: 2.355 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.8153, allocations: 8.678 MB / 0.5837 GB, free: 8.152 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/0.8155, allocations: 32 kB / 0.5837 GB, free: 8.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.0205/0.836, allocations: 8.63 MB / 0.5921 GB, free: 15.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.8362, allocations: 52 kB / 0.5922 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/0.8364, allocations: 115.9 kB / 0.5923 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/0.8403, allocations: 1.041 MB / 0.5933 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/0.8459, allocations: 1.353 MB / 0.5946 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.8491, allocations: 2.588 MB / 0.5972 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/0.8542, allocations: 322 kB / 0.5975 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.8554, allocations: 332 kB / 0.5978 GB, free: 9.539 MB / 478.1 MB 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.005722/0.8612, allocations: 2.277 MB / 0.6 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007056/0.8619, allocations: 284.2 kB / 0.6003 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009877/0.8718, allocations: 5.079 MB / 0.6052 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.008e-05/0.8719, allocations: 46.89 kB / 0.6053 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.8719, allocations: 0 / 0.6053 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/0.8719, allocations: 11.95 kB / 0.6053 GB, free: 1.766 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/0.8954, allocations: 11.6 MB / 0.6166 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.8955, allocations: 8 kB / 0.6166 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.8974, allocations: 427.3 kB / 0.617 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003579/0.901, allocations: 0.9122 MB / 0.6179 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005491/0.9016, allocations: 59.97 kB / 0.618 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.9043, allocations: 2.409 MB / 0.6203 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/0.9044, allocations: 15.94 kB / 0.6203 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.9177, allocations: 7.533 MB / 0.6277 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.919, allocations: 329.3 kB / 0.628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007911/0.9198, allocations: 54.89 kB / 0.6281 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.9213, allocations: 143.8 kB / 0.6282 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/0.9217, allocations: 157.5 kB / 0.6284 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/0.9219, allocations: 84.64 kB / 0.6284 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003258/0.9252, allocations: 1.746 MB / 0.6301 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9252, allocations: 0 / 0.6301 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007193/0.9324, allocations: 1.004 MB / 0.6311 GB, free: 6.844 MB / 0.4981 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.0006481/0.9331, allocations: 194.2 kB / 0.6313 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2756/1.209, allocations: 10.45 MB / 0.6415 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/1.209, allocations: 2.938 kB / 0.6415 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004583/1.213, allocations: 2.612 MB / 0.6441 GB, free: 164.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.217, allocations: 455.5 kB / 0.6445 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.234, allocations: 10.97 MB / 0.6552 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.237, allocations: 3.506 MB / 0.6586 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005626/1.243, allocations: 2.086 MB / 0.6607 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/1.244, allocations: 241.4 kB / 0.6609 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.943e-06/1.244, allocations: 3.938 kB / 0.6609 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.08329/1.327, allocations: 34 MB / 0.6941 GB, free: 142.5 MB / 0.4981 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)