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.001125/0.001125, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001328/0.001328, allocations: 177.3 kB / 15.95 MB, free: 216 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.648/1.648, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4292/0.4292, 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.0005877/0.0005877, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1528, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.36/0.5128, allocations: 29.17 MB / 463.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03367/0.5465, allocations: 7.518 MB / 470.6 MB, free: 32.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.011/0.5576, allocations: 141.5 kB / 470.8 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009149/0.5669, allocations: 1.483 MB / 472.2 MB, free: 31.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03139/0.5984, allocations: 4.426 MB / 476.7 MB, free: 31.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.6029, allocations: 413.1 kB / 477.1 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008105/0.611, allocations: 2.131 MB / 479.2 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007578/0.6187, allocations: 3.347 MB / 482.5 MB, free: 30.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.621, allocations: 0.9435 MB / 483.5 MB, free: 29.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.6232, allocations: 1.296 MB / 484.8 MB, free: 29.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005455/0.6238, allocations: 147.8 kB / 484.9 MB, free: 29.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.6265, allocations: 0.8356 MB / 485.8 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002149/0.6287, allocations: 1.537 MB / 487.3 MB, free: 28.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.63, allocations: 0.844 MB / 488.1 MB, free: 28.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.6422, allocations: 5.595 MB / 493.7 MB, free: 27.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6422, allocations: 0 / 493.7 MB, free: 27.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6422, allocations: 0 / 493.7 MB, free: 27.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003579/0.6426, allocations: 0 / 493.7 MB, free: 27.27 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.02234/0.665, allocations: 4.141 MB / 497.9 MB, free: 25.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.704e-05/0.6651, allocations: 9.406 kB / 497.9 MB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02718/0.6923, allocations: 3.8 MB / 0.4899 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.7035, allocations: 2.333 MB / 0.4922 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006593/0.7042, allocations: 228.5 kB / 0.4924 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003527/0.7078, allocations: 299.8 kB / 0.4927 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/0.7444, allocations: 11.49 MB / 0.5039 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/0.7447, allocations: 35.64 kB / 0.504 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002226/0.747, allocations: 138.8 kB / 0.5041 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005927/0.7529, allocations: 2.632 MB / 0.5067 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/0.7798, allocations: 10.73 MB / 0.5172 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08446/0.8644, allocations: 36.52 MB / 0.5528 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.8756, allocations: 4.412 MB / 0.5571 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.8774, allocations: 1.311 MB / 0.5584 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.8775, allocations: 56.55 kB / 0.5585 GB, free: 10.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 8.586e-06/0.8775, allocations: 4 kB / 0.5585 GB, free: 10.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.05011/0.9277, allocations: 14.51 MB / 0.5726 GB, free: 12.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.9278, allocations: 73.41 kB / 0.5727 GB, free: 11.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008533/0.9363, allocations: 2.942 MB / 0.5756 GB, free: 8.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007526/0.9371, allocations: 57.7 kB / 0.5756 GB, free: 8.926 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004053/0.9412, allocations: 2.942 MB / 0.5785 GB, free: 5.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001995/0.9432, allocations: 0.9752 MB / 0.5795 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/0.9441, allocations: 108 kB / 0.5796 GB, free: 4.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.001084/0.9453, allocations: 0.5619 MB / 0.5801 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00598/0.9513, allocations: 2.334 MB / 0.5824 GB, free: 1.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/0.9622, allocations: 5.486 MB / 0.5877 GB, free: 10.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009317/0.9716, allocations: 3.591 MB / 0.5913 GB, free: 7.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/0.9718, allocations: 32 kB / 0.5913 GB, free: 7.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02511/0.9969, allocations: 8.565 MB / 0.5996 GB, free: 14.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.9972, allocations: 55.94 kB / 0.5997 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003097/0.9975, allocations: 112.2 kB / 0.5998 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00471/1.002, allocations: 1.052 MB / 0.6008 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005965/1.008, allocations: 1.333 MB / 0.6021 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/1.013, allocations: 2.513 MB / 0.6046 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005502/1.018, allocations: 315.6 kB / 0.6049 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.02, allocations: 336 kB / 0.6052 GB, free: 8.848 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 (723): * Single equations (assignments): 714 * 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.006637/1.027, allocations: 2.271 MB / 0.6074 GB, free: 6.562 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009939/1.028, allocations: 288.2 kB / 0.6077 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.039, allocations: 5.071 MB / 0.6127 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.667e-05/1.039, allocations: 48 kB / 0.6127 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.039, allocations: 4 kB / 0.6127 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/1.039, allocations: 11.95 kB / 0.6127 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02929/1.068, allocations: 11.57 MB / 0.624 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/1.069, allocations: 4 kB / 0.624 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.071, allocations: 427.3 kB / 0.6244 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/1.074, allocations: 0.908 MB / 0.6253 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003283/1.074, allocations: 63.97 kB / 0.6254 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/1.077, allocations: 2.299 MB / 0.6276 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/1.077, allocations: 23.94 kB / 0.6276 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3359/1.413, allocations: 8.154 MB / 0.6356 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.415, allocations: 334.2 kB / 0.6359 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00079/1.416, allocations: 54.58 kB / 0.636 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.417, allocations: 143 kB / 0.6361 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/1.418, allocations: 153.7 kB / 0.6363 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/1.418, allocations: 76.97 kB / 0.6363 GB, free: 143 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003654/1.421, allocations: 1.807 MB / 0.6381 GB, free: 142.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.421, allocations: 0 / 0.6381 GB, free: 142.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006542/1.428, allocations: 1.025 MB / 0.6391 GB, free: 142.8 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.0005972/1.429, allocations: 210.1 kB / 0.6393 GB, free: 142.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009977/1.439, allocations: 6.147 MB / 0.6453 GB, free: 140.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.439, allocations: 3.188 kB / 0.6453 GB, free: 140.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/1.443, allocations: 2.607 MB / 0.6479 GB, free: 139.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.445, allocations: 385.7 kB / 0.6482 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/1.47, allocations: 12.99 MB / 0.6609 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004813/1.475, allocations: 3.604 MB / 0.6644 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006375/1.481, allocations: 2.091 MB / 0.6665 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.482, allocations: 244.8 kB / 0.6667 GB, free: 131.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.853e-06/1.482, allocations: 0 / 0.6667 GB, free: 131.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06954/1.552, allocations: 32.22 MB / 0.6982 GB, free: 112.6 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: