Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009444, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008123/0.0008126, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4584/0.4584, allocations: 40 MB / 310.4 MB, free: 9.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000601/0.000601, allocations: 20 kB / 378.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1712, allocations: 57.95 MB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4276/0.5989, allocations: 81.35 MB / 0.506 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05912/0.6581, allocations: 16.61 MB / 0.5222 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02784/0.686, allocations: 382.3 kB / 0.5226 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0191/0.7052, allocations: 4.276 MB / 0.5268 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05199/0.7572, allocations: 12.42 MB / 0.5389 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0068/0.764, allocations: 0.9316 MB / 0.5398 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05003/0.8141, allocations: 35.9 MB / 0.5749 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.8269, allocations: 7.256 MB / 0.582 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.8325, allocations: 1.954 MB / 0.5839 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00634/0.8388, allocations: 3.076 MB / 0.5869 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.8405, allocations: 236 kB / 0.5871 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004586/0.8451, allocations: 1.116 MB / 0.5882 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004562/0.8497, allocations: 2.692 MB / 0.5908 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.8528, allocations: 1.298 MB / 0.5921 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.8663, allocations: 8.797 MB / 0.6007 GB, free: 48 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8663, allocations: 0 / 0.6007 GB, free: 48 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.636e-05/0.8663, allocations: 0 / 0.6007 GB, free: 48 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004703/0.8668, allocations: 0 / 0.6007 GB, free: 48 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.0176/0.8844, allocations: 6.265 MB / 0.6068 GB, free: 9.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.8845, allocations: 12.03 kB / 0.6068 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.8974, allocations: 2.846 MB / 0.6096 GB, free: 6.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.9076, allocations: 4.196 MB / 0.6137 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.908, allocations: 377.8 kB / 0.614 GB, free: 2.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/0.9101, allocations: 0.4997 MB / 0.6145 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/0.944, allocations: 16.4 MB / 0.6305 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/0.9443, allocations: 55.53 kB / 0.6306 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/0.9454, allocations: 239.7 kB / 0.6308 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3267/1.272, allocations: 3.156 MB / 0.6339 GB, free: 144.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03263/1.305, allocations: 14.22 MB / 0.6478 GB, free: 142 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1106/1.415, allocations: 59.14 MB / 0.7055 GB, free: 103.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01781/1.433, allocations: 7.171 MB / 0.7125 GB, free: 97.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00635/1.44, allocations: 4.488 MB / 0.7169 GB, free: 93.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02201/1.462, allocations: 15.44 MB / 0.732 GB, free: 77.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/1.462, allocations: 64.56 kB / 0.7321 GB, free: 77.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 5.31e-06/1.462, allocations: 0 / 0.7321 GB, free: 77.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.07712/1.539, allocations: 32.76 MB / 0.764 GB, free: 44.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/1.539, allocations: 210.2 kB / 0.7642 GB, free: 44.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/1.546, allocations: 5.325 MB / 0.7694 GB, free: 39.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001443/1.548, allocations: 81.7 kB / 0.7695 GB, free: 39.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003066/1.551, allocations: 4.333 MB / 0.7738 GB, free: 34.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002266/1.553, allocations: 1.281 MB / 0.775 GB, free: 33.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004492/1.554, allocations: 168 kB / 0.7752 GB, free: 33.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003704/1.554, allocations: 0.6616 MB / 0.7758 GB, free: 32.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/1.559, allocations: 3.889 MB / 0.7796 GB, free: 28.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007388/1.567, allocations: 8.389 MB / 0.7878 GB, free: 18.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008517/1.575, allocations: 5.589 MB / 0.7933 GB, free: 12.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.575, allocations: 48 kB / 0.7933 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02757/1.603, allocations: 14.18 MB / 0.8072 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002558/1.603, allocations: 72 kB / 0.8072 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003482/1.604, allocations: 156 kB / 0.8074 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006445/1.61, allocations: 2.28 MB / 0.8096 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00827/1.618, allocations: 1.989 MB / 0.8115 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3092/1.928, allocations: 13.48 MB / 0.8247 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007349/1.935, allocations: 0.5067 MB / 0.8252 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/1.937, allocations: 488.5 kB / 0.8257 GB, free: 141.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1032): * Single equations (assignments): 1027 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00692/1.944, allocations: 3.089 MB / 0.8287 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.945, allocations: 0.4975 MB / 0.8292 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.958, allocations: 8.385 MB / 0.8374 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-05/1.959, allocations: 41 kB / 0.8374 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.959, allocations: 9.281 kB / 0.8374 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/1.959, allocations: 13.08 kB / 0.8374 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/1.99, allocations: 17.13 MB / 0.8541 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/1.99, allocations: 0 / 0.8541 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/1.993, allocations: 0.6141 MB / 0.8547 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005164/1.999, allocations: 2.032 MB / 0.8567 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007702/1.999, allocations: 59.94 kB / 0.8568 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/2.017, allocations: 12.73 MB / 0.8692 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.017, allocations: 2 kB / 0.8692 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/2.037, allocations: 13.13 MB / 0.882 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/2.041, allocations: 1.145 MB / 0.8832 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/2.042, allocations: 58.56 kB / 0.8832 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/2.045, allocations: 265.4 kB / 0.8835 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/2.046, allocations: 201.4 kB / 0.8837 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/2.046, allocations: 90.48 kB / 0.8837 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005377/2.051, allocations: 3.333 MB / 0.887 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.01e-07/2.051, allocations: 0 / 0.887 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01023/2.062, allocations: 1.693 MB / 0.8886 GB, free: 119.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001105/2.063, allocations: 199.8 kB / 0.8888 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01425/2.077, allocations: 9.501 MB / 0.8981 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/2.077, allocations: 0 / 0.8981 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006252/2.083, allocations: 4.085 MB / 0.9021 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/2.087, allocations: 0.6485 MB / 0.9027 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03025/2.117, allocations: 18.48 MB / 0.9208 GB, free: 87.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005375/2.123, allocations: 4.799 MB / 0.9255 GB, free: 82.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006642/2.13, allocations: 2.648 MB / 0.9281 GB, free: 79.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/2.131, allocations: 371.3 kB / 0.9284 GB, free: 79.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.023e-06/2.131, allocations: 0 / 0.9284 GB, free: 79.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.1053/2.236, allocations: 64.54 MB / 0.9914 GB, free: 14.88 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) Environment - environmentSimulation: