Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008757, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001153/0.001153, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3236/0.3236, allocations: 38.03 MB / 308.4 MB, free: 10.5 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.0005554/0.0005556, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 57.53 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.26/0.3849, allocations: 30.77 MB / 464.7 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.3982, allocations: 7.254 MB / 472 MB, free: 31.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007975/0.4063, allocations: 146.3 kB / 472.1 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004396/0.4107, allocations: 1.525 MB / 473.7 MB, free: 31.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.4232, allocations: 4.558 MB / 478.2 MB, free: 30.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.4252, allocations: 413.6 kB / 478.6 MB, free: 30.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006263/0.4315, allocations: 4.273 MB / 482.9 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004338/0.4359, allocations: 3.369 MB / 486.3 MB, free: 28.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.4377, allocations: 1.126 MB / 487.4 MB, free: 28.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.4397, allocations: 1.824 MB / 489.2 MB, free: 27.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003883/0.4401, allocations: 150.4 kB / 489.4 MB, free: 27.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.4417, allocations: 0.8642 MB / 490.2 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.4432, allocations: 1.642 MB / 491.9 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009305/0.4442, allocations: 0.8392 MB / 492.7 MB, free: 26.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008342/0.4525, allocations: 5.591 MB / 498.3 MB, free: 25.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4526, allocations: 0 / 498.3 MB, free: 25.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4526, allocations: 3.938 kB / 498.3 MB, free: 25.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002946/0.4529, allocations: 1.062 kB / 498.3 MB, free: 25.73 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01198/0.4649, allocations: 4.076 MB / 0.4906 GB, free: 23.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4649, allocations: 8.312 kB / 0.4906 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.4755, allocations: 3.223 MB / 0.4938 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006678/0.4822, allocations: 2.136 MB / 0.4958 GB, free: 20.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.4826, allocations: 232.2 kB / 0.4961 GB, free: 20.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.4838, allocations: 297 kB / 0.4963 GB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.5038, allocations: 11.44 MB / 0.5075 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.5039, allocations: 36.22 kB / 0.5075 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004102/0.5043, allocations: 144.5 kB / 0.5077 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003535/0.5079, allocations: 2.632 MB / 0.5103 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.5263, allocations: 10.65 MB / 0.5207 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05892/0.5853, allocations: 36.43 MB / 0.5562 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00976/0.5951, allocations: 4.404 MB / 0.5605 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.5988, allocations: 2.154 MB / 0.5626 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.6002, allocations: 1.315 MB / 0.5639 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.6003, allocations: 56.5 kB / 0.564 GB, free: 5.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 7.013e-06/0.6003, allocations: 0 / 0.564 GB, free: 5.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.04035/0.6406, allocations: 13.92 MB / 0.5776 GB, free: 7.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.6407, allocations: 81.33 kB / 0.5776 GB, free: 7.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005783/0.6465, allocations: 2.816 MB / 0.5804 GB, free: 4.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003856/0.6469, allocations: 61.7 kB / 0.5805 GB, free: 4.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.6492, allocations: 2.938 MB / 0.5833 GB, free: 1.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.6506, allocations: 0.9751 MB / 0.5843 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00053/0.6511, allocations: 120 kB / 0.5844 GB, free: 452 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005107/0.6516, allocations: 0.562 MB / 0.5849 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/0.6557, allocations: 2.342 MB / 0.5872 GB, free: 13.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006835/0.6625, allocations: 5.518 MB / 0.5926 GB, free: 6.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/0.6686, allocations: 3.607 MB / 0.5961 GB, free: 2.852 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/0.6688, allocations: 32 kB / 0.5962 GB, free: 2.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01719/0.6859, allocations: 8.573 MB / 0.6045 GB, free: 10.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.6861, allocations: 52 kB / 0.6046 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/0.6863, allocations: 112 kB / 0.6047 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003283/0.6896, allocations: 1.056 MB / 0.6057 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004902/0.6945, allocations: 1.345 MB / 0.607 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.6977, allocations: 2.478 MB / 0.6095 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/0.7024, allocations: 315.7 kB / 0.6098 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/0.7039, allocations: 343.9 kB / 0.6101 GB, free: 4.391 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * 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],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 (727): * Single equations (assignments): 718 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006448/0.7104, allocations: 2.263 MB / 0.6123 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008374/0.7112, allocations: 292.2 kB / 0.6126 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.7223, allocations: 5.067 MB / 0.6175 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-05/0.7224, allocations: 47.98 kB / 0.6176 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.7225, allocations: 4 kB / 0.6176 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/0.7225, allocations: 11.95 kB / 0.6176 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/0.7486, allocations: 11.58 MB / 0.6289 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/0.7487, allocations: 8 kB / 0.6289 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.7506, allocations: 423.4 kB / 0.6293 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2565/1.007, allocations: 0.9062 MB / 0.6302 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005904/1.008, allocations: 59.61 kB / 0.6302 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/1.01, allocations: 2.26 MB / 0.6324 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.01, allocations: 12.62 kB / 0.6325 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.021, allocations: 7.509 MB / 0.6398 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000791/1.021, allocations: 333.4 kB / 0.6401 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007549/1.022, allocations: 54.56 kB / 0.6402 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.024, allocations: 141.7 kB / 0.6403 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/1.024, allocations: 156.9 kB / 0.6404 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.024, allocations: 81.22 kB / 0.6405 GB, free: 141.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003314/1.028, allocations: 1.71 MB / 0.6422 GB, free: 140.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.028, allocations: 0 / 0.6422 GB, free: 140.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006272/1.034, allocations: 1.002 MB / 0.6432 GB, free: 140.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008493/1.035, allocations: 196.9 kB / 0.6434 GB, free: 140.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009814/1.045, allocations: 6.162 MB / 0.6494 GB, free: 138.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/1.045, allocations: 3.188 kB / 0.6494 GB, free: 138.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004525/1.049, allocations: 2.594 MB / 0.6519 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.053, allocations: 431.5 kB / 0.6523 GB, free: 137.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.076, allocations: 13.04 MB / 0.6651 GB, free: 130.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005975/1.082, allocations: 3.505 MB / 0.6685 GB, free: 129.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005555/1.088, allocations: 2.093 MB / 0.6705 GB, free: 129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.089, allocations: 241.5 kB / 0.6708 GB, free: 129 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/1.089, allocations: 0 / 0.6708 GB, free: 129 MB / 494.1 MB Notification: Performance of Templates: time 0.05166/1.141, allocations: 31.64 MB / 0.7017 GB, free: 110.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) Environment - environmentSimulation: