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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.006276/0.006276, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.566/1.566, allocations: 170.8 MB / 186.6 MB, free: 0.9648 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001672/0.001673, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4061/0.4061, allocations: 38.05 MB / 303.7 MB, free: 42.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4924, allocations: 94.97 MB / 0.4947 GB, free: 9.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.4927, allocations: 78.47 kB / 0.4947 GB, free: 8.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4896/0.9824, allocations: 97.44 MB / 0.5899 GB, free: 78.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.9824, allocations: 1.609 kB / 0.5899 GB, free: 78.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003117/0.9827, allocations: 89.67 kB / 0.59 GB, free: 78.04 MB / 426.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.02513/1.008, allocations: 4.794 MB / 0.5947 GB, free: 76.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.008, allocations: 10.81 kB / 0.5947 GB, free: 76.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/1.024, allocations: 3.612 MB / 0.5982 GB, free: 75.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01443/1.038, allocations: 4.912 MB / 0.603 GB, free: 75.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004765/1.039, allocations: 377.8 kB / 0.6034 GB, free: 75.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/1.042, allocations: 494 kB / 0.6038 GB, free: 75.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03348/1.075, allocations: 12.21 MB / 0.6158 GB, free: 73.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000251/1.075, allocations: 31.28 kB / 0.6158 GB, free: 73.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/1.077, allocations: 218.7 kB / 0.616 GB, free: 73.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/1.079, allocations: 1.325 MB / 0.6173 GB, free: 73.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/1.107, allocations: 11.51 MB / 0.6285 GB, free: 73.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/1.163, allocations: 41.89 MB / 0.6694 GB, free: 50.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/1.172, allocations: 4.955 MB / 0.6743 GB, free: 47.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00909/1.181, allocations: 6.563 MB / 0.6807 GB, free: 44.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/1.181, allocations: 51.53 kB / 0.6807 GB, free: 44.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 4.859e-06/1.181, allocations: 0 / 0.6807 GB, free: 44.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.03199/1.213, allocations: 16.76 MB / 0.6971 GB, free: 37.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.213, allocations: 73.41 kB / 0.6972 GB, free: 37.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/1.217, allocations: 2.837 MB / 0.6999 GB, free: 35.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002172/1.217, allocations: 57.7 kB / 0.7 GB, free: 35.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/1.219, allocations: 3.269 MB / 0.7032 GB, free: 32.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008608/1.22, allocations: 0.8958 MB / 0.7041 GB, free: 31.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/1.22, allocations: 120 kB / 0.7042 GB, free: 31.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003078/1.221, allocations: 0.5658 MB / 0.7047 GB, free: 31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/1.224, allocations: 2.376 MB / 0.7071 GB, free: 28.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004125/1.228, allocations: 5.747 MB / 0.7127 GB, free: 22.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/1.232, allocations: 3.68 MB / 0.7163 GB, free: 18.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.712e-05/1.232, allocations: 32 kB / 0.7163 GB, free: 18.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01268/1.244, allocations: 8.916 MB / 0.725 GB, free: 10.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/1.245, allocations: 56 kB / 0.725 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.245, allocations: 120.2 kB / 0.7252 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003205/1.248, allocations: 1.153 MB / 0.7263 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/1.252, allocations: 1.379 MB / 0.7276 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/1.257, allocations: 4.654 MB / 0.7322 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/1.262, allocations: 332.5 kB / 0.7325 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008917/1.263, allocations: 347.8 kB / 0.7328 GB, free: 4.031 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 734 * 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.005284/1.268, allocations: 2.408 MB / 0.7352 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/1.268, allocations: 304 kB / 0.7355 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008097/1.277, allocations: 4.516 MB / 0.7399 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/1.277, allocations: 39.42 kB / 0.7399 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/1.277, allocations: 4 kB / 0.7399 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.277, allocations: 10.12 kB / 0.7399 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/1.296, allocations: 10.45 MB / 0.7501 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.296, allocations: 8.031 kB / 0.7501 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.298, allocations: 399.2 kB / 0.7505 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/1.3, allocations: 0.6734 MB / 0.7512 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/1.3, allocations: 47.98 kB / 0.7512 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/1.303, allocations: 2.439 MB / 0.7536 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.303, allocations: 4 kB / 0.7536 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2453/1.548, allocations: 7.195 MB / 0.7606 GB, free: 83.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.549, allocations: 349.8 kB / 0.761 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/1.55, allocations: 50.55 kB / 0.761 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.551, allocations: 132.7 kB / 0.7611 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/1.551, allocations: 132.5 kB / 0.7613 GB, free: 83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.551, allocations: 70.89 kB / 0.7613 GB, free: 83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003778/1.555, allocations: 1.926 MB / 0.7632 GB, free: 82.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.555, allocations: 0 / 0.7632 GB, free: 82.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006158/1.561, allocations: 1.074 MB / 0.7643 GB, free: 82.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (191): * Single equations (assignments): 182 * 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.000573/1.562, allocations: 194.2 kB / 0.7645 GB, free: 82.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008601/1.571, allocations: 5.808 MB / 0.7701 GB, free: 82.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.571, allocations: 0 / 0.7701 GB, free: 82.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003593/1.574, allocations: 2.417 MB / 0.7725 GB, free: 82.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.577, allocations: 419.6 kB / 0.7729 GB, free: 82.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/1.596, allocations: 13.43 MB / 0.786 GB, free: 77.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005178/1.602, allocations: 3.828 MB / 0.7897 GB, free: 76.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00573/1.607, allocations: 2.049 MB / 0.7917 GB, free: 76.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/1.608, allocations: 238.7 kB / 0.792 GB, free: 76.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/1.608, allocations: 0 / 0.792 GB, free: 76.21 MB / 442.7 MB Notification: Performance of Templates: time 0.05967/1.668, allocations: 34.13 MB / 0.8253 GB, free: 74.33 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (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)