Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001025/0.001025, allocations: 165.2 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.401/1.401, allocations: 170.6 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001649/0.001649, allocations: 107.5 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1843/0.1843, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.479e-05, allocations: 2.875 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09099, allocations: 48.72 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.4968, allocations: 97.89 MB / 496.6 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.4971, allocations: 72.83 kB / 496.7 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9268/1.424, allocations: 230.8 MB / 0.7105 GB, free: 53.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.424, allocations: 0 / 0.7105 GB, free: 53.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001066/1.425, allocations: 253.2 kB / 0.7107 GB, free: 53.09 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.04054/1.466, allocations: 12.23 MB / 0.7227 GB, free: 47.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.466, allocations: 7.344 kB / 0.7227 GB, free: 47.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05152/1.517, allocations: 12.79 MB / 0.7352 GB, free: 39.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03091/1.548, allocations: 13.22 MB / 0.7481 GB, free: 26.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007123/1.549, allocations: 412 kB / 0.7485 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005619/1.555, allocations: 0.738 MB / 0.7492 GB, free: 25.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.031/1.586, allocations: 17.42 MB / 0.7662 GB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3768/1.962, allocations: 25.76 MB / 0.7913 GB, free: 50.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001071/1.964, allocations: 145.4 kB / 0.7915 GB, free: 50.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006534/1.97, allocations: 67.67 kB / 0.7915 GB, free: 50.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007336/1.978, allocations: 2.853 MB / 0.7943 GB, free: 50.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1687/2.146, allocations: 120.8 MB / 0.9123 GB, free: 28.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/2.16, allocations: 10.92 MB / 0.923 GB, free: 23.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009875/2.169, allocations: 7.669 MB / 0.9305 GB, free: 20.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/2.171, allocations: 1.097 MB / 0.9316 GB, free: 19.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/2.171, allocations: 101.3 kB / 0.9317 GB, free: 19.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=552): time 1.529e-05/2.171, allocations: 2.531 kB / 0.9317 GB, free: 19.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=640): time 0.4017/2.573, allocations: 62.78 MB / 0.993 GB, free: 100.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/2.573, allocations: 375.9 kB / 0.9933 GB, free: 100.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/2.587, allocations: 7.919 MB / 1.001 GB, free: 99.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001658/2.588, allocations: 29.2 kB / 1.001 GB, free: 99.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005856/2.594, allocations: 8.532 MB / 1.009 GB, free: 95.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003826/2.598, allocations: 2.279 MB / 1.012 GB, free: 93.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001827/2.6, allocations: 0 / 1.012 GB, free: 93.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000915/2.601, allocations: 0.9778 MB / 1.013 GB, free: 93.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01001/2.611, allocations: 6.425 MB / 1.019 GB, free: 93.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/2.626, allocations: 14.9 MB / 1.033 GB, free: 82.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/2.64, allocations: 9.669 MB / 1.043 GB, free: 80.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004226/2.641, allocations: 87.69 kB / 1.043 GB, free: 80.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=2053) (initialization): time 0.04624/2.687, allocations: 22.61 MB / 1.065 GB, free: 73.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005642/2.688, allocations: 139 kB / 1.065 GB, free: 73.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006805/2.688, allocations: 297.7 kB / 1.065 GB, free: 73.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008226/2.697, allocations: 3.295 MB / 1.069 GB, free: 73.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01515/2.712, allocations: 3.844 MB / 1.072 GB, free: 72.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/2.736, allocations: 21.27 MB / 1.093 GB, free: 58.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01463/2.751, allocations: 0.6369 MB / 1.094 GB, free: 57.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004744/2.755, allocations: 0.9022 MB / 1.095 GB, free: 56.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1935): * Single equations (assignments): 1928 * 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%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006569/2.762, allocations: 0.8915 MB / 1.096 GB, free: 56.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002752/2.765, allocations: 0.8948 MB / 1.096 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02368/2.789, allocations: 13.83 MB / 1.11 GB, free: 43.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.857e-05/2.789, allocations: 65.88 kB / 1.11 GB, free: 43.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.193e-05/2.789, allocations: 22.41 kB / 1.11 GB, free: 43.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/2.789, allocations: 35.98 kB / 1.11 GB, free: 43.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05471/2.844, allocations: 28.84 MB / 1.138 GB, free: 20.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-05/2.844, allocations: 8 kB / 1.138 GB, free: 20.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006448/2.85, allocations: 1.247 MB / 1.139 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/2.857, allocations: 2.787 MB / 1.142 GB, free: 17.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001411/2.858, allocations: 42.42 kB / 1.142 GB, free: 17.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3639/3.222, allocations: 19.68 MB / 1.161 GB, free: 88.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/3.222, allocations: 9.906 kB / 1.161 GB, free: 88.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03629/3.258, allocations: 23.42 MB / 1.184 GB, free: 85.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006632/3.265, allocations: 1.926 MB / 1.186 GB, free: 85.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003058/3.268, allocations: 14.2 kB / 1.186 GB, free: 85.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007025/3.275, allocations: 358.7 kB / 1.187 GB, free: 85.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/3.277, allocations: 396.9 kB / 1.187 GB, free: 85.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/3.278, allocations: 166 kB / 1.187 GB, free: 85.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01812/3.296, allocations: 5.362 MB / 1.192 GB, free: 84.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.847e-06/3.296, allocations: 2.297 kB / 1.192 GB, free: 84.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.03377/3.33, allocations: 2.652 MB / 1.195 GB, free: 84.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003125/3.333, allocations: 191.5 kB / 1.195 GB, free: 84.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04166/3.375, allocations: 16.32 MB / 1.211 GB, free: 79.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/3.375, allocations: 2.281 kB / 1.211 GB, free: 79.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01421/3.389, allocations: 6.856 MB / 1.218 GB, free: 76.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008646/3.398, allocations: 0.9658 MB / 1.219 GB, free: 76.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06673/3.465, allocations: 24.85 MB / 1.243 GB, free: 64.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02208/3.487, allocations: 8.794 MB / 1.252 GB, free: 58.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01729/3.504, allocations: 5.072 MB / 1.257 GB, free: 54.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004592/3.509, allocations: 0.6471 MB / 1.257 GB, free: 54.15 MB / 490.7 MB Notification: Performance of SimCode: time 1.844e-06/3.509, allocations: 0 / 1.257 GB, free: 54.15 MB / 490.7 MB Notification: Performance of Templates: time 0.5255/4.034, allocations: 100.6 MB / 1.355 GB, free: 99.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)