Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.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.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005819/0.005818, allocations: 174.2 kB / 15.12 MB, free: 5.98 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.252/1.252, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001627/0.001627, allocations: 124.5 kB / 255.6 MB, free: 10.15 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.1697/0.1697, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004782, allocations: 11.69 kB / 406.2 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5498, allocations: 105.5 MB / 0.5532 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5501, allocations: 81.64 kB / 0.5533 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8847/1.435, allocations: 236.9 MB / 0.7846 GB, free: 57.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.435, allocations: 0 / 0.7846 GB, free: 57.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000992/1.436, allocations: 256.2 kB / 0.7848 GB, free: 57.44 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.04846/1.484, allocations: 13.23 MB / 0.7978 GB, free: 52.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.484, allocations: 9.188 kB / 0.7978 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05187/1.536, allocations: 12.79 MB / 0.8103 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03705/1.573, allocations: 13.29 MB / 0.8232 GB, free: 50.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001243/1.575, allocations: 0.9427 MB / 0.8242 GB, free: 50.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008505/1.583, allocations: 1.259 MB / 0.8254 GB, free: 50.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08543/1.669, allocations: 30.28 MB / 0.855 GB, free: 35.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009047/1.67, allocations: 142.6 kB / 0.8551 GB, free: 35.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006273/1.676, allocations: 0.5853 MB / 0.8557 GB, free: 34.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004417/1.68, allocations: 2.853 MB / 0.8585 GB, free: 32.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05291/1.733, allocations: 24.88 MB / 0.8828 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5467/2.28, allocations: 127.3 MB / 1.007 GB, free: 35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03772/2.318, allocations: 15.06 MB / 1.022 GB, free: 34.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04598/2.364, allocations: 20.2 MB / 1.041 GB, free: 30.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/2.364, allocations: 111.9 kB / 1.042 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=566): time 9.007e-06/2.364, allocations: 0 / 1.042 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=650): time 0.1653/2.529, allocations: 69.63 MB / 1.11 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/2.53, allocations: 388.3 kB / 1.11 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4363/2.966, allocations: 10.7 MB / 1.12 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002506/2.968, allocations: 124 kB / 1.121 GB, free: 114 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01088/2.979, allocations: 8.414 MB / 1.129 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005432/2.985, allocations: 2.391 MB / 1.131 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003455/2.988, allocations: 308.3 kB / 1.131 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001384/2.99, allocations: 0.9588 MB / 1.132 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01385/3.004, allocations: 6.748 MB / 1.139 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02117/3.025, allocations: 15.03 MB / 1.154 GB, free: 99.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01951/3.044, allocations: 9.866 MB / 1.163 GB, free: 99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005099/3.045, allocations: 86.22 kB / 1.163 GB, free: 99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.0575/3.102, allocations: 24.66 MB / 1.187 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/3.103, allocations: 133.1 kB / 1.188 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006041/3.103, allocations: 288.2 kB / 1.188 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008695/3.112, allocations: 3.288 MB / 1.191 GB, free: 93.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01667/3.129, allocations: 3.741 MB / 1.195 GB, free: 93.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03067/3.159, allocations: 23.12 MB / 1.217 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01915/3.179, allocations: 0.933 MB / 1.218 GB, free: 80.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005357/3.184, allocations: 0.8723 MB / 1.219 GB, free: 80.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1877): * Single equations (assignments): 1870 * 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 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02021/3.204, allocations: 5.665 MB / 1.225 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004233/3.209, allocations: 1.065 MB / 1.226 GB, free: 77.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03322/3.242, allocations: 14.79 MB / 1.24 GB, free: 70.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/3.242, allocations: 67.56 kB / 1.24 GB, free: 70.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.044e-05/3.242, allocations: 16 kB / 1.24 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001971/3.242, allocations: 41.69 kB / 1.24 GB, free: 70.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07577/3.318, allocations: 32.55 MB / 1.272 GB, free: 43.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.714e-05/3.318, allocations: 12 kB / 1.272 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007465/3.326, allocations: 1.307 MB / 1.273 GB, free: 42.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007115/3.333, allocations: 2.824 MB / 1.276 GB, free: 40.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001701/3.334, allocations: 127 kB / 1.276 GB, free: 40.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/3.358, allocations: 21.66 MB / 1.297 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/3.358, allocations: 19.19 kB / 1.297 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4695/3.828, allocations: 27.42 MB / 1.324 GB, free: 94.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01042/3.838, allocations: 2.188 MB / 1.326 GB, free: 94.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00517/3.844, allocations: 119 kB / 1.326 GB, free: 94.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009188/3.853, allocations: 453.7 kB / 1.327 GB, free: 94.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/3.855, allocations: 410.1 kB / 1.327 GB, free: 94.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/3.856, allocations: 176.5 kB / 1.327 GB, free: 94.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0203/3.876, allocations: 7.706 MB / 1.335 GB, free: 94.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.21e-07/3.876, allocations: 0 / 1.335 GB, free: 94.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02456/3.901, allocations: 3.082 MB / 1.338 GB, free: 94.37 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * 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 (559): * Single equations (assignments): 552 * 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 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002896/3.904, allocations: 306.4 kB / 1.338 GB, free: 94.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03381/3.938, allocations: 16.76 MB / 1.354 GB, free: 93.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.132e-05/3.938, allocations: 3.938 kB / 1.354 GB, free: 93.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/3.955, allocations: 7.196 MB / 1.362 GB, free: 93.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01581/3.971, allocations: 1.335 MB / 1.363 GB, free: 93.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08205/4.053, allocations: 34.84 MB / 1.397 GB, free: 78.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02953/4.082, allocations: 8.777 MB / 1.405 GB, free: 76.22 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02989/4.112, allocations: 5.134 MB / 1.41 GB, free: 75.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007575/4.12, allocations: 0.7263 MB / 1.411 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of SimCode: time 2.534e-06/4.12, allocations: 4 kB / 1.411 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of Templates: time 0.7085/4.828, allocations: 114.9 MB / 1.523 GB, free: 92.98 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)