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.001612/0.001612, 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.001822/0.001822, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.717/1.717, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.43/0.43, allocations: 39.93 MB / 309.7 MB, free: 9.262 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.001572/0.001572, allocations: 71.89 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1522, allocations: 56.89 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01694/0.1692, allocations: 14.51 MB / 449 MB, free: 5.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.1811, allocations: 4.498 MB / 453.5 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.1848, allocations: 83.75 kB / 453.6 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3111/0.4958, allocations: 2.37 MB / 456 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0069/0.5028, allocations: 2 MB / 458 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.5048, allocations: 0.5846 MB / 458.5 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006554/0.5113, allocations: 4.277 MB / 462.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005876/0.5173, allocations: 3.649 MB / 466.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.5205, allocations: 1.636 MB / 468.1 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.524, allocations: 2.251 MB / 470.4 MB, free: 34.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.5251, allocations: 373.2 kB / 470.7 MB, free: 34.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.5282, allocations: 1.222 MB / 471.9 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.5312, allocations: 2.118 MB / 474.1 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005178/0.5364, allocations: 2.508 MB / 476.6 MB, free: 31.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.5521, allocations: 7.926 MB / 484.5 MB, free: 29.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.5521, allocations: 0.7031 kB / 484.5 MB, free: 29.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5521, allocations: 0 / 484.5 MB, free: 29.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005026/0.5527, allocations: 0 / 484.5 MB, free: 29.1 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.02612/0.5788, allocations: 5.451 MB / 489.9 MB, free: 26.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.5789, allocations: 12.98 kB / 490 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.5935, allocations: 3.199 MB / 493.2 MB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008213/0.6017, allocations: 2.377 MB / 495.5 MB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005688/0.6023, allocations: 274 kB / 495.8 MB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/0.6051, allocations: 359.3 kB / 496.2 MB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03749/0.6426, allocations: 12.66 MB / 0.4969 GB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000395/0.643, allocations: 33.41 kB / 0.4969 GB, free: 18.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002681/0.6457, allocations: 166.9 kB / 0.4971 GB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005478/0.6512, allocations: 2.767 MB / 0.4998 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/0.6754, allocations: 11.61 MB / 0.5111 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07772/0.7532, allocations: 40.48 MB / 0.5506 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.7649, allocations: 5.087 MB / 0.5556 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004151/0.7691, allocations: 2.407 MB / 0.558 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.7827, allocations: 6.851 MB / 0.5647 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.7828, allocations: 52.5 kB / 0.5647 GB, free: 14.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=235): time 7.735e-06/0.7829, allocations: 4 kB / 0.5647 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=244): time 0.0434/0.8263, allocations: 16.48 MB / 0.5808 GB, free: 13.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.8264, allocations: 77.41 kB / 0.5809 GB, free: 13.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006374/0.8327, allocations: 3.206 MB / 0.584 GB, free: 10.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002885/0.833, allocations: 57.7 kB / 0.5841 GB, free: 10.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/0.8361, allocations: 3.301 MB / 0.5873 GB, free: 6.914 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/0.8374, allocations: 0.9112 MB / 0.5882 GB, free: 6.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002585/0.84, allocations: 1.242 MB / 0.5894 GB, free: 4.762 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8401, allocations: 305.1 kB / 0.5897 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004703/0.8448, allocations: 2.437 MB / 0.5921 GB, free: 2.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007361/0.8522, allocations: 5.833 MB / 0.5978 GB, free: 10.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/0.8653, allocations: 8.978 MB / 0.6065 GB, free: 15.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/0.8655, allocations: 36 kB / 0.6066 GB, free: 15.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02085/0.8864, allocations: 9.031 MB / 0.6154 GB, free: 6.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.8866, allocations: 60.25 kB / 0.6154 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/0.8868, allocations: 120 kB / 0.6155 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003499/0.8903, allocations: 1.13 MB / 0.6167 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005182/0.8955, allocations: 1.396 MB / 0.618 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.902, allocations: 4.806 MB / 0.6227 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/0.9072, allocations: 331.6 kB / 0.623 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.9085, allocations: 360 kB / 0.6234 GB, free: 14.44 MB / 0.4981 GB 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.005765/0.9142, allocations: 2.422 MB / 0.6257 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/0.9152, allocations: 304.1 kB / 0.626 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009068/0.9243, allocations: 4.502 MB / 0.6304 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.085e-05/0.9244, allocations: 43.98 kB / 0.6305 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/0.9244, allocations: 0 / 0.6305 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.9245, allocations: 15.91 kB / 0.6305 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.293/1.217, allocations: 10.63 MB / 0.6409 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.218, allocations: 3.031 kB / 0.6409 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.219, allocations: 395.4 kB / 0.6412 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/1.221, allocations: 0.6788 MB / 0.6419 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/1.221, allocations: 51.27 kB / 0.6419 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/1.224, allocations: 2.57 MB / 0.6445 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.224, allocations: 10.09 kB / 0.6445 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008946/1.232, allocations: 6.873 MB / 0.6512 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.234, allocations: 350.4 kB / 0.6515 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/1.234, allocations: 42.56 kB / 0.6516 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.235, allocations: 143 kB / 0.6517 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/1.236, allocations: 137 kB / 0.6518 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.236, allocations: 71.48 kB / 0.6519 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002926/1.239, allocations: 1.953 MB / 0.6538 GB, free: 155 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.239, allocations: 0.7188 kB / 0.6538 GB, free: 155 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004676/1.243, allocations: 1.078 MB / 0.6548 GB, free: 154.9 MB / 0.4981 GB 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.0005099/1.244, allocations: 185 kB / 0.655 GB, free: 154.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02047/1.264, allocations: 9.666 MB / 0.6645 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/1.264, allocations: 1.25 kB / 0.6645 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004765/1.269, allocations: 2.455 MB / 0.6669 GB, free: 151.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/1.273, allocations: 479.5 kB / 0.6673 GB, free: 151.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/1.296, allocations: 11.39 MB / 0.6784 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005211/1.301, allocations: 3.754 MB / 0.6821 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004967/1.306, allocations: 2.067 MB / 0.6841 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007158/1.307, allocations: 239.8 kB / 0.6844 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/1.307, allocations: 0 / 0.6844 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.06923/1.376, allocations: 36.95 MB / 0.7204 GB, free: 113 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (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)