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.001358/0.001358, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00136/0.00136, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.716/1.716, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.4239/0.4239, allocations: 37.98 MB / 307.4 MB, free: 10.03 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.001414/0.001414, allocations: 64.53 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1485, allocations: 56.47 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3045/0.4531, allocations: 26.15 MB / 457.4 MB, free: 34.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.4681, allocations: 6.284 MB / 463.6 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006768/0.4749, allocations: 105 kB / 463.7 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.4777, allocations: 1.32 MB / 465.1 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.4809, allocations: 0.8672 MB / 465.9 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.4822, allocations: 496.4 kB / 466.4 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002229/0.4844, allocations: 1.684 MB / 468.1 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.4861, allocations: 1.74 MB / 469.8 MB, free: 32.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008845/0.487, allocations: 0.6889 MB / 470.5 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009049/0.4879, allocations: 0.9698 MB / 471.5 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.4881, allocations: 143.2 kB / 471.6 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.4893, allocations: 0.6042 MB / 472.2 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006127/0.4899, allocations: 0.734 MB / 473 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007341/0.4907, allocations: 0.8396 MB / 473.8 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.4934, allocations: 2.471 MB / 476.3 MB, free: 30.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4934, allocations: 0 / 476.3 MB, free: 30.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4934, allocations: 7.938 kB / 476.3 MB, free: 30.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.4934, allocations: 3.062 kB / 476.3 MB, free: 30.29 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.003453/0.4969, allocations: 2.003 MB / 478.3 MB, free: 29.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.088e-05/0.497, allocations: 13.39 kB / 478.3 MB, free: 29.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.4981, allocations: 271.6 kB / 478.6 MB, free: 29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.5001, allocations: 1.117 MB / 479.7 MB, free: 28.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.5002, allocations: 93.58 kB / 479.8 MB, free: 28.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.5004, allocations: 130.8 kB / 479.9 MB, free: 28.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/0.5051, allocations: 2.986 MB / 482.9 MB, free: 26.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.5052, allocations: 13.19 kB / 482.9 MB, free: 26.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.5053, allocations: 60.14 kB / 483 MB, free: 26.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005828/0.5059, allocations: 431 kB / 483.4 MB, free: 26.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.5101, allocations: 2.163 MB / 485.6 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.5219, allocations: 10.73 MB / 496.3 MB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.5258, allocations: 1.232 MB / 497.5 MB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.5264, allocations: 410 kB / 497.9 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004002/0.5304, allocations: 3.004 MB / 0.4892 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5305, allocations: 37.78 kB / 0.4892 GB, free: 16.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.564e-06/0.5305, allocations: 0 / 0.4892 GB, free: 16.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01185/0.5424, allocations: 3.77 MB / 0.4929 GB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.5425, allocations: 84.61 kB / 0.493 GB, free: 14.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.5444, allocations: 1.198 MB / 0.4942 GB, free: 14.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.5445, allocations: 36.05 kB / 0.4942 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006223/0.5451, allocations: 0.9438 MB / 0.4951 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.5453, allocations: 218.2 kB / 0.4953 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/0.5457, allocations: 320.4 kB / 0.4956 GB, free: 13.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.5458, allocations: 309.1 kB / 0.4959 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/0.5464, allocations: 414.5 kB / 0.4963 GB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.5476, allocations: 1.251 MB / 0.4975 GB, free: 11.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.5496, allocations: 1.811 MB / 0.4993 GB, free: 9.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.5497, allocations: 8.438 kB / 0.4993 GB, free: 9.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003231/0.5529, allocations: 1.727 MB / 0.501 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.553, allocations: 18.39 kB / 0.501 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.115e-05/0.553, allocations: 29.75 kB / 0.501 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.5533, allocations: 95.23 kB / 0.5011 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5544, allocations: 356.6 kB / 0.5015 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.556, allocations: 1.88 MB / 0.5033 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.5572, allocations: 66.08 kB / 0.5034 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.5573, allocations: 89.62 kB / 0.5035 GB, free: 7.418 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.001074/0.5584, allocations: 0.6457 MB / 0.5041 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.5587, allocations: 115.3 kB / 0.5042 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.56, allocations: 0.7186 MB / 0.5049 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.56, allocations: 6.344 kB / 0.5049 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5601, allocations: 1.594 kB / 0.5049 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5601, allocations: 2.484 kB / 0.5049 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.5643, allocations: 2.239 MB / 0.5071 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.5644, allocations: 2.844 kB / 0.5071 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.5647, allocations: 97.16 kB / 0.5072 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.5649, allocations: 75.56 kB / 0.5073 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.565, allocations: 18.69 kB / 0.5073 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.5663, allocations: 1.928 MB / 0.5092 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5663, allocations: 12.38 kB / 0.5092 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.568, allocations: 1.099 MB / 0.5103 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.5685, allocations: 212.8 kB / 0.5105 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.5686, allocations: 18.52 kB / 0.5105 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.569, allocations: 27.12 kB / 0.5105 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5691, allocations: 53.83 kB / 0.5105 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.5692, allocations: 19.12 kB / 0.5106 GB, free: 3.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.5704, allocations: 0.7679 MB / 0.5113 GB, free: 2.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5704, allocations: 0 / 0.5113 GB, free: 2.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001821/0.5722, allocations: 298.9 kB / 0.5116 GB, free: 2.676 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.0002638/0.5725, allocations: 136.5 kB / 0.5117 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.5746, allocations: 1.204 MB / 0.5129 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5746, allocations: 0 / 0.5129 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.5752, allocations: 411.1 kB / 0.5133 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5762, allocations: 190.1 kB / 0.5135 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.5825, allocations: 3.516 MB / 0.5169 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.5841, allocations: 1.451 MB / 0.5183 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001304/0.5854, allocations: 409.9 kB / 0.5187 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5855, allocations: 75.44 kB / 0.5188 GB, free: 13.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5856, allocations: 0 / 0.5188 GB, free: 13.34 MB / 398.1 MB Notification: Performance of Templates: time 0.02072/0.6063, allocations: 10.47 MB / 0.529 GB, free: 2.941 MB / 398.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)