Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001671/0.001671, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.656/1.656, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3516/0.3516, allocations: 37.98 MB / 307.4 MB, free: 10.08 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.1. 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.001437/0.001436, allocations: 67.05 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1265, allocations: 56.46 MB / 431.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.2878/0.4144, allocations: 46.2 MB / 477.4 MB, free: 28.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02355/0.438, allocations: 9.779 MB / 487.2 MB, free: 22.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0134/0.4515, allocations: 195.9 kB / 487.4 MB, free: 22.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00512/0.4567, allocations: 2.298 MB / 489.7 MB, free: 21.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00697/0.4637, allocations: 1.789 MB / 491.4 MB, free: 20.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.4661, allocations: 0.8531 MB / 492.3 MB, free: 20.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005822/0.4719, allocations: 4.135 MB / 496.4 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005466/0.4774, allocations: 3.657 MB / 0.4884 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.4808, allocations: 1.543 MB / 0.4899 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003856/0.4847, allocations: 2.333 MB / 0.4922 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.4859, allocations: 344.8 kB / 0.4925 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.4891, allocations: 1.188 MB / 0.4936 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002965/0.4921, allocations: 2.014 MB / 0.4956 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003753/0.4959, allocations: 2.388 MB / 0.4979 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.5087, allocations: 7.604 MB / 0.5054 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.5088, allocations: 0 / 0.5054 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.5088, allocations: 1.406 kB / 0.5054 GB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004428/0.5092, allocations: 0 / 0.5054 GB, free: 10.57 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02463/0.5339, allocations: 5.228 MB / 0.5105 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.5339, allocations: 12.89 kB / 0.5105 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.5458, allocations: 3.169 MB / 0.5136 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.5521, allocations: 2.321 MB / 0.5159 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.5524, allocations: 250 kB / 0.5161 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.5536, allocations: 329.7 kB / 0.5164 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.5759, allocations: 11.89 MB / 0.528 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.576, allocations: 35.66 kB / 0.5281 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005518/0.5766, allocations: 151.8 kB / 0.5282 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004165/0.5808, allocations: 2.645 MB / 0.5308 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/0.6066, allocations: 10.99 MB / 0.5415 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06551/0.6722, allocations: 37.56 MB / 0.5782 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009744/0.682, allocations: 4.409 MB / 0.5825 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003812/0.6858, allocations: 2.164 MB / 0.5846 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.6872, allocations: 1.315 MB / 0.5859 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.6872, allocations: 56.5 kB / 0.586 GB, free: 12.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 6.171e-06/0.6872, allocations: 0 / 0.586 GB, free: 12.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04231/0.7296, allocations: 13.85 MB / 0.5995 GB, free: 14.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.7297, allocations: 77.41 kB / 0.5996 GB, free: 14.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/0.7347, allocations: 2.989 MB / 0.6025 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007873/0.7355, allocations: 61.7 kB / 0.6025 GB, free: 11.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002615/0.7382, allocations: 3.104 MB / 0.6056 GB, free: 8.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/0.7396, allocations: 0.9829 MB / 0.6065 GB, free: 7.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001904/0.7415, allocations: 1.199 MB / 0.6077 GB, free: 6.371 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7417, allocations: 305.1 kB / 0.608 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/0.7454, allocations: 2.401 MB / 0.6103 GB, free: 3.664 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006897/0.7523, allocations: 5.705 MB / 0.6159 GB, free: 12.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/0.7639, allocations: 8.892 MB / 0.6246 GB, free: 1.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.801e-05/0.7641, allocations: 40 kB / 0.6246 GB, free: 1.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.2732/1.037, allocations: 8.803 MB / 0.6332 GB, free: 146.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/1.037, allocations: 60 kB / 0.6333 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/1.038, allocations: 116.6 kB / 0.6334 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/1.041, allocations: 1.044 MB / 0.6344 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004604/1.046, allocations: 1.383 MB / 0.6358 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/1.048, allocations: 2.617 MB / 0.6383 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/1.053, allocations: 320.5 kB / 0.6386 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008774/1.054, allocations: 348 kB / 0.639 GB, free: 144.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (748): * Single equations (assignments): 739 * 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.004914/1.059, allocations: 2.372 MB / 0.6413 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/1.06, allocations: 304.4 kB / 0.6416 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/1.068, allocations: 5.095 MB / 0.6465 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/1.068, allocations: 51.38 kB / 0.6466 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.068, allocations: 0 / 0.6466 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.068, allocations: 12.56 kB / 0.6466 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/1.09, allocations: 11.78 MB / 0.6581 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.09, allocations: 9.5 kB / 0.6581 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.092, allocations: 424.6 kB / 0.6585 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003679/1.096, allocations: 0.9098 MB / 0.6594 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006077/1.097, allocations: 57.47 kB / 0.6595 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/1.1, allocations: 2.413 MB / 0.6618 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/1.1, allocations: 11.94 kB / 0.6618 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.113, allocations: 7.56 MB / 0.6692 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.114, allocations: 336.1 kB / 0.6695 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/1.115, allocations: 56.12 kB / 0.6696 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.116, allocations: 138.2 kB / 0.6697 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/1.116, allocations: 159.3 kB / 0.6699 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.116, allocations: 80.59 kB / 0.6699 GB, free: 132.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002737/1.119, allocations: 1.837 MB / 0.6717 GB, free: 131.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.119, allocations: 0 / 0.6717 GB, free: 131.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00511/1.124, allocations: 1.042 MB / 0.6728 GB, free: 131.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.0005185/1.125, allocations: 196.2 kB / 0.6729 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01567/1.141, allocations: 10.53 MB / 0.6832 GB, free: 124.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.141, allocations: 4.312 kB / 0.6832 GB, free: 124.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003888/1.144, allocations: 2.614 MB / 0.6858 GB, free: 122.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/1.148, allocations: 0.5308 MB / 0.6863 GB, free: 122.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.171, allocations: 13.83 MB / 0.6998 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003821/1.174, allocations: 3.66 MB / 0.7034 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004414/1.179, allocations: 2.153 MB / 0.7055 GB, free: 104.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.18, allocations: 243.4 kB / 0.7057 GB, free: 104.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/1.18, allocations: 0 / 0.7057 GB, free: 104.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05608/1.236, allocations: 35.93 MB / 0.7408 GB, free: 68.39 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)