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.0008138/0.0008141, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005477/0.005478, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.468/1.468, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3199/0.3199, allocations: 38.03 MB / 308.8 MB, free: 10.38 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.0005872/0.0005872, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1301, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2327/0.3629, allocations: 25.33 MB / 459.9 MB, free: 33.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.3788, allocations: 6.324 MB / 466.2 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005437/0.3843, allocations: 106.7 kB / 466.3 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008146/0.3851, allocations: 170.5 kB / 466.5 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.3878, allocations: 0.8636 MB / 467.3 MB, free: 32.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3888, allocations: 483.5 kB / 467.8 MB, free: 32.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002279/0.3911, allocations: 2.315 MB / 470.1 MB, free: 32.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.394, allocations: 2.296 MB / 472.4 MB, free: 32.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009253/0.395, allocations: 0.4995 MB / 472.9 MB, free: 31.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.3962, allocations: 0.7978 MB / 473.7 MB, free: 31.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.3965, allocations: 53.69 kB / 473.8 MB, free: 31.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.3977, allocations: 0.5583 MB / 474.3 MB, free: 31.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007099/0.3984, allocations: 0.629 MB / 475 MB, free: 31.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.3997, allocations: 0.7378 MB / 475.7 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.4029, allocations: 2.348 MB / 478.1 MB, free: 30.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4029, allocations: 3.938 kB / 478.1 MB, free: 30.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4029, allocations: 0 / 478.1 MB, free: 30.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.76e-05/0.403, allocations: 0 / 478.1 MB, free: 30.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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003759/0.4067, allocations: 1.704 MB / 479.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.4068, allocations: 12.84 kB / 479.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.4079, allocations: 267.8 kB / 480 MB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.4097, allocations: 1.109 MB / 481.1 MB, free: 28.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.4098, allocations: 100.4 kB / 481.2 MB, free: 28.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.41, allocations: 121.2 kB / 481.4 MB, free: 28.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.4143, allocations: 3.001 MB / 484.4 MB, free: 27.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.4143, allocations: 18.16 kB / 484.4 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4145, allocations: 56.53 kB / 484.4 MB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004978/0.415, allocations: 439.2 kB / 484.9 MB, free: 27.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003816/0.4188, allocations: 2.173 MB / 487 MB, free: 26.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.4291, allocations: 10.74 MB / 497.8 MB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.433, allocations: 1.233 MB / 499 MB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/0.4336, allocations: 413.8 kB / 499.4 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003653/0.4373, allocations: 3.007 MB / 0.4906 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4373, allocations: 38.5 kB / 0.4907 GB, free: 16.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.484e-06/0.4373, allocations: 0 / 0.4907 GB, free: 16.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01191/0.4493, allocations: 3.772 MB / 0.4944 GB, free: 15.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4494, allocations: 83.88 kB / 0.4944 GB, free: 15.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.4513, allocations: 1.205 MB / 0.4956 GB, free: 14.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.4514, allocations: 32.36 kB / 0.4957 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007001/0.4521, allocations: 0.9418 MB / 0.4966 GB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.4523, allocations: 222.3 kB / 0.4968 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.4525, allocations: 146.3 kB / 0.4969 GB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.4526, allocations: 302.9 kB / 0.4972 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.4533, allocations: 418.5 kB / 0.4976 GB, free: 13.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4544, allocations: 1.257 MB / 0.4988 GB, free: 11.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.4561, allocations: 1.806 MB / 0.5006 GB, free: 10.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.4562, allocations: 13.31 kB / 0.5006 GB, free: 10.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002771/0.4589, allocations: 1.723 MB / 0.5023 GB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.459, allocations: 18.31 kB / 0.5023 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.109e-05/0.459, allocations: 29.25 kB / 0.5023 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.4593, allocations: 88.08 kB / 0.5024 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.4604, allocations: 363.1 kB / 0.5028 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.4618, allocations: 1.691 MB / 0.5044 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.4629, allocations: 74.19 kB / 0.5045 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.463, allocations: 85.12 kB / 0.5046 GB, free: 7.961 MB / 382.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.001216/0.4642, allocations: 0.6426 MB / 0.5052 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.4644, allocations: 114.9 kB / 0.5053 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.4656, allocations: 0.7095 MB / 0.506 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4656, allocations: 9.672 kB / 0.506 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4656, allocations: 8.172 kB / 0.506 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4656, allocations: 2.578 kB / 0.506 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/0.4689, allocations: 2.244 MB / 0.5082 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.469, allocations: 4 kB / 0.5082 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.4694, allocations: 98.39 kB / 0.5083 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.4696, allocations: 68.05 kB / 0.5084 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.4696, allocations: 13.31 kB / 0.5084 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.4708, allocations: 1.755 MB / 0.5101 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4709, allocations: 8.375 kB / 0.5101 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.4722, allocations: 1.1 MB / 0.5112 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.4725, allocations: 216.2 kB / 0.5114 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4726, allocations: 22.92 kB / 0.5114 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.473, allocations: 25.42 kB / 0.5114 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.4731, allocations: 52.67 kB / 0.5115 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.4731, allocations: 18.97 kB / 0.5115 GB, free: 3.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009251/0.474, allocations: 0.7674 MB / 0.5123 GB, free: 3.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.474, allocations: 1.375 kB / 0.5123 GB, free: 3.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00166/0.4757, allocations: 298.3 kB / 0.5125 GB, free: 3.027 MB / 382.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.0002629/0.476, allocations: 138.4 kB / 0.5127 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.4778, allocations: 1.095 MB / 0.5138 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4778, allocations: 1.625 kB / 0.5138 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.4783, allocations: 402.7 kB / 0.5141 GB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.4799, allocations: 178.2 kB / 0.5143 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.4844, allocations: 3.585 MB / 0.5178 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.4855, allocations: 1.46 MB / 0.5192 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009723/0.4865, allocations: 411.9 kB / 0.5196 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.4867, allocations: 79.42 kB / 0.5197 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4867, allocations: 0 / 0.5197 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.01977/0.5065, allocations: 9.979 MB / 0.5294 GB, free: 4.102 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: