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.007672/0.007672, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001711/0.001711, allocations: 191 kB / 16.67 MB, free: 5.973 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.812/1.812, allocations: 205.1 MB / 222.5 MB, free: 4.465 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.3834/0.3834, allocations: 38 MB / 307.9 MB, free: 10.12 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.001527/0.001527, allocations: 71.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3744, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01443/0.3889, allocations: 14.5 MB / 0.4922 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.4016, allocations: 4.51 MB / 0.4966 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004918/0.4065, allocations: 77.97 kB / 0.4966 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00574/0.4124, allocations: 2.382 MB / 0.499 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008321/0.4207, allocations: 1.99 MB / 0.5009 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.4233, allocations: 0.5915 MB / 0.5015 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008356/0.4317, allocations: 4.285 MB / 0.5057 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005593/0.4373, allocations: 3.645 MB / 0.5092 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.442, allocations: 1.637 MB / 0.5108 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005639/0.4477, allocations: 2.251 MB / 0.513 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00207/0.4498, allocations: 373.7 kB / 0.5134 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/0.4547, allocations: 1.221 MB / 0.5146 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005431/0.4602, allocations: 2.115 MB / 0.5166 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007439/0.4676, allocations: 2.516 MB / 0.5191 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.4817, allocations: 8.256 MB / 0.5272 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.4818, allocations: 0 / 0.5272 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4818, allocations: 0 / 0.5272 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004148/0.4822, allocations: 0 / 0.5272 GB, free: 1.043 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.02172/0.5039, allocations: 5.457 MB / 0.5325 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.504, allocations: 11.89 kB / 0.5325 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.5169, allocations: 3.196 MB / 0.5356 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006829/0.5238, allocations: 2.402 MB / 0.538 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.5241, allocations: 271.2 kB / 0.5382 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/0.5262, allocations: 359.8 kB / 0.5386 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/0.5548, allocations: 12.66 MB / 0.5509 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.5551, allocations: 27.81 kB / 0.551 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/0.5572, allocations: 167.8 kB / 0.5511 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004882/0.5621, allocations: 2.758 MB / 0.5538 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/0.5891, allocations: 11.61 MB / 0.5652 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07726/0.6664, allocations: 40.24 MB / 0.6045 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.6778, allocations: 5.076 MB / 0.6094 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/0.6817, allocations: 2.413 MB / 0.6118 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01505/0.6968, allocations: 6.851 MB / 0.6185 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.845e-05/0.697, allocations: 56.56 kB / 0.6185 GB, free: 1.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=235): time 9.218e-06/0.697, allocations: 4 kB / 0.6185 GB, free: 1.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=244): time 0.04229/0.7393, allocations: 16.48 MB / 0.6346 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.7394, allocations: 69.41 kB / 0.6347 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3303/1.07, allocations: 3.204 MB / 0.6378 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000591/1.07, allocations: 56.7 kB / 0.6379 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/1.073, allocations: 3.303 MB / 0.6411 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.074, allocations: 0.9166 MB / 0.642 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/1.076, allocations: 1.236 MB / 0.6432 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/1.076, allocations: 303 kB / 0.6435 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003963/1.08, allocations: 2.43 MB / 0.6458 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005198/1.085, allocations: 5.841 MB / 0.6515 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.095, allocations: 8.974 MB / 0.6603 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/1.095, allocations: 37.78 kB / 0.6603 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01846/1.114, allocations: 9.042 MB / 0.6692 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.114, allocations: 55.5 kB / 0.6692 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/1.114, allocations: 119 kB / 0.6693 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/1.117, allocations: 1.131 MB / 0.6704 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004402/1.122, allocations: 1.393 MB / 0.6718 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/1.127, allocations: 4.807 MB / 0.6765 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/1.132, allocations: 318.3 kB / 0.6768 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009372/1.133, allocations: 358 kB / 0.6771 GB, free: 103.1 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.003655/1.136, allocations: 2.444 MB / 0.6795 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/1.137, allocations: 310.1 kB / 0.6798 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006273/1.143, allocations: 4.495 MB / 0.6842 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/1.143, allocations: 45.59 kB / 0.6843 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.143, allocations: 4 kB / 0.6843 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.143, allocations: 11.41 kB / 0.6843 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/1.158, allocations: 10.59 MB / 0.6946 GB, free: 92.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.158, allocations: 7.938 kB / 0.6946 GB, free: 92.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.159, allocations: 391.4 kB / 0.695 GB, free: 92.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/1.161, allocations: 0.6892 MB / 0.6957 GB, free: 91.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/1.161, allocations: 47.98 kB / 0.6957 GB, free: 91.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/1.163, allocations: 2.56 MB / 0.6982 GB, free: 88.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.163, allocations: 11.94 kB / 0.6982 GB, free: 88.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/1.171, allocations: 6.875 MB / 0.7049 GB, free: 81.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009614/1.172, allocations: 349.1 kB / 0.7053 GB, free: 81.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.173, allocations: 40 kB / 0.7053 GB, free: 81.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.174, allocations: 139.8 kB / 0.7055 GB, free: 81.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/1.174, allocations: 141.4 kB / 0.7056 GB, free: 80.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.174, allocations: 67.98 kB / 0.7056 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002259/1.177, allocations: 1.956 MB / 0.7076 GB, free: 78.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.177, allocations: 3.938 kB / 0.7076 GB, free: 78.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004372/1.181, allocations: 1.083 MB / 0.7086 GB, free: 77.88 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.0004113/1.182, allocations: 196.9 kB / 0.7088 GB, free: 77.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007854/1.189, allocations: 5.948 MB / 0.7146 GB, free: 71.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.189, allocations: 8.031 kB / 0.7146 GB, free: 71.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.193, allocations: 2.455 MB / 0.717 GB, free: 69.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.196, allocations: 483.1 kB / 0.7175 GB, free: 68.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.212, allocations: 11.25 MB / 0.7285 GB, free: 57.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003085/1.215, allocations: 3.755 MB / 0.7321 GB, free: 53.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003782/1.219, allocations: 2.068 MB / 0.7342 GB, free: 51.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/1.22, allocations: 247.4 kB / 0.7344 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/1.22, allocations: 0 / 0.7344 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.05305/1.273, allocations: 34.28 MB / 0.7679 GB, free: 17.15 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)