Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00835/0.00835, allocations: 170 kB / 16.27 MB, free: 6.66 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.465/1.465, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3104/0.3104, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005734/0.0005735, allocations: 12 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1222, allocations: 57.53 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.2491/0.3713, allocations: 33.04 MB / 467.6 MB, free: 33.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.3875, allocations: 7.657 MB / 475.3 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006156/0.3937, allocations: 138.6 kB / 475.4 MB, free: 32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.395, allocations: 0.4959 MB / 475.9 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.3993, allocations: 1.758 MB / 477.7 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.4006, allocations: 458 kB / 478.1 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005693/0.4063, allocations: 5.547 MB / 483.7 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005129/0.4115, allocations: 3.827 MB / 487.5 MB, free: 28.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.4137, allocations: 1.053 MB / 488.5 MB, free: 28.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.4163, allocations: 1.863 MB / 490.4 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005618/0.4168, allocations: 146.6 kB / 490.5 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.4189, allocations: 1.045 MB / 491.6 MB, free: 27.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.4207, allocations: 1.69 MB / 493.3 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.4229, allocations: 2.021 MB / 495.3 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009932/0.4329, allocations: 6.753 MB / 0.4903 GB, free: 23.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4329, allocations: 4 kB / 0.4903 GB, free: 23.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4329, allocations: 0 / 0.4903 GB, free: 23.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002917/0.4332, allocations: 1.188 kB / 0.4903 GB, free: 23.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01185/0.4451, allocations: 4.017 MB / 0.4942 GB, free: 21.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4452, allocations: 8.812 kB / 0.4942 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.4571, allocations: 3.225 MB / 0.4974 GB, free: 19.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/0.4637, allocations: 2.159 MB / 0.4995 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/0.4642, allocations: 230.1 kB / 0.4997 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/0.4667, allocations: 300.9 kB / 0.5 GB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/0.4929, allocations: 11.47 MB / 0.5112 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/0.4931, allocations: 25.78 kB / 0.5112 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.4943, allocations: 141.3 kB / 0.5113 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004266/0.4986, allocations: 2.636 MB / 0.5139 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02023/0.5188, allocations: 10.7 MB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06032/0.5792, allocations: 36.46 MB / 0.56 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008048/0.5873, allocations: 4.411 MB / 0.5643 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.5904, allocations: 2.158 MB / 0.5664 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.5916, allocations: 1.315 MB / 0.5677 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5917, allocations: 52.56 kB / 0.5677 GB, free: 1.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 5.18e-06/0.5917, allocations: 0 / 0.5677 GB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.04014/0.6318, allocations: 13.96 MB / 0.5813 GB, free: 3.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.6319, allocations: 73.41 kB / 0.5814 GB, free: 3.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.6359, allocations: 2.84 MB / 0.5842 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/0.6362, allocations: 57.7 kB / 0.5842 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001884/0.6381, allocations: 2.946 MB / 0.5871 GB, free: 13.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009619/0.6391, allocations: 0.9713 MB / 0.5881 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006197/0.6397, allocations: 0.507 MB / 0.5886 GB, free: 12.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.6398, allocations: 301.1 kB / 0.5889 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.6432, allocations: 2.366 MB / 0.5912 GB, free: 9.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005533/0.6488, allocations: 5.545 MB / 0.5966 GB, free: 2.676 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.659, allocations: 8.671 MB / 0.605 GB, free: 8.461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-05/0.6592, allocations: 32 kB / 0.6051 GB, free: 8.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01686/0.676, allocations: 8.628 MB / 0.6135 GB, free: 15.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.6762, allocations: 60 kB / 0.6136 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/0.6764, allocations: 108 kB / 0.6137 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/0.6803, allocations: 1.036 MB / 0.6147 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004935/0.6853, allocations: 1.349 MB / 0.616 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.6884, allocations: 2.466 MB / 0.6184 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/0.6928, allocations: 319.7 kB / 0.6187 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/0.694, allocations: 332 kB / 0.619 GB, free: 9.984 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (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 (727): * Single equations (assignments): 718 * 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 prepare postOptimizeDAE: time 0.006288/0.7003, allocations: 2.278 MB / 0.6212 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000782/0.7011, allocations: 284.2 kB / 0.6215 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.7121, allocations: 5.075 MB / 0.6265 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.448e-05/0.7122, allocations: 48 kB / 0.6265 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.7122, allocations: 7.984 kB / 0.6265 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/0.7122, allocations: 7.969 kB / 0.6265 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2447/0.957, allocations: 11.58 MB / 0.6378 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.957, allocations: 9.656 kB / 0.6379 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.9586, allocations: 426.8 kB / 0.6383 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/0.9618, allocations: 0.9136 MB / 0.6392 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.962, allocations: 56.89 kB / 0.6392 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.9639, allocations: 2.265 MB / 0.6414 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.9639, allocations: 16.5 kB / 0.6414 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.9742, allocations: 7.532 MB / 0.6488 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/0.975, allocations: 332.7 kB / 0.6491 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.9754, allocations: 53.16 kB / 0.6492 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.9767, allocations: 142.6 kB / 0.6493 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.977, allocations: 156.1 kB / 0.6494 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.9772, allocations: 81.75 kB / 0.6495 GB, free: 139.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002544/0.9797, allocations: 1.748 MB / 0.6512 GB, free: 139 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9797, allocations: 0 / 0.6512 GB, free: 139 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004317/0.9841, allocations: 1.009 MB / 0.6522 GB, free: 138.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * 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.0004564/0.9845, allocations: 199.7 kB / 0.6524 GB, free: 138.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009824/0.9944, allocations: 6.193 MB / 0.6584 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.9944, allocations: 4.781 kB / 0.6585 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004546/0.9989, allocations: 2.598 MB / 0.661 GB, free: 135.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/1.004, allocations: 437.9 kB / 0.6614 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/1.029, allocations: 13.48 MB / 0.6746 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/1.033, allocations: 3.497 MB / 0.678 GB, free: 126.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004432/1.037, allocations: 2.099 MB / 0.68 GB, free: 126.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/1.038, allocations: 238.2 kB / 0.6803 GB, free: 126.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/1.038, allocations: 0 / 0.6803 GB, free: 126.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05193/1.09, allocations: 32.4 MB / 0.7119 GB, free: 99.46 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) Environment - environmentSimulation: