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.001213/0.001213, 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.609/1.609, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001622/0.001622, allocations: 112.6 kB / 252.6 MB, free: 4.832 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.2201/0.2201, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.419e-05, allocations: 7.984 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.6022, allocations: 110.8 MB / 0.5527 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6025, allocations: 77.89 kB / 0.5528 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7733/1.376, allocations: 171.9 MB / 0.7206 GB, free: 91.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.376, allocations: 0 / 0.7206 GB, free: 91.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006539/1.377, allocations: 151.2 kB / 0.7208 GB, free: 91.74 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.03114/1.408, allocations: 7.697 MB / 0.7283 GB, free: 88.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.408, allocations: 9.875 kB / 0.7283 GB, free: 88.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03187/1.44, allocations: 6.949 MB / 0.7351 GB, free: 88.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03035/1.47, allocations: 9.836 MB / 0.7447 GB, free: 87.17 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009573/1.471, allocations: 0.5653 MB / 0.7452 GB, free: 87.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006037/1.477, allocations: 0.7668 MB / 0.746 GB, free: 87.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06134/1.539, allocations: 20.53 MB / 0.7661 GB, free: 73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000726/1.539, allocations: 91.19 kB / 0.7661 GB, free: 72.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00529/1.545, allocations: 358.3 kB / 0.7665 GB, free: 72.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003494/1.548, allocations: 1.966 MB / 0.7684 GB, free: 70.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04114/1.589, allocations: 17.9 MB / 0.7859 GB, free: 52.74 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5245/2.114, allocations: 82.16 MB / 0.8661 GB, free: 52.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02081/2.135, allocations: 7.319 MB / 0.8733 GB, free: 51.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006113/2.141, allocations: 3.918 MB / 0.8771 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02852/2.169, allocations: 18.23 MB / 0.8949 GB, free: 46.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.479e-05/2.17, allocations: 66.69 kB / 0.895 GB, free: 46.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=332): time 8.997e-06/2.17, allocations: 3.469 kB / 0.895 GB, free: 46.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=413): time 0.09038/2.26, allocations: 26.07 MB / 0.9204 GB, free: 42.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/2.26, allocations: 202.6 kB / 0.9206 GB, free: 42.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/2.272, allocations: 5.674 MB / 0.9261 GB, free: 40.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001241/2.273, allocations: 87.08 kB / 0.9262 GB, free: 40.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004858/2.278, allocations: 5.422 MB / 0.9315 GB, free: 36.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002613/2.281, allocations: 1.524 MB / 0.933 GB, free: 35.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/2.282, allocations: 209.9 kB / 0.9332 GB, free: 35.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006486/2.283, allocations: 0.7469 MB / 0.9339 GB, free: 35.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006537/2.289, allocations: 4.023 MB / 0.9379 GB, free: 33.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/2.301, allocations: 9.84 MB / 0.9475 GB, free: 24.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/2.311, allocations: 6.236 MB / 0.9536 GB, free: 22.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000339/2.312, allocations: 61.06 kB / 0.9536 GB, free: 22.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=1370) (initialization): time 0.03818/2.35, allocations: 15.63 MB / 0.9689 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000364/2.35, allocations: 92 kB / 0.969 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004908/2.351, allocations: 204 kB / 0.9692 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008278/2.359, allocations: 2.337 MB / 0.9715 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009979/2.369, allocations: 2.438 MB / 0.9738 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/2.391, allocations: 11.52 MB / 0.9851 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/2.402, allocations: 0.6869 MB / 0.9858 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00302/2.405, allocations: 0.5831 MB / 0.9863 GB, free: 180 kB / 490.7 MB 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 () * 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.005708/2.411, allocations: 0.9315 MB / 0.9872 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/2.414, allocations: 0.5993 MB / 0.9878 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02289/2.437, allocations: 8.08 MB / 0.9957 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001314/2.437, allocations: 73.59 kB / 0.9958 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-05/2.437, allocations: 12 kB / 0.9958 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/2.437, allocations: 17.53 kB / 0.9958 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05315/2.49, allocations: 18.75 MB / 1.014 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.317e-05/2.49, allocations: 15.69 kB / 1.014 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/2.494, allocations: 0.6438 MB / 1.015 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007274/2.501, allocations: 1.875 MB / 1.017 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/2.502, allocations: 78.11 kB / 1.017 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/2.521, allocations: 9.875 MB / 1.026 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.04e-05/2.521, allocations: 15.94 kB / 1.026 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02796/2.549, allocations: 14.17 MB / 1.04 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004903/2.554, allocations: 1.161 MB / 1.041 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00286/2.557, allocations: 79.89 kB / 1.041 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006259/2.564, allocations: 267.3 kB / 1.042 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/2.565, allocations: 253.7 kB / 1.042 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001082/2.566, allocations: 108 kB / 1.042 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01133/2.578, allocations: 3.936 MB / 1.046 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.082e-06/2.578, allocations: 0 / 1.046 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01445/2.592, allocations: 1.938 MB / 1.048 GB, free: 6.82 MB / 0.5417 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 () * 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.001551/2.594, allocations: 273.8 kB / 1.048 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3917/2.986, allocations: 9.625 MB / 1.057 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/2.986, allocations: 1.812 kB / 1.057 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009849/2.995, allocations: 3.279 MB / 1.061 GB, free: 150.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006694/3.002, allocations: 0.7207 MB / 1.061 GB, free: 150.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05262/3.055, allocations: 14.63 MB / 1.076 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01586/3.071, allocations: 5.741 MB / 1.081 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01772/3.089, allocations: 3.332 MB / 1.084 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003408/3.092, allocations: 415.9 kB / 1.085 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/3.092, allocations: 0 / 1.085 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1503/3.242, allocations: 68.33 MB / 1.152 GB, free: 127.3 MB / 0.5417 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)