Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007676/0.007676, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00169/0.00169, allocations: 199.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3127/0.3127, allocations: 38 MB / 307.9 MB, free: 10.07 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.001848/0.001848, allocations: 67.91 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3883, allocations: 56.46 MB / 489.4 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01218/0.4005, allocations: 10.55 MB / 500 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008753/0.4093, allocations: 2.997 MB / 0.4912 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.4117, allocations: 56.16 kB / 0.4913 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.4159, allocations: 2.009 MB / 0.4932 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.42, allocations: 1.209 MB / 0.4944 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.4209, allocations: 298.9 kB / 0.4947 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004499/0.4254, allocations: 2.44 MB / 0.4971 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.4286, allocations: 2.377 MB / 0.4994 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.4302, allocations: 0.9445 MB / 0.5003 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.4318, allocations: 1.258 MB / 0.5015 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004666/0.4323, allocations: 214 kB / 0.5017 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.4339, allocations: 0.7106 MB / 0.5024 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.435, allocations: 1.212 MB / 0.5036 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.4364, allocations: 1.43 MB / 0.505 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.4407, allocations: 4.704 MB / 0.5096 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4407, allocations: 1.562 kB / 0.5096 GB, free: 256 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4407, allocations: 3.938 kB / 0.5096 GB, free: 252 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.597e-05/0.4408, allocations: 4 kB / 0.5096 GB, free: 248 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.006065/0.4469, allocations: 3.08 MB / 0.5126 GB, free: 13.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4469, allocations: 13.52 kB / 0.5126 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/0.4524, allocations: 1.612 MB / 0.5142 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.4559, allocations: 1.409 MB / 0.5156 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.456, allocations: 156.1 kB / 0.5157 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.4564, allocations: 201.9 kB / 0.5159 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.4692, allocations: 6.777 MB / 0.5226 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/0.4693, allocations: 15.88 kB / 0.5226 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/0.4696, allocations: 99.89 kB / 0.5227 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/0.4721, allocations: 1.477 MB / 0.5241 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.484, allocations: 5.802 MB / 0.5298 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03051/0.5146, allocations: 21.43 MB / 0.5507 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004525/0.5191, allocations: 2.257 MB / 0.5529 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.5202, allocations: 0.7892 MB / 0.5537 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006505/0.5268, allocations: 3.738 MB / 0.5573 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.5268, allocations: 39.12 kB / 0.5574 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 5.57e-06/0.5268, allocations: 0 / 0.5574 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.005422/0.5323, allocations: 2.193 MB / 0.5595 GB, free: 14.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.5323, allocations: 59.97 kB / 0.5596 GB, free: 14.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.5352, allocations: 2.024 MB / 0.5615 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.5353, allocations: 37.7 kB / 0.5616 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.5366, allocations: 1.96 MB / 0.5635 GB, free: 10.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.5369, allocations: 371.3 kB / 0.5638 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008316/0.5378, allocations: 0.6509 MB / 0.5645 GB, free: 9.445 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5379, allocations: 357.9 kB / 0.5648 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.5393, allocations: 0.9705 MB / 0.5658 GB, free: 8.117 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.5421, allocations: 2.918 MB / 0.5686 GB, free: 4.227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004778/0.5469, allocations: 4.248 MB / 0.5728 GB, free: 15.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.01e-05/0.5469, allocations: 20 kB / 0.5728 GB, free: 14.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005973/0.5529, allocations: 3.788 MB / 0.5765 GB, free: 11.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.553, allocations: 32 kB / 0.5765 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/0.5531, allocations: 72.84 kB / 0.5766 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.5532, allocations: 91.94 kB / 0.5767 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.5552, allocations: 0.7174 MB / 0.5774 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/0.5553, allocations: 131.5 kB / 0.5775 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.5574, allocations: 451.2 kB / 0.5779 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.5576, allocations: 196 kB / 0.5781 GB, free: 9.523 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 386 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002206/0.5598, allocations: 1.427 MB / 0.5795 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.5601, allocations: 169.8 kB / 0.5797 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.5619, allocations: 1.193 MB / 0.5808 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.562, allocations: 12 kB / 0.5808 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.562, allocations: 0 / 0.5808 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.562, allocations: 7.922 kB / 0.5809 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/0.5697, allocations: 4.979 MB / 0.5857 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.5698, allocations: 12.06 kB / 0.5857 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.5703, allocations: 139.7 kB / 0.5859 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/0.5703, allocations: 15.94 kB / 0.5859 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.5704, allocations: 27.98 kB / 0.5859 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.5704, allocations: 19.92 kB / 0.5859 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.5704, allocations: 15.94 kB / 0.5859 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.5723, allocations: 1.498 MB / 0.5874 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.5727, allocations: 270.5 kB / 0.5877 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5729, allocations: 27.94 kB / 0.5877 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.5735, allocations: 35.97 kB / 0.5877 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5736, allocations: 71.69 kB / 0.5878 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.5737, allocations: 39.98 kB / 0.5878 GB, free: 15.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001779/0.5755, allocations: 1.32 MB / 0.5891 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5755, allocations: 0 / 0.5891 GB, free: 13.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003048/0.5785, allocations: 0.7582 MB / 0.5899 GB, free: 13.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * 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 (70): * Single equations (assignments): 67 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003357/0.5789, allocations: 158.8 kB / 0.59 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003734/0.5826, allocations: 2.252 MB / 0.5922 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5826, allocations: 4.062 kB / 0.5922 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.5834, allocations: 0.5372 MB / 0.5927 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.5847, allocations: 270.4 kB / 0.593 GB, free: 9.895 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.5948, allocations: 5.523 MB / 0.5984 GB, free: 4.227 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00256/0.5974, allocations: 2.405 MB / 0.6007 GB, free: 1.797 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002181/0.5996, allocations: 1.016 MB / 0.6017 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.5999, allocations: 131.4 kB / 0.6019 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5999, allocations: 3.938 kB / 0.6019 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of Templates: time 0.03494/0.6348, allocations: 16.53 MB / 0.618 GB, free: 112 kB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)