Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008574/0.0008573, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009317/0.000932, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4359/0.4359, allocations: 40.01 MB / 310.4 MB, free: 9.793 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.2. 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.0005875/0.0005877, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1621, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.3361/0.4983, allocations: 30.78 MB / 467.6 MB, free: 33.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.5177, allocations: 7.249 MB / 474.8 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008318/0.5261, allocations: 141.1 kB / 475 MB, free: 31.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006439/0.5326, allocations: 1.528 MB / 476.5 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01931/0.5519, allocations: 4.554 MB / 481 MB, free: 29.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.5542, allocations: 413.7 kB / 481.4 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005466/0.5596, allocations: 4.268 MB / 485.7 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004306/0.564, allocations: 3.379 MB / 489.1 MB, free: 26.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.5659, allocations: 1.125 MB / 490.2 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.5685, allocations: 1.83 MB / 492.1 MB, free: 26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005291/0.569, allocations: 145.2 kB / 492.2 MB, free: 26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.5721, allocations: 0.8644 MB / 493.1 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004355/0.5765, allocations: 1.646 MB / 494.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002452/0.579, allocations: 0.8409 MB / 495.5 MB, free: 24.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.5918, allocations: 5.582 MB / 0.4894 GB, free: 23.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.5919, allocations: 3.938 kB / 0.4894 GB, free: 23.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.249e-06/0.5919, allocations: 4.969 kB / 0.4894 GB, free: 23.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004155/0.5923, allocations: 0 / 0.4894 GB, free: 23.58 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.01595/0.6083, allocations: 4.081 MB / 0.4934 GB, free: 20.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.6083, allocations: 10.22 kB / 0.4934 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.6212, allocations: 3.227 MB / 0.4965 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007933/0.6292, allocations: 2.133 MB / 0.4986 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.6297, allocations: 223.5 kB / 0.4988 GB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002261/0.6319, allocations: 295.6 kB / 0.4991 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.6565, allocations: 11.44 MB / 0.5103 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.6567, allocations: 29.77 kB / 0.5103 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004587/0.6572, allocations: 140.6 kB / 0.5104 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003772/0.661, allocations: 2.631 MB / 0.513 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/0.6837, allocations: 10.66 MB / 0.5234 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07324/0.757, allocations: 36.43 MB / 0.559 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009738/0.7668, allocations: 4.404 MB / 0.5633 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004368/0.7713, allocations: 2.15 MB / 0.5654 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/0.7729, allocations: 1.319 MB / 0.5667 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.562e-05/0.773, allocations: 52.56 kB / 0.5667 GB, free: 1.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 7.163e-06/0.773, allocations: 0 / 0.5667 GB, free: 1.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.04758/0.8206, allocations: 13.92 MB / 0.5803 GB, free: 3.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.8207, allocations: 77.41 kB / 0.5804 GB, free: 3.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007594/0.8283, allocations: 2.82 MB / 0.5832 GB, free: 320 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007747/0.8291, allocations: 57.69 kB / 0.5832 GB, free: 256 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002916/0.8321, allocations: 2.938 MB / 0.5861 GB, free: 13.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001801/0.8339, allocations: 0.9751 MB / 0.587 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009303/0.8349, allocations: 116 kB / 0.5872 GB, free: 12.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0007776/0.8356, allocations: 0.562 MB / 0.5877 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005285/0.841, allocations: 2.346 MB / 0.59 GB, free: 9.246 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008585/0.8496, allocations: 5.514 MB / 0.5954 GB, free: 2.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00833/0.8579, allocations: 3.61 MB / 0.5989 GB, free: 14.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002258/0.8582, allocations: 35.94 kB / 0.5989 GB, free: 14.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02118/0.8794, allocations: 8.577 MB / 0.6073 GB, free: 5.941 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.8796, allocations: 52 kB / 0.6074 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/0.8798, allocations: 108 kB / 0.6075 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003492/0.8833, allocations: 1.06 MB / 0.6085 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/0.8885, allocations: 1.341 MB / 0.6098 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.8916, allocations: 2.474 MB / 0.6122 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004993/0.8966, allocations: 315.7 kB / 0.6125 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/0.898, allocations: 340 kB / 0.6129 GB, free: 120 kB / 478.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 (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 prepare postOptimizeDAE: time 0.007203/0.9052, allocations: 2.277 MB / 0.6151 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009272/0.9062, allocations: 288.4 kB / 0.6153 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.9185, allocations: 5.067 MB / 0.6203 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-05/0.9186, allocations: 55.97 kB / 0.6204 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.9186, allocations: 0 / 0.6204 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.9187, allocations: 11.95 kB / 0.6204 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3685/1.287, allocations: 11.55 MB / 0.6316 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.287, allocations: 6.469 kB / 0.6316 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.289, allocations: 428.6 kB / 0.6321 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003111/1.292, allocations: 0.9126 MB / 0.6329 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/1.293, allocations: 61.75 kB / 0.633 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/1.295, allocations: 2.266 MB / 0.6352 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.296, allocations: 13.88 kB / 0.6352 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.309, allocations: 7.508 MB / 0.6426 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.31, allocations: 331.2 kB / 0.6429 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/1.311, allocations: 54.78 kB / 0.6429 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.312, allocations: 139.9 kB / 0.6431 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/1.312, allocations: 167.9 kB / 0.6432 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.312, allocations: 74.05 kB / 0.6433 GB, free: 138.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003264/1.316, allocations: 1.714 MB / 0.645 GB, free: 137.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.7e-07/1.316, allocations: 0 / 0.645 GB, free: 137.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005925/1.322, allocations: 1.005 MB / 0.646 GB, free: 137.4 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 (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.0005325/1.322, allocations: 194.7 kB / 0.6461 GB, free: 137.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.332, allocations: 6.161 MB / 0.6522 GB, free: 135.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.332, allocations: 0 / 0.6522 GB, free: 135.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005068/1.338, allocations: 2.602 MB / 0.6547 GB, free: 134.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/1.341, allocations: 425.4 kB / 0.6551 GB, free: 134 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/1.369, allocations: 13.04 MB / 0.6678 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005718/1.375, allocations: 3.509 MB / 0.6713 GB, free: 125.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006115/1.381, allocations: 2.094 MB / 0.6733 GB, free: 125.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/1.382, allocations: 240.8 kB / 0.6735 GB, free: 125.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.174e-06/1.382, allocations: 1.094 kB / 0.6735 GB, free: 125.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06465/1.446, allocations: 31.64 MB / 0.7044 GB, free: 104.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) Environment - environmentSimulation: