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.01296/0.01296, allocations: 174.5 kB / 15.12 MB, free: 6.039 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.825/1.825, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001868/0.001868, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2192/0.2192, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003775, allocations: 16.34 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 54.88 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5539, allocations: 97.22 MB / 0.5452 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5542, allocations: 82.5 kB / 0.5452 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08651/0.6407, allocations: 33.28 MB / 0.5777 GB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6408, allocations: 0 / 0.5777 GB, free: 14.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.6409, allocations: 31.38 kB / 0.5778 GB, free: 14.15 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.006902/0.6478, allocations: 1.792 MB / 0.5795 GB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.6479, allocations: 7.656 kB / 0.5795 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.6506, allocations: 406.3 kB / 0.5799 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008432/0.6591, allocations: 2.914 MB / 0.5828 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.6593, allocations: 107.4 kB / 0.5829 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009027/0.6602, allocations: 142.3 kB / 0.583 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00764/0.6679, allocations: 2.9 MB / 0.5858 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.668, allocations: 27 kB / 0.5859 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003935/0.6684, allocations: 70.7 kB / 0.5859 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004536/0.6689, allocations: 259.3 kB / 0.5862 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005146/0.6741, allocations: 2.11 MB / 0.5882 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.6887, allocations: 11.28 MB / 0.5993 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.6919, allocations: 1.077 MB / 0.6003 GB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003875/0.6959, allocations: 2.639 MB / 0.6029 GB, free: 16.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.6959, allocations: 34.38 kB / 0.6029 GB, free: 16.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 2.766e-06/0.696, allocations: 3.906 kB / 0.6029 GB, free: 16.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01083/0.7068, allocations: 3.509 MB / 0.6063 GB, free: 15.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.7069, allocations: 85.42 kB / 0.6064 GB, free: 15.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.7093, allocations: 1.058 MB / 0.6075 GB, free: 14.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.873e-05/0.7094, allocations: 32.64 kB / 0.6075 GB, free: 14.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009177/0.7103, allocations: 0.9183 MB / 0.6084 GB, free: 14.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.7106, allocations: 203.1 kB / 0.6086 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.7107, allocations: 30.22 kB / 0.6086 GB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.7109, allocations: 363.3 kB / 0.609 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006482/0.7116, allocations: 380.8 kB / 0.6093 GB, free: 13.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.7129, allocations: 1.211 MB / 0.6105 GB, free: 12.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.714, allocations: 0.6392 MB / 0.6111 GB, free: 12.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-05/0.7141, allocations: 12 kB / 0.6111 GB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003142/0.7172, allocations: 1.638 MB / 0.6127 GB, free: 10.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.7173, allocations: 20.03 kB / 0.6128 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-05/0.7174, allocations: 32 kB / 0.6128 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.7176, allocations: 96.06 kB / 0.6129 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.7188, allocations: 346.6 kB / 0.6132 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.7206, allocations: 1.723 MB / 0.6149 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.7219, allocations: 70.73 kB / 0.615 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.7221, allocations: 87.19 kB / 0.615 GB, free: 8.582 MB / 394.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 () * Number of clocked 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.001306/0.7234, allocations: 0.6242 MB / 0.6157 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.7237, allocations: 110.6 kB / 0.6158 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.7252, allocations: 0.6559 MB / 0.6164 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7252, allocations: 8 kB / 0.6164 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7252, allocations: 4 kB / 0.6164 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.7252, allocations: 3.984 kB / 0.6164 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004823/0.7301, allocations: 2.147 MB / 0.6185 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.7301, allocations: 4 kB / 0.6185 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.7305, allocations: 93.59 kB / 0.6186 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.7307, allocations: 73.91 kB / 0.6187 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.7308, allocations: 11.19 kB / 0.6187 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.7326, allocations: 1.76 MB / 0.6204 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.7327, allocations: 12.25 kB / 0.6204 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.7345, allocations: 1.184 MB / 0.6216 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/0.7352, allocations: 215.7 kB / 0.6218 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.7355, allocations: 19.94 kB / 0.6218 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.7361, allocations: 23.98 kB / 0.6218 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.7362, allocations: 51.89 kB / 0.6219 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.7362, allocations: 16 kB / 0.6219 GB, free: 2.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001707/0.7379, allocations: 0.7515 MB / 0.6226 GB, free: 1.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7379, allocations: 0 / 0.6226 GB, free: 1.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002409/0.7404, allocations: 296 kB / 0.6229 GB, free: 1.227 MB / 394.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 () * Number of clocked 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.0004346/0.7408, allocations: 131.1 kB / 0.623 GB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.7432, allocations: 1.035 MB / 0.624 GB, free: 44 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7432, allocations: 0.625 kB / 0.624 GB, free: 44 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.7439, allocations: 382.3 kB / 0.6244 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.7453, allocations: 165.4 kB / 0.6246 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/0.7521, allocations: 3.246 MB / 0.6277 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/0.7544, allocations: 1.469 MB / 0.6292 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001354/0.7558, allocations: 397.4 kB / 0.6295 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.7561, allocations: 71.44 kB / 0.6296 GB, free: 10.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7561, allocations: 0 / 0.6296 GB, free: 10.21 MB / 410.7 MB Notification: Performance of Templates: time 0.02364/0.7798, allocations: 9.457 MB / 0.6388 GB, free: 0.8086 MB / 410.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)