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.001422/0.001422, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.582/1.582, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001652/0.001652, allocations: 115.9 kB / 252.6 MB, free: 4.848 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.2216/0.2216, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.727e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5113/0.6437, allocations: 97.14 MB / 0.5393 GB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.644, allocations: 73.22 kB / 0.5394 GB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08933/0.7334, allocations: 33.26 MB / 0.5719 GB, free: 13.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7334, allocations: 0 / 0.5719 GB, free: 13.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.755e-05/0.7335, allocations: 32 kB / 0.5719 GB, free: 13.6 MB / 394.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.003845/0.7374, allocations: 1.65 MB / 0.5735 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.7374, allocations: 8.031 kB / 0.5735 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.7394, allocations: 399.1 kB / 0.5739 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008213/0.7477, allocations: 2.902 MB / 0.5768 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.776e-05/0.7478, allocations: 106.9 kB / 0.5769 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.7481, allocations: 145.1 kB / 0.577 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005671/0.7538, allocations: 2.89 MB / 0.5798 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/0.7539, allocations: 19.77 kB / 0.5798 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.754, allocations: 66.67 kB / 0.5799 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005032/0.7545, allocations: 256.8 kB / 0.5801 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/0.7589, allocations: 2.079 MB / 0.5822 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.7723, allocations: 11.26 MB / 0.5932 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.7758, allocations: 1.063 MB / 0.5942 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.7764, allocations: 364.7 kB / 0.5946 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003617/0.78, allocations: 2.637 MB / 0.5971 GB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.7801, allocations: 38.72 kB / 0.5972 GB, free: 6.684 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.417e-06/0.7801, allocations: 4 kB / 0.5972 GB, free: 6.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.01014/0.7902, allocations: 3.159 MB / 0.6003 GB, free: 3.418 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.7904, allocations: 85.55 kB / 0.6003 GB, free: 3.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.792, allocations: 1.04 MB / 0.6014 GB, free: 2.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.7921, allocations: 37.7 kB / 0.6014 GB, free: 2.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007057/0.7928, allocations: 0.9199 MB / 0.6023 GB, free: 1.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.793, allocations: 193.5 kB / 0.6025 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.793, allocations: 28 kB / 0.6025 GB, free: 1.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.7932, allocations: 369.9 kB / 0.6029 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.7938, allocations: 367.9 kB / 0.6032 GB, free: 348 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.7951, allocations: 1.199 MB / 0.6044 GB, free: 14.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.796, allocations: 0.6454 MB / 0.605 GB, free: 14.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.796, allocations: 8 kB / 0.605 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00244/0.7984, allocations: 1.616 MB / 0.6066 GB, free: 12.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.7985, allocations: 20 kB / 0.6066 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/0.7986, allocations: 32 kB / 0.6066 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.7988, allocations: 92.77 kB / 0.6067 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.7998, allocations: 343.4 kB / 0.6071 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.8014, allocations: 1.709 MB / 0.6087 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009299/0.8024, allocations: 67.89 kB / 0.6088 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8025, allocations: 84 kB / 0.6089 GB, free: 9.977 MB / 426.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.0002531/0.8028, allocations: 230.5 kB / 0.6091 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.8029, allocations: 110.6 kB / 0.6092 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.8042, allocations: 0.6447 MB / 0.6098 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.8042, allocations: 8.094 kB / 0.6098 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.8042, allocations: 4 kB / 0.6098 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.8042, allocations: 7.969 kB / 0.6098 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.8078, allocations: 2.138 MB / 0.6119 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.8078, allocations: 7.953 kB / 0.6119 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.8082, allocations: 91.83 kB / 0.612 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.8084, allocations: 56.83 kB / 0.6121 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.8085, allocations: 19.92 kB / 0.6121 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.8101, allocations: 1.734 MB / 0.6138 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.8101, allocations: 7.938 kB / 0.6138 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.8116, allocations: 1.171 MB / 0.6149 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.812, allocations: 219.5 kB / 0.6152 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.8121, allocations: 16 kB / 0.6152 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.8124, allocations: 19.98 kB / 0.6152 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.8125, allocations: 51.91 kB / 0.6152 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.8126, allocations: 20.06 kB / 0.6153 GB, free: 3.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001058/0.8136, allocations: 0.7372 MB / 0.616 GB, free: 2.273 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8136, allocations: 0 / 0.616 GB, free: 2.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001526/0.8152, allocations: 299.9 kB / 0.6163 GB, free: 1.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * 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.0003056/0.8155, allocations: 136.3 kB / 0.6164 GB, free: 1.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.8172, allocations: 1.014 MB / 0.6174 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.8172, allocations: 0 / 0.6174 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.8177, allocations: 372.6 kB / 0.6177 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.8185, allocations: 160.7 kB / 0.6179 GB, free: 292 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.8222, allocations: 2.102 MB / 0.6199 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.8234, allocations: 1.461 MB / 0.6214 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001014/0.8245, allocations: 393.4 kB / 0.6217 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.8246, allocations: 79.42 kB / 0.6218 GB, free: 12.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.8246, allocations: 0 / 0.6218 GB, free: 12.15 MB / 442.7 MB Notification: Performance of Templates: time 0.0202/0.8449, allocations: 9.464 MB / 0.6311 GB, free: 2.703 MB / 442.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)