Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005497/0.005497, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001221/0.001222, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.3721/0.3721, allocations: 39.94 MB / 309.8 MB, free: 9.43 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.00184/0.001841, allocations: 67.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.416, allocations: 56.88 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01288/0.4289, allocations: 12.22 MB / 0.4931 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.4419, allocations: 3.998 MB / 0.497 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.4458, allocations: 61.53 kB / 0.497 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.45, allocations: 1.2 MB / 0.4982 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006375/0.4564, allocations: 1.84 MB / 0.5 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.4583, allocations: 495.2 kB / 0.5005 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007328/0.4656, allocations: 4.121 MB / 0.5045 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.469, allocations: 1.863 MB / 0.5063 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.4722, allocations: 1.225 MB / 0.5075 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.4755, allocations: 1.753 MB / 0.5092 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.4768, allocations: 233.7 kB / 0.5094 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.4813, allocations: 1.1 MB / 0.5105 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002857/0.4842, allocations: 1.692 MB / 0.5122 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003419/0.4876, allocations: 1.959 MB / 0.5141 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.4995, allocations: 6.511 MB / 0.5204 GB, free: 8.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.4995, allocations: 0 / 0.5204 GB, free: 8.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4995, allocations: 0 / 0.5204 GB, free: 8.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002008/0.4997, allocations: 0 / 0.5204 GB, free: 8.008 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01009/0.5098, allocations: 4.448 MB / 0.5248 GB, free: 3.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5099, allocations: 11.89 kB / 0.5248 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.5213, allocations: 3.192 MB / 0.5279 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005225/0.5266, allocations: 2.19 MB / 0.53 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.5269, allocations: 193 kB / 0.5302 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009261/0.5278, allocations: 343.6 kB / 0.5305 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.5452, allocations: 10.78 MB / 0.5411 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.165e-05/0.5453, allocations: 31.7 kB / 0.5411 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.5457, allocations: 119.8 kB / 0.5412 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004238/0.5499, allocations: 2.557 MB / 0.5437 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.5694, allocations: 10.29 MB / 0.5538 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06877/0.6382, allocations: 35.75 MB / 0.5887 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009377/0.6477, allocations: 4.426 MB / 0.593 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/0.6514, allocations: 2.205 MB / 0.5952 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.6527, allocations: 1.323 MB / 0.5964 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.6528, allocations: 56.56 kB / 0.5965 GB, free: 8.152 MB / 478.1 MB Notification: Performance of pre-optimization done (n=245): time 4.899e-06/0.6528, allocations: 0 / 0.5965 GB, free: 8.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=261): time 0.04576/0.6986, allocations: 17.12 MB / 0.6132 GB, free: 6.883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001911/0.7006, allocations: 1.622 MB / 0.6148 GB, free: 5.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006034/0.7066, allocations: 2.787 MB / 0.6175 GB, free: 2.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004851/0.7071, allocations: 57.7 kB / 0.6176 GB, free: 2.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00271/0.7099, allocations: 2.851 MB / 0.6204 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001754/0.7117, allocations: 1.008 MB / 0.6213 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003311/0.715, allocations: 1.148 MB / 0.6225 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7151, allocations: 301.1 kB / 0.6228 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004316/0.7195, allocations: 2.482 MB / 0.6252 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006786/0.7263, allocations: 5.529 MB / 0.6306 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3728/1.099, allocations: 8.694 MB / 0.6391 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/1.099, allocations: 30.94 kB / 0.6391 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02881/1.128, allocations: 9.89 MB / 0.6488 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.128, allocations: 50.41 kB / 0.6488 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01457/1.143, allocations: 4.912 MB / 0.6536 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/1.155, allocations: 2.379 MB / 0.6559 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/1.16, allocations: 1.312 MB / 0.6572 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008923/1.169, allocations: 6.363 MB / 0.6634 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005575/1.175, allocations: 404.7 kB / 0.6638 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.176, allocations: 330.7 kB / 0.6641 GB, free: 108.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.00632/1.183, allocations: 2.106 MB / 0.6662 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007139/1.183, allocations: 293.9 kB / 0.6665 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.194, allocations: 5.444 MB / 0.6718 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008067/1.202, allocations: 4.69 MB / 0.6764 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.202, allocations: 7.562 kB / 0.6764 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.202, allocations: 11.95 kB / 0.6764 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.223, allocations: 14.71 MB / 0.6907 GB, free: 89.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.223, allocations: 13.69 kB / 0.6908 GB, free: 89.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.225, allocations: 423.3 kB / 0.6912 GB, free: 89.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003948/1.229, allocations: 1.24 MB / 0.6924 GB, free: 88.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/1.229, allocations: 67.91 kB / 0.6924 GB, free: 87.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003621/1.233, allocations: 4.753 MB / 0.6971 GB, free: 82.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007066/1.233, allocations: 1.56 MB / 0.6986 GB, free: 81.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.244, allocations: 8.171 MB / 0.7066 GB, free: 73.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/1.245, allocations: 355.1 kB / 0.7069 GB, free: 72.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/1.246, allocations: 59.27 kB / 0.707 GB, free: 72.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.247, allocations: 203.7 kB / 0.7072 GB, free: 72.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.247, allocations: 167.6 kB / 0.7073 GB, free: 72.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.248, allocations: 83.92 kB / 0.7074 GB, free: 72.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002094/1.25, allocations: 1.713 MB / 0.7091 GB, free: 70.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.25, allocations: 0 / 0.7091 GB, free: 70.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004706/1.254, allocations: 1.086 MB / 0.7101 GB, free: 69.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.0005186/1.255, allocations: 200.8 kB / 0.7103 GB, free: 69.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009587/1.265, allocations: 6.641 MB / 0.7168 GB, free: 62.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/1.265, allocations: 0 / 0.7168 GB, free: 62.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004214/1.269, allocations: 2.909 MB / 0.7197 GB, free: 59.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/1.272, allocations: 402.5 kB / 0.72 GB, free: 59.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/1.287, allocations: 10.77 MB / 0.7306 GB, free: 48.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/1.29, allocations: 3.309 MB / 0.7338 GB, free: 44.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004056/1.294, allocations: 2.111 MB / 0.7359 GB, free: 42.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/1.295, allocations: 231.4 kB / 0.7361 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of SimCode: time 1.452e-06/1.295, allocations: 0 / 0.7361 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.05754/1.352, allocations: 35.32 MB / 0.7706 GB, free: 7.246 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)