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.001382/0.001382, 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.001745/0.001745, allocations: 193.1 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.602/1.602, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3651/0.3651, allocations: 37.99 MB / 307.7 MB, free: 10.04 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.001605/0.001605, allocations: 79.88 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1567, allocations: 56.47 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.015/0.1718, allocations: 13.17 MB / 444.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.1844, allocations: 4.169 MB / 449.1 MB, free: 5.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004661/0.1891, allocations: 71.81 kB / 449.1 MB, free: 5.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00514/0.1944, allocations: 1.853 MB / 451 MB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006998/0.2014, allocations: 1.864 MB / 452.8 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.2036, allocations: 0.4912 MB / 453.3 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3632/0.5668, allocations: 3.9 MB / 457.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00494/0.5718, allocations: 2.929 MB / 460.2 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.5749, allocations: 1.404 MB / 461.6 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.5782, allocations: 1.97 MB / 463.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008457/0.5791, allocations: 303.7 kB / 463.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.5819, allocations: 1.117 MB / 464.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.5843, allocations: 1.853 MB / 466.8 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003111/0.5874, allocations: 2.196 MB / 469 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.5975, allocations: 7.024 MB / 476 MB, free: 31.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.5976, allocations: 3.094 kB / 476 MB, free: 31.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5976, allocations: 0 / 476 MB, free: 31.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003581/0.5979, allocations: 0 / 476 MB, free: 31.54 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.01411/0.6121, allocations: 4.889 MB / 480.9 MB, free: 28.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.6121, allocations: 13.58 kB / 480.9 MB, free: 28.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.624, allocations: 3.13 MB / 484.1 MB, free: 28.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/0.6317, allocations: 2.163 MB / 486.2 MB, free: 27.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.6321, allocations: 226 kB / 486.4 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.6336, allocations: 304 kB / 486.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0342/0.6678, allocations: 11.45 MB / 498.2 MB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004054/0.6683, allocations: 27.11 kB / 498.2 MB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003136/0.6715, allocations: 139.6 kB / 498.4 MB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007034/0.6785, allocations: 2.63 MB / 0.4892 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0291/0.7077, allocations: 10.7 MB / 0.4997 GB, free: 18.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07588/0.7836, allocations: 36.45 MB / 0.5353 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00999/0.7937, allocations: 4.407 MB / 0.5396 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/0.7979, allocations: 2.16 MB / 0.5417 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/0.7997, allocations: 1.309 MB / 0.543 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.287e-05/0.7998, allocations: 56.56 kB / 0.543 GB, free: 6.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=244): time 8.917e-06/0.7998, allocations: 4 kB / 0.543 GB, free: 6.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.04859/0.8484, allocations: 13.9 MB / 0.5566 GB, free: 8.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.8486, allocations: 80.41 kB / 0.5567 GB, free: 8.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007199/0.8558, allocations: 2.832 MB / 0.5595 GB, free: 5.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006344/0.8565, allocations: 57.7 kB / 0.5595 GB, free: 5.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00298/0.8595, allocations: 2.937 MB / 0.5624 GB, free: 2.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001838/0.8613, allocations: 0.9775 MB / 0.5633 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004295/0.8657, allocations: 1.161 MB / 0.5645 GB, free: 248 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.8659, allocations: 301.1 kB / 0.5648 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006029/0.872, allocations: 2.37 MB / 0.5671 GB, free: 13.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009851/0.8819, allocations: 5.541 MB / 0.5725 GB, free: 6.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/0.8969, allocations: 8.673 MB / 0.5809 GB, free: 12.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/0.8972, allocations: 35.98 kB / 0.581 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02176/0.9189, allocations: 8.63 MB / 0.5894 GB, free: 3.812 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.9192, allocations: 52 kB / 0.5895 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002962/0.9195, allocations: 115.3 kB / 0.5896 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004102/0.9237, allocations: 1.041 MB / 0.5906 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/0.9293, allocations: 1.341 MB / 0.5919 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.9328, allocations: 2.608 MB / 0.5944 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005172/0.938, allocations: 314.3 kB / 0.5947 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/0.9394, allocations: 344 kB / 0.5951 GB, free: 13.86 MB / 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 (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.007186/0.9466, allocations: 2.269 MB / 0.5973 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.9477, allocations: 284.2 kB / 0.5976 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.9596, allocations: 5.081 MB / 0.6025 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/0.9598, allocations: 44 kB / 0.6026 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/0.9598, allocations: 144 / 0.6026 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.619e-05/0.9599, allocations: 15.94 kB / 0.6026 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03049/0.9904, allocations: 11.59 MB / 0.6139 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/0.9905, allocations: 12.06 kB / 0.6139 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/0.993, allocations: 427.3 kB / 0.6143 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003778/0.9968, allocations: 0.9074 MB / 0.6152 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005981/0.9974, allocations: 55.97 kB / 0.6152 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/1.001, allocations: 2.413 MB / 0.6176 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/1.001, allocations: 15.94 kB / 0.6176 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3502/1.351, allocations: 7.528 MB / 0.625 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.352, allocations: 332 kB / 0.6253 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009932/1.353, allocations: 57.03 kB / 0.6253 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/1.355, allocations: 141.5 kB / 0.6255 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/1.355, allocations: 158.2 kB / 0.6256 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/1.355, allocations: 79.5 kB / 0.6257 GB, free: 145.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002832/1.358, allocations: 1.738 MB / 0.6274 GB, free: 145.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.358, allocations: 0 / 0.6274 GB, free: 145.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005316/1.363, allocations: 1.009 MB / 0.6284 GB, free: 145.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 (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.0007736/1.364, allocations: 195.8 kB / 0.6286 GB, free: 145.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02026/1.385, allocations: 10.45 MB / 0.6388 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/1.385, allocations: 0 / 0.6388 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005239/1.39, allocations: 2.611 MB / 0.6413 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/1.393, allocations: 463.5 kB / 0.6418 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.416, allocations: 10.97 MB / 0.6525 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006137/1.422, allocations: 3.51 MB / 0.6559 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007409/1.43, allocations: 2.09 MB / 0.658 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.431, allocations: 241.6 kB / 0.6582 GB, free: 136.1 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/1.431, allocations: 3.5 kB / 0.6582 GB, free: 136.1 MB / 494.1 MB Notification: Performance of Templates: time 0.07295/1.504, allocations: 33.99 MB / 0.6914 GB, free: 116.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (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)