Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005908/0.005908, allocations: 176.1 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.802/1.802, 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.002086/0.002086, allocations: 128.5 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.3138/0.3138, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005386, allocations: 17.64 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1433, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5745, allocations: 110.9 MB / 0.5585 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5748, allocations: 80.05 kB / 0.5586 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6581/1.233, allocations: 171.8 MB / 0.7263 GB, free: 79.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.233, allocations: 0 / 0.7263 GB, free: 79.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004634/1.233, allocations: 151.7 kB / 0.7265 GB, free: 79.05 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.0301/1.264, allocations: 8.229 MB / 0.7345 GB, free: 76.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.264, allocations: 11.81 kB / 0.7345 GB, free: 76.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03104/1.295, allocations: 6.937 MB / 0.7413 GB, free: 75.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02584/1.321, allocations: 9.886 MB / 0.7509 GB, free: 74.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009653/1.322, allocations: 0.5656 MB / 0.7515 GB, free: 74.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005568/1.327, allocations: 0.7637 MB / 0.7522 GB, free: 74.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05091/1.378, allocations: 20.75 MB / 0.7725 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004802/1.379, allocations: 99.16 kB / 0.7726 GB, free: 71.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004181/1.383, allocations: 364.6 kB / 0.773 GB, free: 71.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/1.386, allocations: 1.956 MB / 0.7749 GB, free: 71.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03842/1.424, allocations: 18.3 MB / 0.7927 GB, free: 70.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/1.537, allocations: 82.19 MB / 0.873 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/1.554, allocations: 7.359 MB / 0.8802 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0312/1.585, allocations: 18.22 MB / 0.898 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/1.586, allocations: 60.56 kB / 0.898 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=332): time 1.055e-05/1.586, allocations: 1.781 kB / 0.898 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=413): time 0.3347/1.92, allocations: 36.34 MB / 0.9335 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.921, allocations: 200.9 kB / 0.9337 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009953/1.931, allocations: 5.816 MB / 0.9394 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008393/1.931, allocations: 81.7 kB / 0.9395 GB, free: 87.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003702/1.935, allocations: 5.425 MB / 0.9448 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00193/1.937, allocations: 1.517 MB / 0.9463 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009787/1.938, allocations: 204.7 kB / 0.9464 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005441/1.939, allocations: 0.7541 MB / 0.9472 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006405/1.945, allocations: 4.186 MB / 0.9513 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009371/1.954, allocations: 10 MB / 0.961 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008847/1.963, allocations: 6.341 MB / 0.9672 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/1.963, allocations: 55.62 kB / 0.9673 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1370) (initialization): time 0.03205/1.996, allocations: 15.95 MB / 0.9829 GB, free: 75.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.996, allocations: 91.75 kB / 0.9829 GB, free: 75.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002297/1.996, allocations: 202.5 kB / 0.9831 GB, free: 75.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007954/2.004, allocations: 2.357 MB / 0.9854 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008544/2.012, allocations: 2.44 MB / 0.9878 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/2.03, allocations: 12.01 MB / 0.9996 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00952/2.04, allocations: 0.6894 MB / 1 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/2.042, allocations: 0.5827 MB / 1.001 GB, free: 69.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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 (1269): * Single equations (assignments): 1262 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008222/2.05, allocations: 3.749 MB / 1.004 GB, free: 67.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/2.052, allocations: 0.5964 MB / 1.005 GB, free: 67.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/2.069, allocations: 8.172 MB / 1.013 GB, free: 64.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.95e-05/2.069, allocations: 60.58 kB / 1.013 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/2.069, allocations: 11.72 kB / 1.013 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/2.069, allocations: 19.83 kB / 1.013 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03593/2.105, allocations: 18.83 MB / 1.031 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/2.105, allocations: 8 kB / 1.032 GB, free: 50.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/2.108, allocations: 0.638 MB / 1.032 GB, free: 49.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006646/2.115, allocations: 1.903 MB / 1.034 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008502/2.116, allocations: 75.94 kB / 1.034 GB, free: 48.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/2.132, allocations: 10.35 MB / 1.044 GB, free: 39.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/2.132, allocations: 15.94 kB / 1.044 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/2.153, allocations: 14.28 MB / 1.058 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003961/2.157, allocations: 1.168 MB / 1.059 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/2.158, allocations: 76.59 kB / 1.059 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/2.162, allocations: 266.4 kB / 1.06 GB, free: 24.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/2.162, allocations: 258.7 kB / 1.06 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/2.162, allocations: 108.4 kB / 1.06 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007065/2.169, allocations: 4.071 MB / 1.064 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/2.169, allocations: 0 / 1.064 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01165/2.181, allocations: 1.935 MB / 1.066 GB, free: 19.45 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (324): * Single equations (assignments): 317 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/2.183, allocations: 280.7 kB / 1.066 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01603/2.199, allocations: 9.836 MB / 1.076 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.199, allocations: 4 kB / 1.076 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004638/2.203, allocations: 3.323 MB / 1.079 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/2.207, allocations: 0.7271 MB / 1.08 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2401/2.447, allocations: 20.66 MB / 1.1 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01209/2.459, allocations: 5.744 MB / 1.105 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008613/2.468, allocations: 3.333 MB / 1.109 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/2.469, allocations: 413.7 kB / 1.109 GB, free: 86.44 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/2.47, allocations: 0 / 1.109 GB, free: 86.44 MB / 0.5105 GB Notification: Performance of Templates: time 0.1131/2.583, allocations: 68.39 MB / 1.176 GB, free: 83.06 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)