Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001436/0.001436, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.645/1.645, allocations: 194.3 MB / 202.4 MB, free: 8.477 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00163/0.001629, allocations: 109 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1965/0.1965, allocations: 39.93 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.521e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.4993, allocations: 96.47 MB / 0.5319 GB, free: 3.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4996, allocations: 71.28 kB / 0.532 GB, free: 3.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08496/0.5846, allocations: 32.6 MB / 0.5638 GB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5846, allocations: 0 / 0.5638 GB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.929e-05/0.5847, allocations: 32 kB / 0.5638 GB, free: 7.77 MB / 378.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.00482/0.5895, allocations: 1.649 MB / 0.5654 GB, free: 6.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5896, allocations: 12.03 kB / 0.5655 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.5917, allocations: 394.9 kB / 0.5658 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007415/0.5992, allocations: 2.905 MB / 0.5687 GB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.5993, allocations: 44 kB / 0.5687 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.5995, allocations: 80 kB / 0.5688 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002624/0.6021, allocations: 1.711 MB / 0.5705 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.6053, allocations: 2.436 MB / 0.5728 GB, free: 8 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/0.6054, allocations: 11.89 kB / 0.5728 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.6055, allocations: 8 kB / 0.5729 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004406/0.606, allocations: 266.9 kB / 0.5731 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.6184, allocations: 11.62 MB / 0.5845 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.6191, allocations: 486.3 kB / 0.5849 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.6195, allocations: 302.7 kB / 0.5852 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.6198, allocations: 339.2 kB / 0.5855 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.6199, allocations: 47.2 kB / 0.5856 GB, free: 4.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 2.795e-06/0.6199, allocations: 0 / 0.5856 GB, free: 4.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.00758/0.6275, allocations: 2.877 MB / 0.5884 GB, free: 1.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.6276, allocations: 115.2 kB / 0.5885 GB, free: 1.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.6288, allocations: 0.9177 MB / 0.5894 GB, free: 244 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.6288, allocations: 25.7 kB / 0.5894 GB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.6294, allocations: 0.9238 MB / 0.5903 GB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.6296, allocations: 193.4 kB / 0.5905 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.6296, allocations: 0 / 0.5905 GB, free: 15.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6299, allocations: 422.7 kB / 0.5909 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.6303, allocations: 347.9 kB / 0.5912 GB, free: 14.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/0.6313, allocations: 1.152 MB / 0.5924 GB, free: 12.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.632, allocations: 0.6027 MB / 0.593 GB, free: 12.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.632, allocations: 8 kB / 0.593 GB, free: 12.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002003/0.634, allocations: 1.413 MB / 0.5943 GB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.6341, allocations: 23.95 kB / 0.5944 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.6341, allocations: 28 kB / 0.5944 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.6343, allocations: 88.83 kB / 0.5945 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6354, allocations: 347.4 kB / 0.5948 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.6368, allocations: 1.64 MB / 0.5964 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.6376, allocations: 40.05 kB / 0.5964 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/0.6377, allocations: 87.98 kB / 0.5965 GB, free: 8.355 MB / 410.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.0002168/0.6379, allocations: 192.8 kB / 0.5967 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.6381, allocations: 110.6 kB / 0.5968 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.6392, allocations: 0.6168 MB / 0.5974 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6392, allocations: 7.938 kB / 0.5974 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6392, allocations: 3.953 kB / 0.5974 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6392, allocations: 7.984 kB / 0.5974 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.6419, allocations: 1.846 MB / 0.5992 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6419, allocations: 0 / 0.5992 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.6423, allocations: 96.34 kB / 0.5993 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.6425, allocations: 60.83 kB / 0.5994 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.6425, allocations: 8 kB / 0.5994 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.6439, allocations: 1.674 MB / 0.601 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6439, allocations: 8 kB / 0.601 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.6452, allocations: 1.14 MB / 0.6022 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.6455, allocations: 215.8 kB / 0.6024 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/0.6456, allocations: 7.984 kB / 0.6024 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.6459, allocations: 15.98 kB / 0.6024 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.646, allocations: 39.84 kB / 0.6024 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.646, allocations: 20 kB / 0.6024 GB, free: 1.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00087/0.6469, allocations: 0.6479 MB / 0.6031 GB, free: 1.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6469, allocations: 0 / 0.6031 GB, free: 1.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001415/0.6483, allocations: 256 kB / 0.6033 GB, free: 0.9805 MB / 410.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.0002497/0.6486, allocations: 116.3 kB / 0.6034 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.65, allocations: 0.933 MB / 0.6043 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.65, allocations: 0 / 0.6043 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.6504, allocations: 349.3 kB / 0.6047 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/0.6511, allocations: 141.5 kB / 0.6048 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.6546, allocations: 2.07 MB / 0.6068 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.6557, allocations: 1.461 MB / 0.6083 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009712/0.6567, allocations: 393 kB / 0.6086 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.6569, allocations: 71.42 kB / 0.6087 GB, free: 11.32 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6569, allocations: 0 / 0.6087 GB, free: 11.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01633/0.6732, allocations: 8.204 MB / 0.6167 GB, free: 3.16 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)