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.001057/0.001057, allocations: 91.92 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.001062/0.001062, 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.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2991/0.2991, allocations: 38.02 MB / 308.4 MB, free: 10.43 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.0005128/0.0005129, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2406/0.3611, allocations: 23.6 MB / 457.6 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.3737, allocations: 5.971 MB / 463.5 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004743/0.3785, allocations: 107.1 kB / 463.6 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.3817, allocations: 1.03 MB / 464.7 MB, free: 32.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008796/0.3905, allocations: 3.311 MB / 468 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3922, allocations: 453 kB / 468.4 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.3945, allocations: 1.882 MB / 470.3 MB, free: 31.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.3971, allocations: 1.976 MB / 472.3 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000938/0.3981, allocations: 0.5228 MB / 472.8 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.3992, allocations: 0.7929 MB / 473.6 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.3995, allocations: 57.31 kB / 473.7 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.4006, allocations: 455.9 kB / 474.1 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007418/0.4013, allocations: 0.625 MB / 474.7 MB, free: 31.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.4018, allocations: 312 kB / 475 MB, free: 31.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.4035, allocations: 1.9 MB / 476.9 MB, free: 30.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4036, allocations: 0 / 476.9 MB, free: 30.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4036, allocations: 0 / 476.9 MB, free: 30.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.278e-05/0.4037, allocations: 7.938 kB / 476.9 MB, free: 30.91 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.003053/0.4067, allocations: 1.719 MB / 478.7 MB, free: 30.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4068, allocations: 9.094 kB / 478.7 MB, free: 30.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4079, allocations: 268.4 kB / 478.9 MB, free: 29.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.4097, allocations: 1.09 MB / 480 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.4097, allocations: 94.81 kB / 480.1 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.41, allocations: 125.8 kB / 480.2 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005064/0.4151, allocations: 2.986 MB / 483.2 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.4151, allocations: 14.56 kB / 483.2 MB, free: 28.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.4153, allocations: 57.23 kB / 483.3 MB, free: 28.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005117/0.4158, allocations: 436.7 kB / 483.7 MB, free: 28.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003911/0.4197, allocations: 2.164 MB / 485.9 MB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.4303, allocations: 10.73 MB / 496.6 MB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.4338, allocations: 1.236 MB / 497.8 MB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.4344, allocations: 410.9 kB / 498.2 MB, free: 21.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003089/0.4375, allocations: 2.997 MB / 0.4895 GB, free: 19.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4375, allocations: 38.45 kB / 0.4895 GB, free: 19.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.657e-06/0.4375, allocations: 0 / 0.4895 GB, free: 19.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.0106/0.4481, allocations: 3.773 MB / 0.4932 GB, free: 18.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4482, allocations: 84.41 kB / 0.4933 GB, free: 18.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.4505, allocations: 1.197 MB / 0.4945 GB, free: 17.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.4506, allocations: 36.39 kB / 0.4945 GB, free: 17.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/0.4512, allocations: 0.9449 MB / 0.4954 GB, free: 16.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.4514, allocations: 219.9 kB / 0.4956 GB, free: 16.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.4515, allocations: 33.72 kB / 0.4957 GB, free: 16.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4516, allocations: 373.6 kB / 0.496 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.4523, allocations: 406.7 kB / 0.4964 GB, free: 16.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.4533, allocations: 1.244 MB / 0.4976 GB, free: 15.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.4544, allocations: 0.6887 MB / 0.4983 GB, free: 14.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-05/0.4545, allocations: 8.375 kB / 0.4983 GB, free: 14.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002952/0.4574, allocations: 1.71 MB / 0.5 GB, free: 14.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.4575, allocations: 21.73 kB / 0.5 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/0.4575, allocations: 30.34 kB / 0.5 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.4578, allocations: 91.66 kB / 0.5001 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4589, allocations: 366.1 kB / 0.5005 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.4602, allocations: 1.688 MB / 0.5021 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/0.4611, allocations: 66.69 kB / 0.5022 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4612, allocations: 86.06 kB / 0.5023 GB, free: 12.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000941/0.4622, allocations: 0.6511 MB / 0.5029 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4623, allocations: 115.2 kB / 0.503 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.4635, allocations: 0.7074 MB / 0.5037 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4635, allocations: 6.25 kB / 0.5037 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4635, allocations: 1.375 kB / 0.5037 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4635, allocations: 3.984 kB / 0.5037 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.4669, allocations: 2.241 MB / 0.5059 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4669, allocations: 4.312 kB / 0.5059 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.4673, allocations: 101.9 kB / 0.506 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/0.4674, allocations: 68.91 kB / 0.5061 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.4675, allocations: 15.12 kB / 0.5061 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.4686, allocations: 1.742 MB / 0.5078 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4686, allocations: 16.67 kB / 0.5078 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.4698, allocations: 1.086 MB / 0.5088 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.4701, allocations: 221.9 kB / 0.5091 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/0.4702, allocations: 19.19 kB / 0.5091 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.4705, allocations: 26.7 kB / 0.5091 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.4706, allocations: 51.7 kB / 0.5092 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.4706, allocations: 18.41 kB / 0.5092 GB, free: 7.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000872/0.4715, allocations: 0.7608 MB / 0.5099 GB, free: 6.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4715, allocations: 0 / 0.5099 GB, free: 6.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001509/0.473, allocations: 299 kB / 0.5102 GB, free: 6.922 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002361/0.4733, allocations: 130.8 kB / 0.5103 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4749, allocations: 1.092 MB / 0.5114 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4749, allocations: 2.094 kB / 0.5114 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.4754, allocations: 407.4 kB / 0.5118 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.4762, allocations: 185.8 kB / 0.512 GB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.4801, allocations: 3.406 MB / 0.5153 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.4812, allocations: 1.448 MB / 0.5167 GB, free: 18.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009132/0.4821, allocations: 418.5 kB / 0.5171 GB, free: 18.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4822, allocations: 75.59 kB / 0.5172 GB, free: 18.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4822, allocations: 0 / 0.5172 GB, free: 18.32 MB / 398.1 MB Notification: Performance of Templates: time 0.0172/0.4994, allocations: 9.738 MB / 0.5267 GB, free: 9.195 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: