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.001586/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001877/0.001878, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.713/1.713, allocations: 205.1 MB / 222 MB, free: 4.734 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.3873/0.3873, allocations: 37.97 MB / 307.3 MB, free: 10.12 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.001756/0.001756, allocations: 63.91 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1661, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3535/0.5196, allocations: 26.15 MB / 457.2 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.538, allocations: 6.374 MB / 463.5 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007979/0.546, allocations: 110.1 kB / 463.7 MB, free: 34.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.5491, allocations: 1.373 MB / 465 MB, free: 34.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.5521, allocations: 0.8615 MB / 465.9 MB, free: 33.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.5534, allocations: 479.2 kB / 466.4 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002796/0.5562, allocations: 2.317 MB / 468.7 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.5581, allocations: 1.643 MB / 470.3 MB, free: 32.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009741/0.5591, allocations: 0.6177 MB / 470.9 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.5603, allocations: 0.9451 MB / 471.9 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.5605, allocations: 106 kB / 472 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5617, allocations: 0.6017 MB / 472.6 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006032/0.5623, allocations: 0.7054 MB / 473.3 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.563, allocations: 0.7964 MB / 474.1 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.565, allocations: 2.429 MB / 476.5 MB, free: 30.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.565, allocations: 0 / 476.5 MB, free: 30.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5651, allocations: 2.969 kB / 476.5 MB, free: 30.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.5651, allocations: 0 / 476.5 MB, free: 30.26 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.003626/0.5687, allocations: 2.001 MB / 478.5 MB, free: 29.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.5688, allocations: 9.656 kB / 478.5 MB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.57, allocations: 263.7 kB / 478.8 MB, free: 28.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.5721, allocations: 1.115 MB / 479.9 MB, free: 28.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.5723, allocations: 96.75 kB / 480 MB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.5725, allocations: 127.4 kB / 480.1 MB, free: 28.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/0.5776, allocations: 2.982 MB / 483.1 MB, free: 26.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.5777, allocations: 13.91 kB / 483.1 MB, free: 26.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.5778, allocations: 62.5 kB / 483.2 MB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007094/0.5786, allocations: 434.5 kB / 483.6 MB, free: 26.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005015/0.5836, allocations: 2.161 MB / 485.8 MB, free: 26.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/0.5996, allocations: 10.74 MB / 496.5 MB, free: 19.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.6038, allocations: 1.233 MB / 497.7 MB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.6045, allocations: 409.7 kB / 498.1 MB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004997/0.6096, allocations: 2.994 MB / 0.4894 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.6096, allocations: 42.67 kB / 0.4894 GB, free: 16.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.948e-06/0.6097, allocations: 3.938 kB / 0.4894 GB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01375/0.6234, allocations: 3.775 MB / 0.4931 GB, free: 14.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.6236, allocations: 87.61 kB / 0.4932 GB, free: 14.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/0.6271, allocations: 1.199 MB / 0.4944 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.6272, allocations: 34.92 kB / 0.4944 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.6282, allocations: 0.9479 MB / 0.4953 GB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.6285, allocations: 218 kB / 0.4955 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005311/0.629, allocations: 316.6 kB / 0.4958 GB, free: 13.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.6291, allocations: 306.4 kB / 0.4961 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/0.63, allocations: 413.7 kB / 0.4965 GB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.6314, allocations: 1.254 MB / 0.4977 GB, free: 11.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.6336, allocations: 1.805 MB / 0.4995 GB, free: 9.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.6337, allocations: 8.969 kB / 0.4995 GB, free: 9.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003265/0.6369, allocations: 1.734 MB / 0.5012 GB, free: 9.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.637, allocations: 18.69 kB / 0.5012 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/0.637, allocations: 29.41 kB / 0.5013 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/0.6373, allocations: 86.97 kB / 0.5013 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.6385, allocations: 361.4 kB / 0.5017 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.64, allocations: 1.689 MB / 0.5033 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6411, allocations: 66.22 kB / 0.5034 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.6412, allocations: 93.22 kB / 0.5035 GB, free: 7.574 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.001229/0.6425, allocations: 0.6368 MB / 0.5041 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.6427, allocations: 119.2 kB / 0.5042 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.6442, allocations: 0.7086 MB / 0.5049 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6442, allocations: 5.469 kB / 0.5049 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6442, allocations: 1.125 kB / 0.5049 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6442, allocations: 7.844 kB / 0.5049 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.6481, allocations: 2.244 MB / 0.5071 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/0.6482, allocations: 2.656 kB / 0.5071 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.6486, allocations: 97.05 kB / 0.5072 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/0.6488, allocations: 67.83 kB / 0.5073 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.6488, allocations: 20.06 kB / 0.5073 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.6501, allocations: 1.754 MB / 0.509 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6501, allocations: 5 kB / 0.509 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.6516, allocations: 1.098 MB / 0.5101 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.652, allocations: 215.9 kB / 0.5103 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.6521, allocations: 22.36 kB / 0.5103 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.6524, allocations: 25.58 kB / 0.5103 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.6525, allocations: 50.59 kB / 0.5104 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.6526, allocations: 19.34 kB / 0.5104 GB, free: 3.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.6536, allocations: 0.7685 MB / 0.5112 GB, free: 2.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6537, allocations: 0 / 0.5112 GB, free: 2.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001702/0.6554, allocations: 307.4 kB / 0.5115 GB, free: 2.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 (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.0002432/0.6556, allocations: 130.8 kB / 0.5116 GB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.6573, allocations: 1.101 MB / 0.5127 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6573, allocations: 0 / 0.5127 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.6578, allocations: 396.7 kB / 0.513 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/0.6588, allocations: 174.3 kB / 0.5132 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.6634, allocations: 3.521 MB / 0.5166 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.6646, allocations: 1.455 MB / 0.5181 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.6657, allocations: 413.9 kB / 0.5184 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.6658, allocations: 79.42 kB / 0.5185 GB, free: 13.43 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6658, allocations: 0 / 0.5185 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Templates: time 0.02051/0.6864, allocations: 10.06 MB / 0.5283 GB, free: 3.441 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)