Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.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 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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.001351, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001616/0.001616, allocations: 177.3 kB / 15.94 MB, free: 220 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.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4039/0.4039, allocations: 38.02 MB / 308.4 MB, free: 10.43 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.1. 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.0006576/0.0006578, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.141, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.3597/0.5007, allocations: 107.8 MB / 0.529 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07631/0.5771, allocations: 23.72 MB / 0.5522 GB, free: 344 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04295/0.6201, allocations: 0.5269 MB / 0.5527 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02813/0.6483, allocations: 5.452 MB / 0.558 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06467/0.713, allocations: 15.29 MB / 0.5729 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.7232, allocations: 1.235 MB / 0.5741 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.08145/0.8047, allocations: 52.52 MB / 0.6254 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3303/1.135, allocations: 9.985 MB / 0.6352 GB, free: 55.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/1.141, allocations: 2.155 MB / 0.6373 GB, free: 55.24 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006834/1.148, allocations: 3.005 MB / 0.6402 GB, free: 55.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00242/1.15, allocations: 311.3 kB / 0.6405 GB, free: 55.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004546/1.155, allocations: 1.148 MB / 0.6416 GB, free: 55.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005198/1.16, allocations: 3.471 MB / 0.645 GB, free: 55.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004667/1.165, allocations: 1.73 MB / 0.6467 GB, free: 55.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/1.184, allocations: 11.89 MB / 0.6583 GB, free: 53.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.184, allocations: 0.9062 kB / 0.6583 GB, free: 53.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.076e-06/1.184, allocations: 0 / 0.6583 GB, free: 53.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000739/1.185, allocations: 0 / 0.6583 GB, free: 53.85 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03218/1.217, allocations: 8.867 MB / 0.667 GB, free: 48.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.217, allocations: 9.312 kB / 0.667 GB, free: 48.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08084/1.298, allocations: 14.29 MB / 0.6809 GB, free: 43.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01957/1.317, allocations: 7.171 MB / 0.6879 GB, free: 41.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004078/1.318, allocations: 0.4885 MB / 0.6884 GB, free: 41.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00315/1.321, allocations: 0.6674 MB / 0.6891 GB, free: 41.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/1.358, allocations: 19.83 MB / 0.7084 GB, free: 25.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/1.359, allocations: 90.55 kB / 0.7085 GB, free: 25.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009555/1.36, allocations: 312.2 kB / 0.7088 GB, free: 25.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004934/1.364, allocations: 3.608 MB / 0.7123 GB, free: 22.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03499/1.4, allocations: 16.45 MB / 0.7284 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1091/1.509, allocations: 72.46 MB / 0.7992 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02009/1.529, allocations: 8.278 MB / 0.8073 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007858/1.53, allocations: 0.6672 MB / 0.8079 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/1.53, allocations: 73.72 kB / 0.808 GB, free: 8.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=311): time 5.861e-06/1.53, allocations: 4 kB / 0.808 GB, free: 8.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=335): time 0.08608/1.616, allocations: 32.42 MB / 0.8396 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.616, allocations: 290.5 kB / 0.8399 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01543/1.631, allocations: 8.305 MB / 0.848 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001194/1.633, allocations: 81.7 kB / 0.8481 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2524/1.885, allocations: 5.841 MB / 0.8538 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002284/1.887, allocations: 1.273 MB / 0.8551 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.889, allocations: 189.2 kB / 0.8552 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0005588/1.889, allocations: 0.7114 MB / 0.8559 GB, free: 228 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006178/1.895, allocations: 3.645 MB / 0.8595 GB, free: 228 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009495/1.905, allocations: 9.296 MB / 0.8686 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009691/1.915, allocations: 5.674 MB / 0.8741 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002513/1.915, allocations: 56.34 kB / 0.8742 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.03849/1.953, allocations: 13.76 MB / 0.8876 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007003/1.954, allocations: 92.12 kB / 0.8877 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001061/1.955, allocations: 198.3 kB / 0.8879 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005446/1.961, allocations: 1.342 MB / 0.8892 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/1.972, allocations: 2.239 MB / 0.8914 GB, free: 213 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.988, allocations: 12.93 MB / 0.904 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/1.999, allocations: 0.5363 MB / 0.9045 GB, free: 204.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003126/2.002, allocations: 0.561 MB / 0.9051 GB, free: 204.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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.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 (1174): * Single equations (assignments): 1167 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01349/2.016, allocations: 3.883 MB / 0.9089 GB, free: 202.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003165/2.019, allocations: 0.6882 MB / 0.9095 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01787/2.037, allocations: 6.5 MB / 0.9159 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.884e-05/2.037, allocations: 34.97 kB / 0.9159 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-05/2.037, allocations: 11.69 kB / 0.9159 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-05/2.037, allocations: 15.89 kB / 0.9159 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03781/2.075, allocations: 15.92 MB / 0.9315 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/2.075, allocations: 8.828 kB / 0.9315 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/2.078, allocations: 0.5576 MB / 0.9321 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/2.081, allocations: 0.9903 MB / 0.933 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005001/2.081, allocations: 59.8 kB / 0.9331 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/2.092, allocations: 11.79 MB / 0.9446 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.092, allocations: 3.938 kB / 0.9446 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/2.107, allocations: 10.84 MB / 0.9552 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005357/2.113, allocations: 1.262 MB / 0.9564 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002825/2.116, allocations: 56 kB / 0.9565 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005263/2.121, allocations: 203.4 kB / 0.9567 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007033/2.122, allocations: 202.7 kB / 0.9569 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000352/2.122, allocations: 83.84 kB / 0.9569 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01208/2.134, allocations: 5.381 MB / 0.9622 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.72e-07/2.134, allocations: 0 / 0.9622 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01481/2.149, allocations: 1.923 MB / 0.9641 GB, free: 157.6 MB / 0.5762 GB 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 () * Number of clocked 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%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/2.15, allocations: 220.3 kB / 0.9643 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01596/2.166, allocations: 9.222 MB / 0.9733 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/2.166, allocations: 0 / 0.9733 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005635/2.172, allocations: 3.387 MB / 0.9766 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007492/2.18, allocations: 0.9355 MB / 0.9775 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04132/2.221, allocations: 21.6 MB / 0.9986 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01113/2.232, allocations: 6.131 MB / 1.005 GB, free: 116 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.01093/2.243, allocations: 3.102 MB / 1.008 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00412/2.247, allocations: 471.4 kB / 1.008 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.176e-06/2.247, allocations: 0 / 1.008 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1286/2.376, allocations: 72.77 MB / 1.079 GB, free: 39.71 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) Environment - environmentSimulation: