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.0007842/0.0007843, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008709/0.000871, allocations: 168.7 kB / 15.95 MB, free: 204 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.45/1.45, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3311/0.3311, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0006188/0.0006193, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.2686/0.3928, allocations: 38.37 MB / 472.3 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.4148, allocations: 8.683 MB / 481 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008191/0.4231, allocations: 173.5 kB / 481.2 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005861/0.429, allocations: 1.924 MB / 483.1 MB, free: 27.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01461/0.4436, allocations: 5.631 MB / 488.7 MB, free: 25.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.4463, allocations: 499.6 kB / 489.2 MB, free: 25.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00619/0.4525, allocations: 4.755 MB / 494 MB, free: 23.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006796/0.4593, allocations: 4.323 MB / 498.3 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.4621, allocations: 1.268 MB / 499.6 MB, free: 21.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.4657, allocations: 2.023 MB / 0.4898 GB, free: 20.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.4671, allocations: 165.4 kB / 0.49 GB, free: 20.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.4708, allocations: 0.9181 MB / 0.4909 GB, free: 20.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.4738, allocations: 1.84 MB / 0.4927 GB, free: 19.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.4751, allocations: 0.9457 MB / 0.4936 GB, free: 19.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008758/0.4839, allocations: 6.317 MB / 0.4998 GB, free: 16.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/0.484, allocations: 1.406 kB / 0.4998 GB, free: 16.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.484, allocations: 7.938 kB / 0.4998 GB, free: 16.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002774/0.4842, allocations: 0 / 0.4998 GB, free: 16.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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01293/0.4972, allocations: 4.502 MB / 0.5042 GB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4972, allocations: 12.91 kB / 0.5042 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.5082, allocations: 3.291 MB / 0.5074 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006681/0.5149, allocations: 2.34 MB / 0.5097 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.5152, allocations: 271.2 kB / 0.51 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.5167, allocations: 359.3 kB / 0.5103 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.5357, allocations: 12.65 MB / 0.5226 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.353e-05/0.5359, allocations: 35.64 kB / 0.5227 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.5363, allocations: 159.8 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003708/0.54, allocations: 2.766 MB / 0.5255 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/0.5633, allocations: 11.56 MB / 0.5368 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06083/0.6241, allocations: 40.44 MB / 0.5763 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.6342, allocations: 5.082 MB / 0.5813 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003577/0.6378, allocations: 2.4 MB / 0.5836 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.6491, allocations: 6.843 MB / 0.5903 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.6492, allocations: 56.5 kB / 0.5904 GB, free: 10.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 5.009e-06/0.6492, allocations: 0 / 0.5904 GB, free: 10.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=244): time 0.03721/0.6864, allocations: 16.45 MB / 0.6064 GB, free: 9.559 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/0.6866, allocations: 77.34 kB / 0.6065 GB, free: 9.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/0.6934, allocations: 3.194 MB / 0.6096 GB, free: 6.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003823/0.6939, allocations: 61.7 kB / 0.6097 GB, free: 6.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002924/0.6968, allocations: 3.301 MB / 0.6129 GB, free: 2.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/0.6981, allocations: 0.9098 MB / 0.6138 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/0.6987, allocations: 120 kB / 0.6139 GB, free: 1.805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005753/0.6993, allocations: 0.5666 MB / 0.6145 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/0.7038, allocations: 2.409 MB / 0.6168 GB, free: 14.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007972/0.7118, allocations: 5.816 MB / 0.6225 GB, free: 7.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005813/0.7177, allocations: 3.724 MB / 0.6261 GB, free: 3.598 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.7178, allocations: 39.94 kB / 0.6262 GB, free: 3.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.2512/0.969, allocations: 8.988 MB / 0.6349 GB, free: 140.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.519e-05/0.9691, allocations: 55.22 kB / 0.635 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.9692, allocations: 117.7 kB / 0.6351 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.9721, allocations: 1.147 MB / 0.6362 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/0.9765, allocations: 1.393 MB / 0.6376 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/0.9815, allocations: 4.595 MB / 0.6421 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/0.986, allocations: 332.3 kB / 0.6424 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007197/0.9868, allocations: 355 kB / 0.6427 GB, free: 138.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.004689/0.9915, allocations: 2.433 MB / 0.6451 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.992, allocations: 301.1 kB / 0.6454 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.9986, allocations: 4.486 MB / 0.6498 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.377e-05/0.9987, allocations: 45.39 kB / 0.6498 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9987, allocations: 0 / 0.6498 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/0.9987, allocations: 14.78 kB / 0.6498 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/1.017, allocations: 10.61 MB / 0.6602 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.017, allocations: 5.5 kB / 0.6602 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.018, allocations: 390.7 kB / 0.6606 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/1.02, allocations: 0.6813 MB / 0.6612 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/1.02, allocations: 50.86 kB / 0.6613 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/1.023, allocations: 2.421 MB / 0.6637 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/1.023, allocations: 9.406 kB / 0.6637 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.034, allocations: 6.856 MB / 0.6704 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.035, allocations: 364.8 kB / 0.6707 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/1.036, allocations: 49.33 kB / 0.6708 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.037, allocations: 135.9 kB / 0.6709 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/1.037, allocations: 145.4 kB / 0.671 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.037, allocations: 65.45 kB / 0.6711 GB, free: 128.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003678/1.041, allocations: 1.931 MB / 0.673 GB, free: 127.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 0.673 GB, free: 127.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0053/1.046, allocations: 1.078 MB / 0.674 GB, free: 127.8 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 (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.000568/1.047, allocations: 194.5 kB / 0.6742 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00934/1.056, allocations: 5.891 MB / 0.68 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.056, allocations: 0 / 0.68 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003566/1.06, allocations: 2.436 MB / 0.6823 GB, free: 124.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.062, allocations: 455.1 kB / 0.6828 GB, free: 124.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/1.082, allocations: 13.64 MB / 0.6961 GB, free: 112.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003532/1.085, allocations: 3.751 MB / 0.6998 GB, free: 109.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004365/1.09, allocations: 2.06 MB / 0.7018 GB, free: 108.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/1.09, allocations: 246.8 kB / 0.702 GB, free: 108.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.944e-06/1.09, allocations: 3.938 kB / 0.702 GB, free: 108.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05671/1.147, allocations: 34.38 MB / 0.7356 GB, free: 75 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: