Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001251/0.001251, allocations: 176 kB / 7.652 MB, free: 1.426 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.577/1.577, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001658/0.001658, allocations: 115.5 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2163/0.2163, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.351e-05/1.353e-05, allocations: 0 / 393.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3006, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.7843, allocations: 108.8 MB / 0.5439 GB, free: 30.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.7845, allocations: 73.41 kB / 0.544 GB, free: 30.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3782/1.163, allocations: 151.2 MB / 0.6916 GB, free: 14.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.163, allocations: 0 / 0.6916 GB, free: 14.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004959/1.163, allocations: 136 kB / 0.6918 GB, free: 14.86 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02452/1.188, allocations: 6.539 MB / 0.6982 GB, free: 8.242 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.188, allocations: 8.031 kB / 0.6982 GB, free: 8.234 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03146/1.219, allocations: 6.679 MB / 0.7047 GB, free: 1.535 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5956/1.815, allocations: 8.371 MB / 0.7129 GB, free: 78.36 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/1.816, allocations: 228 kB / 0.7131 GB, free: 78.36 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004188/1.82, allocations: 425 kB / 0.7135 GB, free: 78.36 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02044/1.84, allocations: 11.66 MB / 0.7249 GB, free: 78.32 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/1.869, allocations: 15.87 MB / 0.7404 GB, free: 74.74 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000316/1.87, allocations: 93.84 kB / 0.7405 GB, free: 74.73 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/1.871, allocations: 43.67 kB / 0.7405 GB, free: 74.73 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/1.873, allocations: 1.722 MB / 0.7422 GB, free: 74.72 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07856/1.952, allocations: 70.77 MB / 0.8113 GB, free: 45.99 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/1.957, allocations: 4.673 MB / 0.8159 GB, free: 43.39 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002987/1.96, allocations: 2.671 MB / 0.8185 GB, free: 42.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01984/1.98, allocations: 13.7 MB / 0.8318 GB, free: 35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.98, allocations: 56.5 kB / 0.8319 GB, free: 34.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=286): time 5.52e-06/1.98, allocations: 3.938 kB / 0.8319 GB, free: 34.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=346): time 0.04683/2.027, allocations: 18 MB / 0.8495 GB, free: 21.12 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/2.027, allocations: 188.3 kB / 0.8497 GB, free: 20.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007592/2.035, allocations: 4.589 MB / 0.8541 GB, free: 16.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006586/2.036, allocations: 29.7 kB / 0.8542 GB, free: 16.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003143/2.039, allocations: 5.094 MB / 0.8591 GB, free: 12.25 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/2.04, allocations: 1.248 MB / 0.8604 GB, free: 11.12 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/2.041, allocations: 0 / 0.8604 GB, free: 11.12 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005622/2.041, allocations: 0.7264 MB / 0.8611 GB, free: 10.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004483/2.046, allocations: 3.045 MB / 0.864 GB, free: 7.754 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008535/2.054, allocations: 8.724 MB / 0.8726 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008863/2.063, allocations: 5.302 MB / 0.8777 GB, free: 8.41 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/2.063, allocations: 56 kB / 0.8778 GB, free: 8.355 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.3414/2.405, allocations: 11.71 MB / 0.8892 GB, free: 92.79 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/2.405, allocations: 94.38 kB / 0.8893 GB, free: 92.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004443/2.406, allocations: 202.1 kB / 0.8895 GB, free: 92.79 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/2.41, allocations: 1.301 MB / 0.8908 GB, free: 92.78 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008908/2.419, allocations: 2.266 MB / 0.893 GB, free: 92.78 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/2.429, allocations: 6.846 MB / 0.8997 GB, free: 91.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008629/2.438, allocations: 382.4 kB / 0.9 GB, free: 91.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/2.44, allocations: 0.567 MB / 0.9006 GB, free: 91.5 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1203): * Single equations (assignments): 1196 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002101/2.443, allocations: 0.6047 MB / 0.9012 GB, free: 91.39 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/2.444, allocations: 0.4944 MB / 0.9017 GB, free: 91.39 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/2.454, allocations: 5.034 MB / 0.9066 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/2.454, allocations: 38.8 kB / 0.9066 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/2.454, allocations: 9.375 kB / 0.9066 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/2.454, allocations: 14.48 kB / 0.9066 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02781/2.482, allocations: 12.25 MB / 0.9186 GB, free: 89.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/2.482, allocations: 11.5 kB / 0.9186 GB, free: 89.86 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/2.484, allocations: 0.5189 MB / 0.9191 GB, free: 89.86 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/2.487, allocations: 0.8535 MB / 0.92 GB, free: 89.84 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003732/2.488, allocations: 26.27 kB / 0.92 GB, free: 89.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006986/2.495, allocations: 5.155 MB / 0.925 GB, free: 88.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/2.495, allocations: 17.19 kB / 0.925 GB, free: 88.62 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/2.508, allocations: 9.787 MB / 0.9346 GB, free: 85.76 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/2.51, allocations: 0.9046 MB / 0.9355 GB, free: 85.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008904/2.511, allocations: 23.92 kB / 0.9355 GB, free: 85.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/2.513, allocations: 119.6 kB / 0.9356 GB, free: 85.49 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/2.514, allocations: 226.1 kB / 0.9358 GB, free: 85.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/2.514, allocations: 96.97 kB / 0.9359 GB, free: 85.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004984/2.519, allocations: 3.053 MB / 0.9389 GB, free: 85.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.91e-07/2.519, allocations: 0 / 0.9389 GB, free: 85.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008888/2.528, allocations: 1.424 MB / 0.9403 GB, free: 85.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007954/2.529, allocations: 211.4 kB / 0.9405 GB, free: 85.21 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01148/2.54, allocations: 7.281 MB / 0.9476 GB, free: 85.02 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/2.54, allocations: 3.906 kB / 0.9476 GB, free: 85.02 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003357/2.544, allocations: 2.27 MB / 0.9498 GB, free: 84.51 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/2.547, allocations: 0.5086 MB / 0.9503 GB, free: 84.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/2.577, allocations: 12.52 MB / 0.9625 GB, free: 79.65 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007972/2.586, allocations: 5.313 MB / 0.9677 GB, free: 77.93 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008468/2.594, allocations: 3.102 MB / 0.9708 GB, free: 77.87 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/2.596, allocations: 370.8 kB / 0.9711 GB, free: 77.86 MB / 0.4949 GB Notification: Performance of SimCode: time 1.142e-06/2.596, allocations: 3.281 kB / 0.9711 GB, free: 77.86 MB / 0.4949 GB Notification: Performance of Templates: time 0.09296/2.689, allocations: 50.39 MB / 1.02 GB, free: 50.89 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)