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.00587/0.00587, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001185/0.001185, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.778/1.778, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3777/0.3777, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001437/0.001437, allocations: 67.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4019, allocations: 56.46 MB / 489.5 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01618/0.4181, allocations: 14.51 MB / 0.4922 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.4328, allocations: 4.511 MB / 0.4966 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005156/0.438, allocations: 76.72 kB / 0.4966 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005985/0.4441, allocations: 2.373 MB / 0.499 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008253/0.4523, allocations: 2 MB / 0.5009 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.4545, allocations: 0.5891 MB / 0.5015 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008084/0.4626, allocations: 4.292 MB / 0.5057 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004924/0.4676, allocations: 3.642 MB / 0.5092 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.4712, allocations: 1.646 MB / 0.5108 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.4755, allocations: 2.25 MB / 0.513 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.4767, allocations: 367.5 kB / 0.5134 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.4803, allocations: 1.229 MB / 0.5146 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.483, allocations: 2.12 MB / 0.5167 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003914/0.4869, allocations: 2.505 MB / 0.5191 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.4987, allocations: 8.264 MB / 0.5272 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4987, allocations: 0 / 0.5272 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.15e-06/0.4987, allocations: 4 kB / 0.5272 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.499, allocations: 0 / 0.5272 GB, free: 1.012 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.01543/0.5145, allocations: 5.449 MB / 0.5325 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5145, allocations: 15.89 kB / 0.5325 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.5258, allocations: 3.192 MB / 0.5356 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007851/0.5337, allocations: 2.402 MB / 0.538 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.5341, allocations: 267.2 kB / 0.5382 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.5355, allocations: 359.7 kB / 0.5386 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/0.5593, allocations: 12.66 MB / 0.5509 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.5595, allocations: 27.81 kB / 0.551 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005647/0.5601, allocations: 159.8 kB / 0.5511 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/0.5644, allocations: 2.766 MB / 0.5538 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.5894, allocations: 11.61 MB / 0.5652 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06672/0.6561, allocations: 40.24 MB / 0.6045 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.6672, allocations: 5.084 MB / 0.6094 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/0.6709, allocations: 2.417 MB / 0.6118 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.6831, allocations: 6.843 MB / 0.6185 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.6832, allocations: 56.56 kB / 0.6185 GB, free: 1.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=235): time 4.809e-06/0.6832, allocations: 0 / 0.6185 GB, free: 1.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=244): time 0.0386/0.7218, allocations: 16.47 MB / 0.6346 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.7219, allocations: 77.41 kB / 0.6347 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3461/1.068, allocations: 3.205 MB / 0.6378 GB, free: 126 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005262/1.069, allocations: 56.3 kB / 0.6379 GB, free: 126 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002832/1.071, allocations: 3.299 MB / 0.6411 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.073, allocations: 0.9152 MB / 0.642 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/1.075, allocations: 1.237 MB / 0.6432 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/1.075, allocations: 303 kB / 0.6435 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/1.079, allocations: 2.431 MB / 0.6458 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005496/1.085, allocations: 5.836 MB / 0.6515 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.095, allocations: 8.976 MB / 0.6603 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.095, allocations: 40.75 kB / 0.6604 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.017/1.112, allocations: 9.044 MB / 0.6692 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.112, allocations: 55.34 kB / 0.6692 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001895/1.112, allocations: 118.4 kB / 0.6694 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/1.116, allocations: 1.132 MB / 0.6705 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004672/1.12, allocations: 1.395 MB / 0.6718 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/1.126, allocations: 4.803 MB / 0.6765 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006372/1.133, allocations: 328.2 kB / 0.6768 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.134, allocations: 354.9 kB / 0.6772 GB, free: 102.9 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.005132/1.14, allocations: 2.439 MB / 0.6795 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/1.14, allocations: 303.2 kB / 0.6798 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006245/1.147, allocations: 4.501 MB / 0.6842 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.242e-05/1.147, allocations: 44.92 kB / 0.6843 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.147, allocations: 3.875 kB / 0.6843 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.147, allocations: 9.609 kB / 0.6843 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/1.162, allocations: 10.59 MB / 0.6946 GB, free: 92.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.162, allocations: 7.938 kB / 0.6946 GB, free: 92.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.164, allocations: 395.4 kB / 0.695 GB, free: 92.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/1.166, allocations: 0.6812 MB / 0.6957 GB, free: 91.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/1.166, allocations: 51.27 kB / 0.6957 GB, free: 91.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/1.168, allocations: 2.57 MB / 0.6982 GB, free: 88.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.168, allocations: 11.98 kB / 0.6982 GB, free: 88.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/1.176, allocations: 6.876 MB / 0.705 GB, free: 81.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/1.177, allocations: 345.1 kB / 0.7053 GB, free: 81.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/1.177, allocations: 43.98 kB / 0.7053 GB, free: 81.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.178, allocations: 139.8 kB / 0.7055 GB, free: 81.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/1.178, allocations: 141.7 kB / 0.7056 GB, free: 80.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.179, allocations: 71.36 kB / 0.7057 GB, free: 80.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002198/1.181, allocations: 1.952 MB / 0.7076 GB, free: 78.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.181, allocations: 4 kB / 0.7076 GB, free: 78.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004301/1.185, allocations: 1.083 MB / 0.7086 GB, free: 77.84 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.0004127/1.186, allocations: 192.8 kB / 0.7088 GB, free: 77.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008049/1.194, allocations: 5.952 MB / 0.7146 GB, free: 71.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.194, allocations: 0 / 0.7146 GB, free: 71.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003708/1.197, allocations: 2.448 MB / 0.717 GB, free: 69.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/1.2, allocations: 488.2 kB / 0.7175 GB, free: 68.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.217, allocations: 11.25 MB / 0.7285 GB, free: 57.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/1.221, allocations: 3.759 MB / 0.7321 GB, free: 53.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003813/1.225, allocations: 2.064 MB / 0.7342 GB, free: 51.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/1.225, allocations: 239.4 kB / 0.7344 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.894e-06/1.225, allocations: 4 kB / 0.7344 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.05915/1.284, allocations: 34.06 MB / 0.7677 GB, free: 17.41 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)