Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.867/1.867, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.3695/0.3695, allocations: 37.99 MB / 307.8 MB, free: 10.05 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.001754/0.001754, allocations: 71.91 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1349, allocations: 56.46 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01561/0.1506, allocations: 14.81 MB / 446.5 MB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1614, allocations: 4.564 MB / 451.1 MB, free: 3.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003569/0.165, allocations: 87.75 kB / 451.2 MB, free: 3.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004939/0.17, allocations: 2.386 MB / 453.6 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.287/0.457, allocations: 1.914 MB / 455.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.4596, allocations: 0.8999 MB / 456.4 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005564/0.4652, allocations: 4.119 MB / 460.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.4688, allocations: 3.499 MB / 464 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.471, allocations: 1.539 MB / 465.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.4734, allocations: 2.132 MB / 467.7 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006574/0.4741, allocations: 345 kB / 468 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.4764, allocations: 1.167 MB / 469.2 MB, free: 34.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.478, allocations: 1.995 MB / 471.2 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.4801, allocations: 2.368 MB / 473.5 MB, free: 32.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006959/0.487, allocations: 7.559 MB / 481.1 MB, free: 29.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4871, allocations: 0 / 481.1 MB, free: 29.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4871, allocations: 0 / 481.1 MB, free: 29.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002278/0.4873, allocations: 0 / 481.1 MB, free: 29.98 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01211/0.4994, allocations: 5.222 MB / 486.3 MB, free: 27.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4995, allocations: 14.14 kB / 486.3 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.512, allocations: 3.17 MB / 489.5 MB, free: 26.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00673/0.5188, allocations: 2.322 MB / 491.8 MB, free: 25.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/0.5192, allocations: 253.3 kB / 492.1 MB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/0.5207, allocations: 322.5 kB / 492.4 MB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/0.5533, allocations: 11.9 MB / 0.4925 GB, free: 20.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003736/0.5537, allocations: 27.72 kB / 0.4925 GB, free: 20.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/0.556, allocations: 151.7 kB / 0.4926 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00557/0.5616, allocations: 2.644 MB / 0.4952 GB, free: 20.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0285/0.5901, allocations: 10.99 MB / 0.5059 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07996/0.6701, allocations: 37.57 MB / 0.5426 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/0.6794, allocations: 4.408 MB / 0.5469 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/0.6829, allocations: 2.164 MB / 0.549 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.6843, allocations: 1.315 MB / 0.5503 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.6844, allocations: 52.56 kB / 0.5504 GB, free: 14.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 7.113e-06/0.6844, allocations: 0 / 0.5504 GB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.04536/0.7297, allocations: 13.85 MB / 0.5639 GB, free: 468 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.7299, allocations: 77.39 kB / 0.564 GB, free: 376 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006855/0.7367, allocations: 2.989 MB / 0.5669 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007349/0.7375, allocations: 68.38 kB / 0.567 GB, free: 13.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00294/0.7404, allocations: 3.111 MB / 0.57 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001583/0.7421, allocations: 0.9715 MB / 0.571 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003278/0.7453, allocations: 1.205 MB / 0.5721 GB, free: 8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7455, allocations: 305.1 kB / 0.5724 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/0.7497, allocations: 2.401 MB / 0.5748 GB, free: 5.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006937/0.7566, allocations: 5.709 MB / 0.5803 GB, free: 13.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.7687, allocations: 8.891 MB / 0.589 GB, free: 3.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/0.7689, allocations: 36 kB / 0.5891 GB, free: 3.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02053/0.7894, allocations: 8.812 MB / 0.5977 GB, free: 10.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.7898, allocations: 52 kB / 0.5977 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002883/0.7901, allocations: 119.9 kB / 0.5978 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004231/0.7943, allocations: 1.048 MB / 0.5989 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006182/0.8005, allocations: 1.38 MB / 0.6002 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.8045, allocations: 2.616 MB / 0.6028 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00612/0.8107, allocations: 311.8 kB / 0.6031 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/0.8125, allocations: 354.5 kB / 0.6034 GB, free: 4.621 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (748): * Single equations (assignments): 739 * 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.008008/0.8205, allocations: 2.376 MB / 0.6057 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/0.8217, allocations: 304 kB / 0.606 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/0.8345, allocations: 5.095 MB / 0.611 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001433/0.8347, allocations: 46.25 kB / 0.611 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.8347, allocations: 4 kB / 0.611 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-05/0.8348, allocations: 11.97 kB / 0.611 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02762/0.8624, allocations: 11.79 MB / 0.6225 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.8624, allocations: 8.938 kB / 0.6226 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.8645, allocations: 427.3 kB / 0.623 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2283/1.093, allocations: 0.9066 MB / 0.6238 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000651/1.094, allocations: 57.47 kB / 0.6239 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/1.096, allocations: 2.413 MB / 0.6263 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.096, allocations: 13.06 kB / 0.6263 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/1.106, allocations: 7.551 MB / 0.6336 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/1.107, allocations: 337 kB / 0.634 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/1.107, allocations: 54.05 kB / 0.634 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.109, allocations: 140 kB / 0.6341 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/1.109, allocations: 159.5 kB / 0.6343 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.109, allocations: 78.72 kB / 0.6344 GB, free: 143.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002378/1.112, allocations: 1.837 MB / 0.6362 GB, free: 142.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.112, allocations: 0 / 0.6362 GB, free: 142.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003824/1.115, allocations: 1.043 MB / 0.6372 GB, free: 142.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.0003855/1.116, allocations: 201.8 kB / 0.6374 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01801/1.134, allocations: 10.53 MB / 0.6477 GB, free: 140.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.134, allocations: 3.531 kB / 0.6477 GB, free: 140.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/1.138, allocations: 2.61 MB / 0.6502 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/1.141, allocations: 0.5214 MB / 0.6507 GB, free: 138.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/1.161, allocations: 11.41 MB / 0.6619 GB, free: 133.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004249/1.166, allocations: 3.66 MB / 0.6654 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005299/1.171, allocations: 2.148 MB / 0.6675 GB, free: 132.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/1.172, allocations: 248 kB / 0.6678 GB, free: 132.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/1.172, allocations: 0 / 0.6678 GB, free: 132.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05412/1.226, allocations: 35.88 MB / 0.7028 GB, free: 103.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)