Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001259/0.001259, allocations: 108 kB / 15.6 MB, free: 132 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.001581/0.001581, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.4595/0.4595, allocations: 38 MB / 307.8 MB, free: 10.03 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.001772/0.001772, allocations: 72.27 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1614, allocations: 56.47 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01723/0.1787, allocations: 14.51 MB / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1917, allocations: 4.502 MB / 450.7 MB, free: 3.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.1957, allocations: 83.75 kB / 450.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005495/0.2012, allocations: 2.375 MB / 453.2 MB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3002/0.5014, allocations: 1.997 MB / 455.2 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.5033, allocations: 0.5839 MB / 455.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005747/0.509, allocations: 4.279 MB / 460 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004144/0.5132, allocations: 3.639 MB / 463.7 MB, free: 35.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.5159, allocations: 1.635 MB / 465.3 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.5187, allocations: 2.251 MB / 467.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008041/0.5195, allocations: 372.7 kB / 467.9 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.522, allocations: 1.229 MB / 469.2 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.5239, allocations: 2.111 MB / 471.3 MB, free: 34.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002905/0.5268, allocations: 2.509 MB / 473.8 MB, free: 32.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009409/0.5362, allocations: 7.931 MB / 481.7 MB, free: 29.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5363, allocations: 0 / 481.7 MB, free: 29.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5363, allocations: 0 / 481.7 MB, free: 29.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003021/0.5366, allocations: 3.375 kB / 481.7 MB, free: 29.62 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.01719/0.5538, allocations: 5.455 MB / 487.2 MB, free: 26.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.5539, allocations: 13.23 kB / 487.2 MB, free: 26.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.5663, allocations: 3.201 MB / 490.4 MB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.5736, allocations: 2.381 MB / 492.8 MB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.5742, allocations: 270.8 kB / 493 MB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.5766, allocations: 361.4 kB / 493.4 MB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/0.6079, allocations: 12.66 MB / 0.4942 GB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003422/0.6083, allocations: 35.25 kB / 0.4942 GB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002299/0.6106, allocations: 162.8 kB / 0.4944 GB, free: 20.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005035/0.6157, allocations: 2.769 MB / 0.4971 GB, free: 19.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/0.6406, allocations: 11.6 MB / 0.5084 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07196/0.7126, allocations: 40.47 MB / 0.5479 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.7236, allocations: 5.085 MB / 0.5529 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/0.7273, allocations: 2.419 MB / 0.5553 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/0.74, allocations: 6.834 MB / 0.5619 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.7401, allocations: 64.56 kB / 0.562 GB, free: 2.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=235): time 5.881e-06/0.7401, allocations: 0 / 0.562 GB, free: 2.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=244): time 0.0434/0.7836, allocations: 16.48 MB / 0.5781 GB, free: 1.789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.7837, allocations: 69.41 kB / 0.5782 GB, free: 1.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005964/0.7896, allocations: 3.206 MB / 0.5813 GB, free: 14.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002921/0.7899, allocations: 61.64 kB / 0.5813 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002618/0.7926, allocations: 3.3 MB / 0.5846 GB, free: 11.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/0.7937, allocations: 0.9113 MB / 0.5855 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002316/0.796, allocations: 1.245 MB / 0.5867 GB, free: 8.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.7962, allocations: 301.1 kB / 0.587 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00413/0.8003, allocations: 2.436 MB / 0.5893 GB, free: 6.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006915/0.8072, allocations: 5.832 MB / 0.595 GB, free: 14.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.8187, allocations: 8.981 MB / 0.6038 GB, free: 4.109 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/0.8188, allocations: 32 kB / 0.6038 GB, free: 4.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01906/0.8379, allocations: 9.044 MB / 0.6127 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.8381, allocations: 56 kB / 0.6127 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002519/0.8384, allocations: 116 kB / 0.6128 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/0.8423, allocations: 1.137 MB / 0.6139 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/0.8476, allocations: 1.396 MB / 0.6153 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006232/0.8539, allocations: 4.804 MB / 0.62 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004796/0.8587, allocations: 330.8 kB / 0.6203 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.8599, allocations: 352 kB / 0.6206 GB, free: 2.676 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 (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.005762/0.8657, allocations: 2.43 MB / 0.623 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3062/1.172, allocations: 307 kB / 0.6233 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008404/1.18, allocations: 4.496 MB / 0.6277 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-05/1.181, allocations: 48.77 kB / 0.6277 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.181, allocations: 7.031 kB / 0.6278 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.181, allocations: 6.938 kB / 0.6278 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.198, allocations: 10.61 MB / 0.6381 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.199, allocations: 4.266 kB / 0.6381 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.2, allocations: 398 kB / 0.6385 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/1.202, allocations: 0.6766 MB / 0.6392 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/1.202, allocations: 49.81 kB / 0.6392 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/1.205, allocations: 2.566 MB / 0.6417 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/1.205, allocations: 8.094 kB / 0.6417 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.216, allocations: 6.884 MB / 0.6485 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.217, allocations: 347 kB / 0.6488 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004826/1.217, allocations: 42.66 kB / 0.6488 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.219, allocations: 142.6 kB / 0.649 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.219, allocations: 139.1 kB / 0.6491 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.219, allocations: 75.14 kB / 0.6492 GB, free: 139.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003861/1.223, allocations: 1.944 MB / 0.6511 GB, free: 138.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.223, allocations: 1.5 kB / 0.6511 GB, free: 138.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0057/1.229, allocations: 1.081 MB / 0.6521 GB, free: 138.7 MB / 494.1 MB 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.0005927/1.229, allocations: 199 kB / 0.6523 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02082/1.25, allocations: 9.66 MB / 0.6617 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/1.25, allocations: 0 / 0.6617 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004284/1.254, allocations: 2.45 MB / 0.6641 GB, free: 135.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/1.259, allocations: 478.8 kB / 0.6646 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/1.283, allocations: 11.39 MB / 0.6757 GB, free: 129.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004948/1.288, allocations: 3.756 MB / 0.6794 GB, free: 126.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00462/1.292, allocations: 2.065 MB / 0.6814 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007486/1.293, allocations: 246.4 kB / 0.6816 GB, free: 125 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/1.293, allocations: 3.938 kB / 0.6816 GB, free: 125 MB / 494.1 MB Notification: Performance of Templates: time 0.06282/1.356, allocations: 36.95 MB / 0.7177 GB, free: 88.46 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)