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.0008638/0.0008637, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006517/0.006517, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.68/1.68, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3638/0.3638, allocations: 40 MB / 310.7 MB, free: 9.547 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.0006255/0.0006255, allocations: 19.98 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1289, allocations: 57.95 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2909/0.4198, allocations: 37.87 MB / 475.3 MB, free: 29.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.4415, allocations: 7.67 MB / 482.9 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01202/0.4535, allocations: 154.3 kB / 483.1 MB, free: 26.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.4553, allocations: 315.8 kB / 483.4 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.4601, allocations: 1.143 MB / 484.5 MB, free: 25.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.4613, allocations: 272.6 kB / 484.8 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005142/0.4664, allocations: 3.649 MB / 488.5 MB, free: 24.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005078/0.4716, allocations: 3.407 MB / 491.9 MB, free: 23.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.4731, allocations: 0.7013 MB / 492.6 MB, free: 22.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.4751, allocations: 1.175 MB / 493.7 MB, free: 22.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005822/0.4757, allocations: 96.12 kB / 493.8 MB, free: 22.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4774, allocations: 0.6321 MB / 494.5 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.4786, allocations: 1.106 MB / 495.6 MB, free: 21.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.4797, allocations: 1.343 MB / 496.9 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005142/0.4849, allocations: 4.468 MB / 0.4896 GB, free: 19.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4849, allocations: 0 / 0.4896 GB, free: 19.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4849, allocations: 1.281 kB / 0.4896 GB, free: 19.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.485, allocations: 0 / 0.4896 GB, free: 19.68 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.005886/0.4909, allocations: 2.585 MB / 0.4922 GB, free: 18.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.491, allocations: 9.438 kB / 0.4922 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.4975, allocations: 1.661 MB / 0.4938 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/0.5017, allocations: 1.406 MB / 0.4952 GB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.5019, allocations: 158.6 kB / 0.4953 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007419/0.5027, allocations: 212.6 kB / 0.4955 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/0.5195, allocations: 6.972 MB / 0.5023 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/0.5196, allocations: 13.44 kB / 0.5023 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/0.5199, allocations: 92.98 kB / 0.5024 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/0.5228, allocations: 1.538 MB / 0.5039 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.5383, allocations: 5.945 MB / 0.5097 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03778/0.5762, allocations: 22.26 MB / 0.5315 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/0.581, allocations: 2.194 MB / 0.5336 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.5822, allocations: 0.805 MB / 0.5344 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00694/0.5892, allocations: 3.958 MB / 0.5383 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5893, allocations: 39.22 kB / 0.5383 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.308e-06/0.5893, allocations: 0 / 0.5383 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006011/0.5953, allocations: 2.264 MB / 0.5405 GB, free: 12.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.5954, allocations: 60.06 kB / 0.5406 GB, free: 12.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003708/0.5991, allocations: 2.049 MB / 0.5426 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/0.5992, allocations: 45.69 kB / 0.5426 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.6008, allocations: 2.007 MB / 0.5446 GB, free: 8.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.6012, allocations: 383.2 kB / 0.5449 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.6016, allocations: 300.9 kB / 0.5452 GB, free: 7.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6018, allocations: 365.8 kB / 0.5456 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.6033, allocations: 0.9902 MB / 0.5465 GB, free: 6.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.6069, allocations: 2.999 MB / 0.5495 GB, free: 2.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005657/0.6126, allocations: 4.36 MB / 0.5537 GB, free: 13.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-05/0.6126, allocations: 20 kB / 0.5538 GB, free: 13.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007083/0.6197, allocations: 3.878 MB / 0.5575 GB, free: 9.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.6198, allocations: 36 kB / 0.5576 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-05/0.6199, allocations: 72 kB / 0.5576 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.6201, allocations: 92 kB / 0.5577 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.6222, allocations: 0.7298 MB / 0.5584 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/0.6223, allocations: 139.5 kB / 0.5586 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.6251, allocations: 463 kB / 0.559 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003157/0.6254, allocations: 208 kB / 0.5592 GB, free: 7.406 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003403/0.6288, allocations: 1.466 MB / 0.5606 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.6292, allocations: 173.8 kB / 0.5608 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.6313, allocations: 1.237 MB / 0.562 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.6313, allocations: 12 kB / 0.562 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6313, allocations: 0 / 0.562 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.6313, allocations: 3.984 kB / 0.562 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008233/0.6396, allocations: 5.034 MB / 0.567 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.6396, allocations: 12 kB / 0.567 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.6402, allocations: 143.7 kB / 0.5671 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.333e-05/0.6402, allocations: 16 kB / 0.5671 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.6403, allocations: 24 kB / 0.5671 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-05/0.6403, allocations: 19.92 kB / 0.5672 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.6403, allocations: 15.94 kB / 0.5672 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.6423, allocations: 1.578 MB / 0.5687 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/0.6429, allocations: 278.5 kB / 0.569 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.6431, allocations: 24 kB / 0.569 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.6437, allocations: 43.88 kB / 0.569 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.6438, allocations: 79.69 kB / 0.5691 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/0.6439, allocations: 43.97 kB / 0.5692 GB, free: 12.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002006/0.6459, allocations: 1.344 MB / 0.5705 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6459, allocations: 0 / 0.5705 GB, free: 11.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003216/0.6492, allocations: 0.7776 MB / 0.5712 GB, free: 10.67 MB / 446.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 (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.0003448/0.6495, allocations: 162.8 kB / 0.5714 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.6533, allocations: 2.292 MB / 0.5736 GB, free: 8.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.6534, allocations: 4 kB / 0.5736 GB, free: 8.227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.6541, allocations: 0.5555 MB / 0.5742 GB, free: 7.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/0.6579, allocations: 261.1 kB / 0.5744 GB, free: 7.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.6699, allocations: 7.272 MB / 0.5815 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.6726, allocations: 2.454 MB / 0.5839 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002746/0.6753, allocations: 1.043 MB / 0.5849 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.6757, allocations: 139.4 kB / 0.5851 GB, free: 12.31 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6757, allocations: 0 / 0.5851 GB, free: 12.31 MB / 462.1 MB Notification: Performance of Templates: time 0.03324/0.709, allocations: 15.31 MB / 0.6 GB, free: 13.04 MB / 478.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: