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.006443/0.006443, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001135/0.001135, allocations: 193.6 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.3468/0.3468, allocations: 38 MB / 307.9 MB, free: 10.4 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.001484/0.001484, allocations: 71.84 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3715, allocations: 56.47 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01566/0.3872, allocations: 14.52 MB / 0.4922 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3992, allocations: 4.5 MB / 0.4966 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004718/0.404, allocations: 76.91 kB / 0.4966 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.4096, allocations: 2.38 MB / 0.499 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007491/0.4171, allocations: 1.992 MB / 0.5009 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.4192, allocations: 0.6003 MB / 0.5015 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009249/0.4285, allocations: 4.281 MB / 0.5057 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00408/0.4326, allocations: 3.637 MB / 0.5092 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.4361, allocations: 1.642 MB / 0.5108 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004037/0.4401, allocations: 2.247 MB / 0.513 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.4414, allocations: 368.9 kB / 0.5134 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.4447, allocations: 1.225 MB / 0.5146 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002807/0.4476, allocations: 2.12 MB / 0.5166 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005259/0.4528, allocations: 2.507 MB / 0.5191 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.4656, allocations: 8.302 MB / 0.5272 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4656, allocations: 0 / 0.5272 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4656, allocations: 0 / 0.5272 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003234/0.466, allocations: 0 / 0.5272 GB, free: 0.9805 MB / 398.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.01672/0.4827, allocations: 5.591 MB / 0.5327 GB, free: 11.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4827, allocations: 11.89 kB / 0.5327 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.4939, allocations: 3.23 MB / 0.5358 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006423/0.5004, allocations: 2.407 MB / 0.5382 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.5008, allocations: 267.2 kB / 0.5384 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.5026, allocations: 363.7 kB / 0.5388 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/0.5293, allocations: 12.66 MB / 0.5511 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002309/0.5296, allocations: 27.77 kB / 0.5512 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.5312, allocations: 167.8 kB / 0.5513 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00468/0.5359, allocations: 2.762 MB / 0.554 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/0.562, allocations: 11.61 MB / 0.5654 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07473/0.6368, allocations: 40.33 MB / 0.6047 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.6483, allocations: 5.084 MB / 0.6097 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004019/0.6523, allocations: 2.413 MB / 0.6121 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/0.6664, allocations: 6.86 MB / 0.6188 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.6665, allocations: 52.56 kB / 0.6188 GB, free: 1.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=235): time 6.081e-06/0.6665, allocations: 0 / 0.6188 GB, free: 1.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=244): time 0.04344/0.71, allocations: 16.57 MB / 0.635 GB, free: 300 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.7101, allocations: 73.41 kB / 0.6351 GB, free: 216 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3174/1.028, allocations: 3.212 MB / 0.6382 GB, free: 126 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007607/1.028, allocations: 56.27 kB / 0.6383 GB, free: 126 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003242/1.032, allocations: 3.442 MB / 0.6416 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.033, allocations: 0.9527 MB / 0.6425 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/1.035, allocations: 1.248 MB / 0.6438 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.686e-05/1.035, allocations: 303.9 kB / 0.6441 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/1.039, allocations: 2.43 MB / 0.6464 GB, free: 122 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005618/1.045, allocations: 5.835 MB / 0.6521 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.056, allocations: 8.976 MB / 0.6609 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002201/1.056, allocations: 38.22 kB / 0.6609 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02204/1.078, allocations: 9.059 MB / 0.6698 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.078, allocations: 55.69 kB / 0.6698 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.078, allocations: 117.6 kB / 0.6699 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/1.081, allocations: 1.137 MB / 0.6711 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/1.086, allocations: 1.394 MB / 0.6724 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005317/1.091, allocations: 4.8 MB / 0.6771 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.096, allocations: 332.9 kB / 0.6774 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009964/1.097, allocations: 356.5 kB / 0.6778 GB, free: 103.3 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003988/1.101, allocations: 2.433 MB / 0.6801 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007128/1.102, allocations: 319.7 kB / 0.6804 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/1.108, allocations: 4.505 MB / 0.6848 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.872e-05/1.108, allocations: 55.84 kB / 0.6849 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.108, allocations: 0.75 kB / 0.6849 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/1.108, allocations: 11.44 kB / 0.6849 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.123, allocations: 10.59 MB / 0.6952 GB, free: 92.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.123, allocations: 12.12 kB / 0.6953 GB, free: 92.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.125, allocations: 399.4 kB / 0.6956 GB, free: 92.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/1.126, allocations: 0.6737 MB / 0.6963 GB, free: 91.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.127, allocations: 48.92 kB / 0.6963 GB, free: 91.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/1.129, allocations: 2.571 MB / 0.6989 GB, free: 88.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.129, allocations: 8 kB / 0.6989 GB, free: 88.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007592/1.136, allocations: 6.901 MB / 0.7056 GB, free: 81.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008817/1.137, allocations: 362.9 kB / 0.7059 GB, free: 81.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/1.138, allocations: 48 kB / 0.706 GB, free: 81.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.139, allocations: 139.8 kB / 0.7061 GB, free: 81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/1.139, allocations: 133.8 kB / 0.7063 GB, free: 80.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.139, allocations: 75.67 kB / 0.7063 GB, free: 80.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002295/1.142, allocations: 1.96 MB / 0.7082 GB, free: 78.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.142, allocations: 0 / 0.7082 GB, free: 78.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004537/1.146, allocations: 1.078 MB / 0.7093 GB, free: 77.77 MB / 0.4981 GB 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004461/1.147, allocations: 190.4 kB / 0.7095 GB, free: 77.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00835/1.155, allocations: 5.957 MB / 0.7153 GB, free: 71.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.155, allocations: 0 / 0.7153 GB, free: 71.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003691/1.159, allocations: 2.451 MB / 0.7177 GB, free: 69.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/1.162, allocations: 480.8 kB / 0.7181 GB, free: 68.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.18, allocations: 11.42 MB / 0.7293 GB, free: 57.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/1.184, allocations: 3.748 MB / 0.733 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004243/1.188, allocations: 2.068 MB / 0.735 GB, free: 51.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/1.188, allocations: 247.4 kB / 0.7352 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/1.188, allocations: 0 / 0.7352 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.057/1.245, allocations: 34.27 MB / 0.7687 GB, free: 16.86 MB / 0.4981 GB 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)