Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01192/0.01192, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.002578/0.002578, allocations: 192.8 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.743/1.743, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.3862/0.3862, allocations: 38 MB / 307.9 MB, free: 10.35 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.001684/0.001684, allocations: 75.89 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3422, allocations: 56.47 MB / 489.5 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01022/0.3525, allocations: 8.672 MB / 498.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.3601, allocations: 3.452 MB / 0.4898 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.362, allocations: 50.31 kB / 0.4899 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.3648, allocations: 1.369 MB / 0.4912 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.3675, allocations: 0.9578 MB / 0.4922 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.3688, allocations: 0.5306 MB / 0.4927 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.3713, allocations: 1.693 MB / 0.4943 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.3732, allocations: 1.667 MB / 0.496 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3743, allocations: 0.6736 MB / 0.4966 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.3755, allocations: 0.8893 MB / 0.4975 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.3758, allocations: 138.6 kB / 0.4976 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.3769, allocations: 0.6023 MB / 0.4982 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006193/0.3776, allocations: 0.746 MB / 0.4989 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000695/0.3783, allocations: 0.8323 MB / 0.4998 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.3807, allocations: 2.49 MB / 0.5022 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3807, allocations: 1.031 kB / 0.5022 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3807, allocations: 0 / 0.5022 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.3807, allocations: 0 / 0.5022 GB, free: 5.508 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003236/0.384, allocations: 2.019 MB / 0.5042 GB, free: 4.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.384, allocations: 13.17 kB / 0.5042 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.385, allocations: 268.8 kB / 0.5044 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.3868, allocations: 1.138 MB / 0.5055 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.3869, allocations: 96.2 kB / 0.5056 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.3871, allocations: 124.4 kB / 0.5057 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/0.3918, allocations: 2.985 MB / 0.5087 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.3919, allocations: 13.5 kB / 0.5087 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.392, allocations: 55.5 kB / 0.5087 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005615/0.3926, allocations: 440.1 kB / 0.5091 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.3969, allocations: 2.162 MB / 0.5113 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.4131, allocations: 10.7 MB / 0.5217 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/0.4171, allocations: 1.23 MB / 0.5229 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.4178, allocations: 411.2 kB / 0.5233 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004231/0.422, allocations: 2.997 MB / 0.5262 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.4221, allocations: 39 kB / 0.5263 GB, free: 1.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 2.525e-06/0.4221, allocations: 0 / 0.5263 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01117/0.4333, allocations: 3.776 MB / 0.53 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.4334, allocations: 85.67 kB / 0.53 GB, free: 13.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.4354, allocations: 1.198 MB / 0.5312 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.4354, allocations: 37.7 kB / 0.5312 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/0.4362, allocations: 0.9395 MB / 0.5322 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.4364, allocations: 217.1 kB / 0.5324 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004487/0.4368, allocations: 311.2 kB / 0.5327 GB, free: 10.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.437, allocations: 309.1 kB / 0.533 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.4377, allocations: 419.7 kB / 0.5334 GB, free: 9.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.4388, allocations: 1.254 MB / 0.5346 GB, free: 8.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.4409, allocations: 1.802 MB / 0.5363 GB, free: 5.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/0.441, allocations: 8 kB / 0.5364 GB, free: 5.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002814/0.4438, allocations: 1.73 MB / 0.538 GB, free: 4.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.4438, allocations: 16 kB / 0.5381 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/0.4439, allocations: 32.84 kB / 0.5381 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.4441, allocations: 92.77 kB / 0.5382 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.4452, allocations: 359.4 kB / 0.5385 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.447, allocations: 1.877 MB / 0.5404 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.4481, allocations: 67.98 kB / 0.5404 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.4483, allocations: 84 kB / 0.5405 GB, free: 1.586 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.4494, allocations: 0.644 MB / 0.5411 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.4496, allocations: 114.5 kB / 0.5412 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.4508, allocations: 0.7145 MB / 0.5419 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4508, allocations: 8 kB / 0.5419 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4509, allocations: 0 / 0.5419 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4509, allocations: 7.922 kB / 0.5419 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.4546, allocations: 2.236 MB / 0.5441 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4546, allocations: 4 kB / 0.5441 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.455, allocations: 95.92 kB / 0.5442 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.4552, allocations: 64.75 kB / 0.5443 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.4552, allocations: 19.94 kB / 0.5443 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.4568, allocations: 1.94 MB / 0.5462 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4569, allocations: 7.938 kB / 0.5462 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.4583, allocations: 1.096 MB / 0.5473 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.4588, allocations: 219.6 kB / 0.5475 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.459, allocations: 19.98 kB / 0.5475 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.4594, allocations: 19.98 kB / 0.5475 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.4595, allocations: 51.83 kB / 0.5476 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.4595, allocations: 20.06 kB / 0.5476 GB, free: 9.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.4606, allocations: 0.7715 MB / 0.5483 GB, free: 9.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4606, allocations: 0 / 0.5483 GB, free: 9.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001518/0.4621, allocations: 304 kB / 0.5486 GB, free: 8.891 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002706/0.4624, allocations: 139 kB / 0.5488 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.4642, allocations: 1.1 MB / 0.5498 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4642, allocations: 0 / 0.5498 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.4648, allocations: 416.5 kB / 0.5502 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4658, allocations: 189.5 kB / 0.5504 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.4708, allocations: 2.825 MB / 0.5532 GB, free: 4.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.4723, allocations: 1.455 MB / 0.5546 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009829/0.4733, allocations: 417.6 kB / 0.555 GB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.4735, allocations: 75.44 kB / 0.5551 GB, free: 2.152 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4735, allocations: 3.938 kB / 0.5551 GB, free: 2.148 MB / 430.1 MB Notification: Performance of Templates: time 0.02479/0.4983, allocations: 10.85 MB / 0.5657 GB, free: 7.305 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)