Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 99.78 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.00141/0.00141, allocations: 177.3 kB / 15.95 MB, free: 216 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.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3771/0.3771, allocations: 40.01 MB / 310.4 MB, free: 9.652 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.0005787/0.0005788, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1387, allocations: 57.95 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2807/0.4195, allocations: 33.37 MB / 470.1 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.4382, allocations: 7.647 MB / 477.8 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008014/0.4463, allocations: 155.4 kB / 477.9 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006776/0.4531, allocations: 1.68 MB / 479.6 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.469, allocations: 4.821 MB / 484.4 MB, free: 26.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.4714, allocations: 217.6 kB / 484.7 MB, free: 26.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.4742, allocations: 1.377 MB / 486 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.4774, allocations: 3.018 MB / 489 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000727/0.4782, allocations: 0.5975 MB / 489.6 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.479, allocations: 0.7921 MB / 490.4 MB, free: 24.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.4791, allocations: 99.03 kB / 490.5 MB, free: 24.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008562/0.48, allocations: 0.516 MB / 491.1 MB, free: 24.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007381/0.4808, allocations: 0.992 MB / 492 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.4812, allocations: 0.5611 MB / 492.6 MB, free: 23.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.4848, allocations: 3.725 MB / 496.3 MB, free: 22.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4848, allocations: 0 / 496.3 MB, free: 22.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4848, allocations: 4 kB / 496.3 MB, free: 22.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.485, allocations: 0.6562 kB / 496.3 MB, free: 22.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.006018/0.491, allocations: 2.658 MB / 499 MB, free: 21.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.491, allocations: 9.406 kB / 499 MB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00732/0.4984, allocations: 1.949 MB / 0.4892 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004174/0.5026, allocations: 1.39 MB / 0.4906 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.5028, allocations: 156.2 kB / 0.4907 GB, free: 19.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005419/0.5033, allocations: 204.9 kB / 0.4909 GB, free: 19.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/0.5219, allocations: 7.001 MB / 0.4977 GB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.65e-05/0.522, allocations: 13.66 kB / 0.4978 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003501/0.5224, allocations: 96.66 kB / 0.4979 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002854/0.5252, allocations: 1.53 MB / 0.4993 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.5388, allocations: 5.969 MB / 0.5052 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.5693, allocations: 22.28 MB / 0.5269 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/0.5738, allocations: 2.183 MB / 0.5291 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007383/0.5812, allocations: 3.989 MB / 0.533 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5813, allocations: 43.22 kB / 0.533 GB, free: 3.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.647e-06/0.5813, allocations: 4 kB / 0.533 GB, free: 3.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.005799/0.5871, allocations: 2.505 MB / 0.5355 GB, free: 1.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5872, allocations: 60.06 kB / 0.5355 GB, free: 1.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.5898, allocations: 2.052 MB / 0.5375 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.5899, allocations: 37.7 kB / 0.5376 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.5912, allocations: 2.007 MB / 0.5395 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.5915, allocations: 383.1 kB / 0.5399 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.5916, allocations: 60 kB / 0.5399 GB, free: 12.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002831/0.5919, allocations: 0.4941 MB / 0.5404 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.5933, allocations: 0.9901 MB / 0.5414 GB, free: 10.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.596, allocations: 2.972 MB / 0.5443 GB, free: 7.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.5982, allocations: 1.713 MB / 0.546 GB, free: 5.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/0.5982, allocations: 20 kB / 0.546 GB, free: 5.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006212/0.6045, allocations: 3.855 MB / 0.5497 GB, free: 1.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.6045, allocations: 36 kB / 0.5498 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/0.6046, allocations: 75.94 kB / 0.5498 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.715e-05/0.6047, allocations: 104 kB / 0.5499 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.6067, allocations: 0.7252 MB / 0.5507 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.953e-05/0.6068, allocations: 135.5 kB / 0.5508 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.6088, allocations: 455.7 kB / 0.5512 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/0.609, allocations: 204 kB / 0.5514 GB, free: 15.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (401): * Single equations (assignments): 396 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002175/0.6112, allocations: 1.462 MB / 0.5528 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.6115, allocations: 177.6 kB / 0.553 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.6133, allocations: 1.245 MB / 0.5542 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.6134, allocations: 12 kB / 0.5542 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6134, allocations: 0 / 0.5542 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.6134, allocations: 3.984 kB / 0.5542 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008034/0.6214, allocations: 5.022 MB / 0.5591 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.6215, allocations: 12 kB / 0.5592 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/0.622, allocations: 143.8 kB / 0.5593 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/0.6221, allocations: 16 kB / 0.5593 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.6221, allocations: 27.95 kB / 0.5593 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/0.6222, allocations: 19.92 kB / 0.5594 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.6222, allocations: 15.94 kB / 0.5594 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.6246, allocations: 2.323 MB / 0.5616 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/0.6251, allocations: 278.5 kB / 0.5619 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.6253, allocations: 35.92 kB / 0.5619 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.6259, allocations: 39.88 kB / 0.562 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.626, allocations: 79.72 kB / 0.5621 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/0.6261, allocations: 39.98 kB / 0.5621 GB, free: 4.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.628, allocations: 1.333 MB / 0.5634 GB, free: 2.684 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.628, allocations: 0 / 0.5634 GB, free: 2.684 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002867/0.6309, allocations: 0.7699 MB / 0.5641 GB, free: 1.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003466/0.6312, allocations: 158.9 kB / 0.5643 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.6346, allocations: 2.283 MB / 0.5665 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6346, allocations: 0 / 0.5665 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.6354, allocations: 0.5584 MB / 0.5671 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.6365, allocations: 231.4 kB / 0.5673 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.6472, allocations: 6.962 MB / 0.5741 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/0.6499, allocations: 2.518 MB / 0.5766 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002598/0.6526, allocations: 1.039 MB / 0.5776 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.6529, allocations: 143.4 kB / 0.5777 GB, free: 3.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6529, allocations: 0 / 0.5777 GB, free: 3.84 MB / 446.1 MB Notification: Performance of Templates: time 0.0304/0.6833, allocations: 15.02 MB / 0.5924 GB, free: 4.863 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) Environment - environmentSimulation: