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.00869/0.008691, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001202/0.001202, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.434/1.434, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.2883/0.2883, allocations: 38 MB / 307.9 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.00164/0.00164, allocations: 75.83 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4049, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01177/0.4167, allocations: 10.54 MB / 500 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008808/0.4255, allocations: 2.998 MB / 0.4912 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.4288, allocations: 52.59 kB / 0.4913 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004108/0.4329, allocations: 2.016 MB / 0.4932 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.4373, allocations: 1.181 MB / 0.4944 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.4383, allocations: 290.4 kB / 0.4947 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.4429, allocations: 2.443 MB / 0.497 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.4466, allocations: 2.38 MB / 0.4994 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.4485, allocations: 0.9493 MB / 0.5003 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.4503, allocations: 1.261 MB / 0.5015 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005133/0.4508, allocations: 213.9 kB / 0.5017 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.4524, allocations: 0.6995 MB / 0.5024 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.4536, allocations: 1.213 MB / 0.5036 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.455, allocations: 1.431 MB / 0.505 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005712/0.4608, allocations: 4.704 MB / 0.5096 GB, free: 292 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4608, allocations: 0 / 0.5096 GB, free: 292 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4608, allocations: 1.406 kB / 0.5096 GB, free: 292 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001968/0.461, allocations: 0 / 0.5096 GB, free: 292 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.01194/0.473, allocations: 3.079 MB / 0.5126 GB, free: 14.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.4731, allocations: 17.47 kB / 0.5126 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006005/0.4791, allocations: 1.605 MB / 0.5142 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00479/0.4839, allocations: 1.406 MB / 0.5156 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.4841, allocations: 157.7 kB / 0.5157 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007448/0.4849, allocations: 204.5 kB / 0.5159 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.4992, allocations: 6.781 MB / 0.5225 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.4993, allocations: 15.88 kB / 0.5225 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.4996, allocations: 95.89 kB / 0.5226 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002501/0.5021, allocations: 1.477 MB / 0.5241 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.5148, allocations: 5.802 MB / 0.5297 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03597/0.5508, allocations: 21.44 MB / 0.5507 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.5565, allocations: 2.257 MB / 0.5529 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.5579, allocations: 0.7853 MB / 0.5536 GB, free: 4.785 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007579/0.5655, allocations: 3.734 MB / 0.5573 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.5655, allocations: 43.06 kB / 0.5573 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.927e-06/0.5655, allocations: 0 / 0.5573 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.006276/0.5718, allocations: 2.193 MB / 0.5595 GB, free: 14.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.5719, allocations: 59.97 kB / 0.5595 GB, free: 14.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.5754, allocations: 2.024 MB / 0.5615 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.5755, allocations: 37.7 kB / 0.5615 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.5773, allocations: 1.96 MB / 0.5635 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005401/0.5779, allocations: 367.4 kB / 0.5638 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.5789, allocations: 0.6587 MB / 0.5644 GB, free: 9.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.5792, allocations: 361.9 kB / 0.5648 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.5809, allocations: 0.9666 MB / 0.5657 GB, free: 8.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/0.5841, allocations: 2.922 MB / 0.5686 GB, free: 4.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/0.5893, allocations: 4.24 MB / 0.5727 GB, free: 15.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.326e-05/0.5894, allocations: 20 kB / 0.5728 GB, free: 15.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007002/0.5964, allocations: 3.788 MB / 0.5765 GB, free: 11.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.5965, allocations: 32 kB / 0.5765 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.529e-05/0.5966, allocations: 75.98 kB / 0.5766 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.5967, allocations: 91.94 kB / 0.5766 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.5989, allocations: 0.7135 MB / 0.5773 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001127/0.599, allocations: 131.5 kB / 0.5775 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.6017, allocations: 459.3 kB / 0.5779 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.602, allocations: 192 kB / 0.5781 GB, free: 9.57 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.003261/0.6052, allocations: 1.42 MB / 0.5795 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.6057, allocations: 169.8 kB / 0.5796 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.608, allocations: 1.197 MB / 0.5808 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.6081, allocations: 19.97 kB / 0.5808 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6081, allocations: 0 / 0.5808 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6081, allocations: 3.938 kB / 0.5808 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.6183, allocations: 4.982 MB / 0.5857 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.6183, allocations: 8 kB / 0.5857 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.6189, allocations: 135.8 kB / 0.5858 GB, free: 1.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.619, allocations: 15.94 kB / 0.5858 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.619, allocations: 24.69 kB / 0.5859 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-05/0.6191, allocations: 15.94 kB / 0.5859 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/0.6191, allocations: 23.92 kB / 0.5859 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.6213, allocations: 1.494 MB / 0.5874 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/0.622, allocations: 270.4 kB / 0.5876 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.6222, allocations: 35.91 kB / 0.5877 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.6228, allocations: 39.97 kB / 0.5877 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6229, allocations: 71.69 kB / 0.5878 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.623, allocations: 36 kB / 0.5878 GB, free: 15.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00213/0.6251, allocations: 1.324 MB / 0.5891 GB, free: 13.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6251, allocations: 3.938 kB / 0.5891 GB, free: 13.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003679/0.6288, allocations: 0.7504 MB / 0.5898 GB, free: 13.14 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.0005144/0.6294, allocations: 158.9 kB / 0.59 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004245/0.6336, allocations: 2.254 MB / 0.5922 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.6336, allocations: 1.875 kB / 0.5922 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000758/0.6344, allocations: 0.536 MB / 0.5927 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.636, allocations: 260.8 kB / 0.593 GB, free: 9.949 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.6482, allocations: 5.523 MB / 0.5983 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002625/0.6509, allocations: 2.405 MB / 0.6007 GB, free: 1.852 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002447/0.6533, allocations: 1.012 MB / 0.6017 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.6537, allocations: 131.4 kB / 0.6018 GB, free: 0.707 MB / 478.1 MB Notification: Performance of SimCode: time 1.173e-06/0.6537, allocations: 0 / 0.6018 GB, free: 0.707 MB / 478.1 MB Notification: Performance of Templates: time 0.03545/0.6892, allocations: 16.54 MB / 0.618 GB, free: 172 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)