Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 181.1 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.601/1.601, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 114 kB / 247.4 MB, free: 6.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2981/0.2981, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.021e-05, allocations: 7.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4035/0.5224, allocations: 100.9 MB / 0.5363 GB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.5227, allocations: 79.83 kB / 0.5363 GB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2387/0.7615, allocations: 95.66 MB / 0.6298 GB, free: 7.312 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7615, allocations: 0 / 0.6298 GB, free: 7.312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001767/0.7617, allocations: 95.94 kB / 0.6298 GB, free: 7.219 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.019/0.7807, allocations: 4.636 MB / 0.6344 GB, free: 2.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.7808, allocations: 12.03 kB / 0.6344 GB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.7978, allocations: 3.62 MB / 0.6379 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.8117, allocations: 4.882 MB / 0.6427 GB, free: 9.938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.812, allocations: 160.3 kB / 0.6428 GB, free: 9.781 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/0.815, allocations: 292 kB / 0.6431 GB, free: 9.496 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01613/0.8311, allocations: 8.423 MB / 0.6513 GB, free: 1.066 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/0.8573, allocations: 11.12 MB / 0.6622 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/0.8576, allocations: 35.75 kB / 0.6622 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002444/0.86, allocations: 19.94 kB / 0.6623 GB, free: 5.363 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002098/0.8621, allocations: 1.311 MB / 0.6635 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3198/1.182, allocations: 39.39 MB / 0.702 GB, free: 94.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/1.187, allocations: 4.295 MB / 0.7062 GB, free: 93.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/1.19, allocations: 2.279 MB / 0.7084 GB, free: 93.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/1.191, allocations: 1.324 MB / 0.7097 GB, free: 92.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/1.191, allocations: 57.09 kB / 0.7098 GB, free: 92.42 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 6.763e-06/1.191, allocations: 0 / 0.7098 GB, free: 92.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=271): time 0.02461/1.216, allocations: 14.36 MB / 0.7238 GB, free: 89.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.216, allocations: 97.73 kB / 0.7239 GB, free: 89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/1.219, allocations: 2.579 MB / 0.7264 GB, free: 88.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002922/1.219, allocations: 25.7 kB / 0.7264 GB, free: 88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.221, allocations: 3.292 MB / 0.7296 GB, free: 85.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008668/1.222, allocations: 0.9815 MB / 0.7306 GB, free: 85.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.222, allocations: 0 / 0.7306 GB, free: 85.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003044/1.222, allocations: 0.5843 MB / 0.7312 GB, free: 84.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/1.225, allocations: 2.336 MB / 0.7335 GB, free: 83.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/1.229, allocations: 5.942 MB / 0.7393 GB, free: 78.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/1.234, allocations: 3.769 MB / 0.7429 GB, free: 77.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-05/1.234, allocations: 37.06 kB / 0.743 GB, free: 77.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01374/1.248, allocations: 8.469 MB / 0.7512 GB, free: 74.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/1.248, allocations: 59.19 kB / 0.7513 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/1.248, allocations: 130.3 kB / 0.7514 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/1.251, allocations: 1.145 MB / 0.7525 GB, free: 74.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004983/1.256, allocations: 1.486 MB / 0.754 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/1.261, allocations: 4.475 MB / 0.7584 GB, free: 70.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/1.266, allocations: 220.4 kB / 0.7586 GB, free: 70.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/1.267, allocations: 383.1 kB / 0.7589 GB, free: 70.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 793 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.001333/1.268, allocations: 428 kB / 0.7593 GB, free: 69.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008443/1.269, allocations: 304 kB / 0.7596 GB, free: 69.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.28, allocations: 4.765 MB / 0.7643 GB, free: 65.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-05/1.281, allocations: 51.8 kB / 0.7643 GB, free: 65.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.281, allocations: 0 / 0.7643 GB, free: 65.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.49e-05/1.281, allocations: 14.16 kB / 0.7644 GB, free: 65.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03196/1.313, allocations: 10.62 MB / 0.7747 GB, free: 56.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/1.313, allocations: 8 kB / 0.7747 GB, free: 56.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003826/1.317, allocations: 445.9 kB / 0.7752 GB, free: 55.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003604/1.32, allocations: 0.6607 MB / 0.7758 GB, free: 55.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006198/1.321, allocations: 29.81 kB / 0.7758 GB, free: 55.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/1.325, allocations: 2.35 MB / 0.7781 GB, free: 53.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-05/1.325, allocations: 15.94 kB / 0.7781 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.341, allocations: 8.017 MB / 0.786 GB, free: 45.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.342, allocations: 339.3 kB / 0.7863 GB, free: 45.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007889/1.343, allocations: 27.23 kB / 0.7863 GB, free: 45.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.345, allocations: 112.1 kB / 0.7864 GB, free: 45.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/1.346, allocations: 163.4 kB / 0.7866 GB, free: 45.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.346, allocations: 79.33 kB / 0.7867 GB, free: 45.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00298/1.349, allocations: 1.686 MB / 0.7883 GB, free: 43.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.349, allocations: 0 / 0.7883 GB, free: 43.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006354/1.355, allocations: 0.9498 MB / 0.7892 GB, free: 42.64 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 213 * 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.0006061/1.356, allocations: 168.4 kB / 0.7894 GB, free: 42.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008598/1.364, allocations: 5.766 MB / 0.795 GB, free: 37.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.364, allocations: 1.562 kB / 0.795 GB, free: 37.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003628/1.368, allocations: 2.519 MB / 0.7975 GB, free: 35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.37, allocations: 315.3 kB / 0.7978 GB, free: 34.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.386, allocations: 9.824 MB / 0.8074 GB, free: 25.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.39, allocations: 3.833 MB / 0.8111 GB, free: 22.97 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00513/1.395, allocations: 2.27 MB / 0.8133 GB, free: 21.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009496/1.396, allocations: 244.8 kB / 0.8136 GB, free: 21.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.424e-06/1.396, allocations: 0 / 0.8136 GB, free: 21.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05876/1.455, allocations: 30.84 MB / 0.8437 GB, free: 8.52 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)