Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001499/0.001499, allocations: 181.2 kB / 12.74 MB, free: 2.578 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.406/1.406, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001653/0.001653, allocations: 104.7 kB / 252.6 MB, free: 4.793 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.2046/0.2046, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.558e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5142, allocations: 99.37 MB / 0.5415 GB, free: 8.445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5146, allocations: 74.09 kB / 0.5416 GB, free: 8.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7156/1.23, allocations: 162.7 MB / 0.7004 GB, free: 82.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.23, allocations: 3.281 kB / 0.7004 GB, free: 82.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005411/1.231, allocations: 160.6 kB / 0.7006 GB, free: 82.62 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.03111/1.262, allocations: 8.01 MB / 0.7084 GB, free: 79.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.262, allocations: 10.16 kB / 0.7084 GB, free: 79.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04473/1.307, allocations: 12.03 MB / 0.7202 GB, free: 79.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02858/1.335, allocations: 10.8 MB / 0.7307 GB, free: 77.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005598/1.336, allocations: 0.6111 MB / 0.7313 GB, free: 77.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003073/1.339, allocations: 0.8168 MB / 0.7321 GB, free: 77.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04548/1.385, allocations: 19.11 MB / 0.7508 GB, free: 72.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006163/1.385, allocations: 112.1 kB / 0.7509 GB, free: 72.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00304/1.388, allocations: 391.9 kB / 0.7513 GB, free: 71.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002288/1.391, allocations: 1.726 MB / 0.7529 GB, free: 71.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/1.423, allocations: 15.47 MB / 0.7681 GB, free: 61.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09996/1.523, allocations: 79.63 MB / 0.8458 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.398/1.921, allocations: 8.176 MB / 0.8538 GB, free: 88.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008814/1.93, allocations: 4.074 MB / 0.8578 GB, free: 88.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.931, allocations: 0.6738 MB / 0.8584 GB, free: 87.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.041e-05/1.931, allocations: 67.36 kB / 0.8585 GB, free: 87.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=307): time 1.073e-05/1.931, allocations: 1 kB / 0.8585 GB, free: 87.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=331): time 0.08322/2.014, allocations: 25.91 MB / 0.8838 GB, free: 82.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/2.014, allocations: 294.7 kB / 0.8841 GB, free: 82.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/2.028, allocations: 6.653 MB / 0.8906 GB, free: 81.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000992/2.029, allocations: 74.05 kB / 0.8907 GB, free: 81.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005587/2.035, allocations: 5.608 MB / 0.8961 GB, free: 79.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00211/2.037, allocations: 1.253 MB / 0.8974 GB, free: 78.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008336/2.038, allocations: 185.8 kB / 0.8975 GB, free: 78.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005044/2.038, allocations: 0.7014 MB / 0.8982 GB, free: 77.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006394/2.045, allocations: 3.366 MB / 0.9015 GB, free: 77.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/2.056, allocations: 8.861 MB / 0.9102 GB, free: 70.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009973/2.066, allocations: 5.406 MB / 0.9154 GB, free: 69.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002092/2.066, allocations: 54.06 kB / 0.9155 GB, free: 69.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.02878/2.095, allocations: 12.85 MB / 0.928 GB, free: 65.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/2.095, allocations: 91 kB / 0.9281 GB, free: 65.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003642/2.096, allocations: 191.5 kB / 0.9283 GB, free: 65.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/2.099, allocations: 1.01 MB / 0.9293 GB, free: 64.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008904/2.107, allocations: 2.152 MB / 0.9314 GB, free: 64.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/2.119, allocations: 11 MB / 0.9421 GB, free: 56.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/2.13, allocations: 0.5085 MB / 0.9426 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002708/2.133, allocations: 0.5483 MB / 0.9432 GB, free: 56.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1149): * Single equations (assignments): 1142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002619/2.135, allocations: 0.8316 MB / 0.944 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/2.137, allocations: 0.6634 MB / 0.9446 GB, free: 55.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/2.148, allocations: 5.853 MB / 0.9503 GB, free: 52.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-05/2.148, allocations: 32.94 kB / 0.9504 GB, free: 52.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/2.148, allocations: 15.94 kB / 0.9504 GB, free: 52.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/2.148, allocations: 14.06 kB / 0.9504 GB, free: 52.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03131/2.179, allocations: 14.65 MB / 0.9647 GB, free: 40.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/2.179, allocations: 4 kB / 0.9647 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/2.182, allocations: 0.5226 MB / 0.9652 GB, free: 40.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/2.183, allocations: 0.6601 MB / 0.9659 GB, free: 40 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/2.184, allocations: 59.94 kB / 0.9659 GB, free: 39.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009017/2.193, allocations: 9.875 MB / 0.9756 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.193, allocations: 4 kB / 0.9756 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/2.206, allocations: 9.917 MB / 0.9853 GB, free: 21.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004316/2.211, allocations: 1.166 MB / 0.9864 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/2.212, allocations: 56.94 kB / 0.9865 GB, free: 20.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/2.215, allocations: 186.2 kB / 0.9866 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005042/2.215, allocations: 198.2 kB / 0.9868 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/2.216, allocations: 84.55 kB / 0.9869 GB, free: 20.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008547/2.224, allocations: 4.736 MB / 0.9915 GB, free: 15.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.224, allocations: 0 / 0.9915 GB, free: 15.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01251/2.237, allocations: 1.815 MB / 0.9933 GB, free: 14.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009757/2.238, allocations: 210.8 kB / 0.9935 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01389/2.252, allocations: 8.636 MB / 1.002 GB, free: 5.996 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/2.252, allocations: 0 / 1.002 GB, free: 5.996 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004141/2.256, allocations: 3.147 MB / 1.005 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007297/2.263, allocations: 0.9211 MB / 1.006 GB, free: 2.328 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03866/2.302, allocations: 14.57 MB / 1.02 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01354/2.316, allocations: 5.899 MB / 1.026 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01607/2.332, allocations: 3.382 MB / 1.029 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/2.335, allocations: 474.2 kB / 1.03 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/2.335, allocations: 0 / 1.03 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.5051/2.84, allocations: 68.44 MB / 1.096 GB, free: 95.64 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)