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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001401/0.001401, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.404/1.404, allocations: 170.7 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001814/0.001814, allocations: 111.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1986/0.1986, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.676e-05, allocations: 2.75 kB / 350 MB, free: 36.97 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.5566, allocations: 89.77 MB / 488.5 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.557, allocations: 78.47 kB / 488.6 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0821/0.6391, allocations: 32.58 MB / 0.5089 GB, free: 7.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6392, allocations: 3.984 kB / 0.5089 GB, free: 7.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.429e-05/0.6392, allocations: 34.88 kB / 0.509 GB, free: 7.848 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003098/0.6424, allocations: 1.644 MB / 0.5106 GB, free: 6.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6424, allocations: 11.25 kB / 0.5106 GB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.6441, allocations: 405.4 kB / 0.511 GB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006714/0.6508, allocations: 2.901 MB / 0.5138 GB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.6509, allocations: 46.25 kB / 0.5139 GB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.6511, allocations: 88.5 kB / 0.5139 GB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002396/0.6535, allocations: 1.714 MB / 0.5156 GB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.6563, allocations: 2.427 MB / 0.518 GB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.6564, allocations: 11.81 kB / 0.518 GB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6565, allocations: 7.906 kB / 0.518 GB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004099/0.6569, allocations: 262.9 kB / 0.5183 GB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.6692, allocations: 11.62 MB / 0.5296 GB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.6699, allocations: 482.5 kB / 0.5301 GB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.6704, allocations: 307.8 kB / 0.5304 GB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.6708, allocations: 342.1 kB / 0.5307 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.6709, allocations: 42.19 kB / 0.5307 GB, free: 9.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 4.087e-06/0.6709, allocations: 0 / 0.5307 GB, free: 9.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.008701/0.6796, allocations: 2.879 MB / 0.5335 GB, free: 6.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6798, allocations: 115.3 kB / 0.5336 GB, free: 6.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.682, allocations: 0.9188 MB / 0.5345 GB, free: 5.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.6821, allocations: 25.7 kB / 0.5346 GB, free: 5.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009824/0.6831, allocations: 0.9226 MB / 0.5355 GB, free: 5.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.6833, allocations: 188.7 kB / 0.5356 GB, free: 4.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.6834, allocations: 0 / 0.5356 GB, free: 4.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003117/0.6837, allocations: 421 kB / 0.5361 GB, free: 4.566 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.6844, allocations: 348.7 kB / 0.5364 GB, free: 4.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.686, allocations: 1.152 MB / 0.5375 GB, free: 2.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.6872, allocations: 0.6066 MB / 0.5381 GB, free: 2.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/0.6872, allocations: 8 kB / 0.5381 GB, free: 2.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002873/0.6901, allocations: 1.417 MB / 0.5395 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.6901, allocations: 16 kB / 0.5395 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.954e-05/0.6902, allocations: 32 kB / 0.5395 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.6905, allocations: 88.83 kB / 0.5396 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.6917, allocations: 351.3 kB / 0.54 GB, free: 176 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.6935, allocations: 1.637 MB / 0.5416 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6946, allocations: 35.98 kB / 0.5416 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.6948, allocations: 87.98 kB / 0.5417 GB, free: 14.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * 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.0003142/0.6951, allocations: 198.6 kB / 0.5419 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.6954, allocations: 102.7 kB / 0.542 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.6969, allocations: 0.6207 MB / 0.5426 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6969, allocations: 8 kB / 0.5426 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.6969, allocations: 0 / 0.5426 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6969, allocations: 0 / 0.5426 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/0.7017, allocations: 1.843 MB / 0.5444 GB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.7018, allocations: 8 kB / 0.5444 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.7023, allocations: 99.81 kB / 0.5445 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.7025, allocations: 61.3 kB / 0.5445 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.7026, allocations: 7.953 kB / 0.5445 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.7046, allocations: 1.666 MB / 0.5462 GB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.7046, allocations: 4 kB / 0.5462 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.7063, allocations: 1.144 MB / 0.5473 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/0.7069, allocations: 207.8 kB / 0.5475 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.7071, allocations: 11.98 kB / 0.5475 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.7077, allocations: 19.98 kB / 0.5475 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7078, allocations: 47.84 kB / 0.5476 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.7078, allocations: 20 kB / 0.5476 GB, free: 7.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.7091, allocations: 0.6323 MB / 0.5482 GB, free: 7.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7091, allocations: 4 kB / 0.5482 GB, free: 7.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001884/0.711, allocations: 260 kB / 0.5485 GB, free: 6.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.00033/0.7113, allocations: 119.1 kB / 0.5486 GB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.7132, allocations: 0.925 MB / 0.5495 GB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7132, allocations: 4.25 kB / 0.5495 GB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.7137, allocations: 353.3 kB / 0.5498 GB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.7147, allocations: 144.3 kB / 0.5499 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.7196, allocations: 2.07 MB / 0.552 GB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.7215, allocations: 1.457 MB / 0.5534 GB, free: 1.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001184/0.7226, allocations: 389 kB / 0.5538 GB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.7229, allocations: 83.42 kB / 0.5538 GB, free: 1.297 MB / 362.7 MB Notification: Performance of SimCode: time 2.975e-06/0.7229, allocations: 0 / 0.5538 GB, free: 1.297 MB / 362.7 MB Notification: Performance of Templates: time 0.02025/0.7431, allocations: 8.213 MB / 0.5619 GB, free: 9.125 MB / 378.7 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)