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.007183/0.007183, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.713/1.713, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.00172/0.00172, allocations: 116.5 kB / 255.6 MB, free: 10.24 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.1877/0.1877, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004922, allocations: 10.62 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1258, allocations: 54.87 MB / 461 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4724/0.5982, allocations: 109.5 MB / 0.5572 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5986, allocations: 74.91 kB / 0.5573 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3639/0.9625, allocations: 154.2 MB / 0.7078 GB, free: 13.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.9626, allocations: 0 / 0.7078 GB, free: 13.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002731/0.9628, allocations: 132 kB / 0.708 GB, free: 13.43 MB / 490.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.02016/0.983, allocations: 6.968 MB / 0.7148 GB, free: 6.379 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.9831, allocations: 8.031 kB / 0.7148 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.456/1.439, allocations: 6.667 MB / 0.7213 GB, free: 83.51 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02523/1.464, allocations: 8.404 MB / 0.7295 GB, free: 83.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008487/1.465, allocations: 0.5205 MB / 0.73 GB, free: 83.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004838/1.47, allocations: 0.7131 MB / 0.7307 GB, free: 83.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/1.514, allocations: 18.85 MB / 0.7491 GB, free: 79.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003616/1.514, allocations: 86.83 kB / 0.7492 GB, free: 79.64 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/1.516, allocations: 342.2 kB / 0.7495 GB, free: 79.64 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/1.518, allocations: 1.713 MB / 0.7512 GB, free: 79.63 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03219/1.551, allocations: 16.54 MB / 0.7674 GB, free: 79.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08891/1.64, allocations: 74.09 MB / 0.8397 GB, free: 30.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/1.654, allocations: 6.162 MB / 0.8457 GB, free: 27.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/1.676, allocations: 13.9 MB / 0.8593 GB, free: 36.37 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/1.676, allocations: 68.06 kB / 0.8594 GB, free: 36.31 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=284): time 6.372e-06/1.676, allocations: 0 / 0.8594 GB, free: 36.31 MB / 0.4949 GB Notification: Performance of matching and sorting (n=344): time 0.0786/1.755, allocations: 24.74 MB / 0.8835 GB, free: 17.77 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/1.755, allocations: 187.5 kB / 0.8837 GB, free: 17.55 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/1.766, allocations: 5.245 MB / 0.8888 GB, free: 13.16 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009284/1.767, allocations: 69.7 kB / 0.8889 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005019/1.772, allocations: 4.997 MB / 0.8938 GB, free: 8.617 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002177/1.774, allocations: 1.275 MB / 0.895 GB, free: 7.492 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/1.775, allocations: 188 kB / 0.8952 GB, free: 7.309 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006519/1.775, allocations: 0.7028 MB / 0.8959 GB, free: 6.715 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006102/1.782, allocations: 3.263 MB / 0.8991 GB, free: 3.957 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.24/2.022, allocations: 8.696 MB / 0.9076 GB, free: 85.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008637/2.03, allocations: 5.248 MB / 0.9127 GB, free: 85.75 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/2.03, allocations: 54.88 kB / 0.9127 GB, free: 85.75 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02839/2.059, allocations: 12.74 MB / 0.9252 GB, free: 85.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/2.059, allocations: 86.62 kB / 0.9253 GB, free: 85.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/2.059, allocations: 197.8 kB / 0.9255 GB, free: 85.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004126/2.063, allocations: 1.328 MB / 0.9268 GB, free: 85.09 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006707/2.07, allocations: 2.181 MB / 0.9289 GB, free: 84.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/2.08, allocations: 7.395 MB / 0.9361 GB, free: 83.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008319/2.089, allocations: 0.5542 MB / 0.9367 GB, free: 83.46 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/2.091, allocations: 0.5471 MB / 0.9372 GB, free: 83.46 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * 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.007618/2.099, allocations: 3.445 MB / 0.9405 GB, free: 83.16 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/2.1, allocations: 0.5325 MB / 0.9411 GB, free: 83.16 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/2.11, allocations: 5.322 MB / 0.9463 GB, free: 82.92 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-05/2.11, allocations: 37.38 kB / 0.9463 GB, free: 82.92 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/2.11, allocations: 10.34 kB / 0.9463 GB, free: 82.92 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/2.111, allocations: 15.14 kB / 0.9463 GB, free: 82.92 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/2.138, allocations: 14.12 MB / 0.9601 GB, free: 81.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/2.138, allocations: 15.31 kB / 0.9601 GB, free: 81.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/2.14, allocations: 0.531 MB / 0.9607 GB, free: 81.24 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/2.144, allocations: 0.9215 MB / 0.9616 GB, free: 81.07 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007298/2.144, allocations: 77.05 kB / 0.9616 GB, free: 81.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008357/2.153, allocations: 5.693 MB / 0.9672 GB, free: 77.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/2.153, allocations: 17.97 kB / 0.9672 GB, free: 77.97 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/2.167, allocations: 10.23 MB / 0.9772 GB, free: 72.26 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003448/2.171, allocations: 0.9479 MB / 0.9781 GB, free: 71.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/2.172, allocations: 69.19 kB / 0.9782 GB, free: 71.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/2.175, allocations: 192.5 kB / 0.9784 GB, free: 71.62 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/2.175, allocations: 214.4 kB / 0.9786 GB, free: 71.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/2.175, allocations: 101.7 kB / 0.9787 GB, free: 71.56 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006734/2.182, allocations: 3.657 MB / 0.9822 GB, free: 70.39 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.22e-07/2.182, allocations: 0 / 0.9822 GB, free: 70.39 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0093/2.191, allocations: 1.649 MB / 0.9839 GB, free: 70.2 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * 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.0009863/2.192, allocations: 266.2 kB / 0.9841 GB, free: 70.04 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01298/2.205, allocations: 7.772 MB / 0.9917 GB, free: 67.28 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.205, allocations: 3.281 kB / 0.9917 GB, free: 67.28 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003729/2.209, allocations: 2.395 MB / 0.994 GB, free: 66.31 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/2.214, allocations: 0.6381 MB / 0.9947 GB, free: 66.05 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/2.243, allocations: 18.17 MB / 1.012 GB, free: 56.49 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007626/2.251, allocations: 5.322 MB / 1.018 GB, free: 53.94 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00811/2.259, allocations: 3.044 MB / 1.021 GB, free: 52.02 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/2.261, allocations: 378 kB / 1.021 GB, free: 51.66 MB / 0.4949 GB Notification: Performance of SimCode: time 1.432e-06/2.261, allocations: 0 / 1.021 GB, free: 51.66 MB / 0.4949 GB Notification: Performance of Templates: time 0.09734/2.358, allocations: 55.27 MB / 1.075 GB, free: 11.84 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)