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.00103/0.001031, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008728/0.008728, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.615/1.615, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3333/0.3333, allocations: 40 MB / 310.7 MB, free: 9.91 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.0006523/0.0006523, allocations: 20.66 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1506, allocations: 57.95 MB / 437.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.2811/0.4317, allocations: 28.68 MB / 466.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.4477, allocations: 6.877 MB / 473 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006586/0.4543, allocations: 116.3 kB / 473.1 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.4556, allocations: 432.6 kB / 473.5 MB, free: 32.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.4603, allocations: 1.729 MB / 475.2 MB, free: 32.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4616, allocations: 463.5 kB / 475.7 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006069/0.4677, allocations: 5.665 MB / 481.4 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003035/0.4708, allocations: 2.336 MB / 483.7 MB, free: 30.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.4726, allocations: 0.9882 MB / 484.7 MB, free: 29.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.4748, allocations: 1.783 MB / 486.5 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005099/0.4754, allocations: 134.1 kB / 486.6 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.4776, allocations: 1.064 MB / 487.7 MB, free: 29.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.479, allocations: 1.611 MB / 489.3 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.4809, allocations: 1.872 MB / 491.1 MB, free: 27.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009539/0.4904, allocations: 6.008 MB / 497.1 MB, free: 25.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4904, allocations: 4 kB / 497.1 MB, free: 25.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4905, allocations: 1.406 kB / 497.1 MB, free: 25.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003176/0.4908, allocations: 0 / 497.1 MB, free: 25.5 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01279/0.5036, allocations: 3.552 MB / 0.489 GB, free: 23.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.5037, allocations: 10.47 kB / 0.489 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.5173, allocations: 3.267 MB / 0.4922 GB, free: 22.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/0.5237, allocations: 2.161 MB / 0.4943 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.524, allocations: 189.4 kB / 0.4945 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/0.5259, allocations: 346 kB / 0.4948 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02298/0.5488, allocations: 10.79 MB / 0.5053 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.5491, allocations: 31.22 kB / 0.5054 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.5495, allocations: 121.5 kB / 0.5055 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004298/0.5538, allocations: 2.559 MB / 0.508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/0.5733, allocations: 10.31 MB / 0.518 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05923/0.6325, allocations: 35.88 MB / 0.5531 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008799/0.6414, allocations: 4.422 MB / 0.5574 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003786/0.6452, allocations: 2.201 MB / 0.5595 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.6466, allocations: 1.323 MB / 0.5608 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.6466, allocations: 60.5 kB / 0.5609 GB, free: 7.461 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 5.4e-06/0.6466, allocations: 4 kB / 0.5609 GB, free: 7.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.04499/0.6916, allocations: 17.06 MB / 0.5776 GB, free: 6.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001641/0.6933, allocations: 1.531 MB / 0.579 GB, free: 4.555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/0.6981, allocations: 2.778 MB / 0.5818 GB, free: 1.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005855/0.6987, allocations: 57.7 kB / 0.5818 GB, free: 1.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.7008, allocations: 2.744 MB / 0.5845 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001707/0.7025, allocations: 0.9636 MB / 0.5854 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007791/0.7033, allocations: 494.9 kB / 0.5859 GB, free: 13.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7035, allocations: 305.1 kB / 0.5862 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00395/0.7074, allocations: 2.482 MB / 0.5886 GB, free: 10.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006497/0.7139, allocations: 5.529 MB / 0.594 GB, free: 3.645 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/0.7261, allocations: 8.705 MB / 0.6025 GB, free: 9.449 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.7263, allocations: 32 kB / 0.6026 GB, free: 9.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.0278/0.7541, allocations: 9.872 MB / 0.6122 GB, free: 15.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.7542, allocations: 48.22 kB / 0.6122 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01491/0.7692, allocations: 4.913 MB / 0.617 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/0.7813, allocations: 2.374 MB / 0.6194 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/0.7865, allocations: 1.306 MB / 0.6206 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008712/0.7952, allocations: 5.833 MB / 0.6263 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/0.801, allocations: 407.7 kB / 0.6267 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/0.8024, allocations: 334 kB / 0.627 GB, free: 32 kB / 494.1 MB 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.3111/1.114, allocations: 2.108 MB / 0.6291 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006622/1.114, allocations: 280.6 kB / 0.6294 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.125, allocations: 5.448 MB / 0.6347 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008991/1.134, allocations: 4.693 MB / 0.6393 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/1.134, allocations: 3.094 kB / 0.6393 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-05/1.134, allocations: 14.3 kB / 0.6393 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03017/1.164, allocations: 14.74 MB / 0.6537 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/1.164, allocations: 9.281 kB / 0.6537 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/1.167, allocations: 427.8 kB / 0.6541 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004962/1.171, allocations: 1.244 MB / 0.6553 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006481/1.172, allocations: 67.08 kB / 0.6554 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005678/1.178, allocations: 4.444 MB / 0.6597 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001024/1.179, allocations: 1.467 MB / 0.6611 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.197, allocations: 8.165 MB / 0.6691 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.199, allocations: 342 kB / 0.6694 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/1.199, allocations: 59.73 kB / 0.6695 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.201, allocations: 195.6 kB / 0.6697 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004559/1.202, allocations: 174.2 kB / 0.6699 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.202, allocations: 78.98 kB / 0.6699 GB, free: 129.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003374/1.205, allocations: 1.711 MB / 0.6716 GB, free: 128.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.205, allocations: 1.438 kB / 0.6716 GB, free: 128.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006574/1.212, allocations: 1.087 MB / 0.6727 GB, free: 128.4 MB / 494.1 MB 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.0005943/1.212, allocations: 201.6 kB / 0.6729 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.224, allocations: 6.576 MB / 0.6793 GB, free: 125.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.224, allocations: 0 / 0.6793 GB, free: 125.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004574/1.228, allocations: 2.898 MB / 0.6821 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006868/1.235, allocations: 387.8 kB / 0.6825 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/1.262, allocations: 13 MB / 0.6952 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004066/1.266, allocations: 3.307 MB / 0.6984 GB, free: 109.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004639/1.27, allocations: 2.115 MB / 0.7005 GB, free: 107.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007365/1.271, allocations: 231.3 kB / 0.7007 GB, free: 106.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.703e-06/1.271, allocations: 0 / 0.7007 GB, free: 106.9 MB / 494.1 MB Notification: Performance of Templates: time 0.06258/1.334, allocations: 35.82 MB / 0.7357 GB, free: 71.14 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: