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.00163/0.00163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001786, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.4231/0.4231, allocations: 39.94 MB / 309.7 MB, free: 9.25 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.003267/0.003267, allocations: 70.55 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.175, allocations: 56.89 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01308/0.1882, allocations: 11.02 MB / 445.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008625/0.1969, allocations: 3.065 MB / 448.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.1996, allocations: 55.88 kB / 448.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004755/0.2044, allocations: 2.013 MB / 450.6 MB, free: 3.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.2091, allocations: 1.214 MB / 451.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2103, allocations: 295.4 kB / 452.2 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3061/0.5165, allocations: 2.486 MB / 454.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.5195, allocations: 2.392 MB / 457 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.5209, allocations: 0.9669 MB / 458 MB, free: 36.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.5222, allocations: 1.294 MB / 459.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003586/0.5226, allocations: 221.9 kB / 459.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.5239, allocations: 0.7035 MB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009981/0.525, allocations: 1.235 MB / 461.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.5262, allocations: 1.466 MB / 462.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.5314, allocations: 4.665 MB / 467.6 MB, free: 34.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5314, allocations: 4 kB / 467.6 MB, free: 34.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5315, allocations: 0 / 467.6 MB, free: 34.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001413/0.5316, allocations: 0 / 467.6 MB, free: 34.74 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.007366/0.539, allocations: 3.144 MB / 470.7 MB, free: 32.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.5391, allocations: 16.89 kB / 470.7 MB, free: 32.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/0.5444, allocations: 1.618 MB / 472.4 MB, free: 32.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.5477, allocations: 1.413 MB / 473.8 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.5478, allocations: 160.7 kB / 473.9 MB, free: 31.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/0.5483, allocations: 206.5 kB / 474.1 MB, free: 31.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.5595, allocations: 6.971 MB / 481.1 MB, free: 28.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.5596, allocations: 14.75 kB / 481.1 MB, free: 28.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/0.56, allocations: 99 kB / 481.2 MB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003157/0.5632, allocations: 1.526 MB / 482.7 MB, free: 28.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.5766, allocations: 5.946 MB / 488.7 MB, free: 26.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03697/0.6136, allocations: 22.24 MB / 0.499 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00546/0.6191, allocations: 2.203 MB / 0.5011 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.6206, allocations: 0.8081 MB / 0.5019 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007579/0.6282, allocations: 3.965 MB / 0.5058 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.6282, allocations: 37.97 kB / 0.5058 GB, free: 9.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.637e-06/0.6282, allocations: 0 / 0.5058 GB, free: 9.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.005635/0.6339, allocations: 2.262 MB / 0.508 GB, free: 8.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.6339, allocations: 57.5 kB / 0.5081 GB, free: 8.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.6379, allocations: 2.061 MB / 0.5101 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/0.6379, allocations: 41.45 kB / 0.5101 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.6392, allocations: 2.007 MB / 0.5121 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.6395, allocations: 376.1 kB / 0.5124 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009826/0.6405, allocations: 0.6728 MB / 0.5131 GB, free: 3.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6407, allocations: 368.3 kB / 0.5134 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.642, allocations: 0.9902 MB / 0.5144 GB, free: 2.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.6446, allocations: 2.994 MB / 0.5173 GB, free: 14.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005787/0.6504, allocations: 4.36 MB / 0.5216 GB, free: 9.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-05/0.6505, allocations: 23.94 kB / 0.5216 GB, free: 9.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007115/0.6576, allocations: 3.883 MB / 0.5254 GB, free: 5.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/0.6577, allocations: 36 kB / 0.5254 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.6579, allocations: 72 kB / 0.5255 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.658, allocations: 96 kB / 0.5256 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/0.6601, allocations: 0.7213 MB / 0.5263 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001226/0.6603, allocations: 143.4 kB / 0.5264 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.6627, allocations: 465.8 kB / 0.5269 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/0.663, allocations: 200 kB / 0.5271 GB, free: 4.059 MB / 398.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.002838/0.6658, allocations: 1.465 MB / 0.5285 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.6663, allocations: 173.7 kB / 0.5287 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.6686, allocations: 1.245 MB / 0.5299 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.6686, allocations: 11.98 kB / 0.5299 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.6686, allocations: 0 / 0.5299 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.6686, allocations: 7.984 kB / 0.5299 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.6793, allocations: 5.031 MB / 0.5348 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/0.6794, allocations: 12 kB / 0.5348 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.68, allocations: 143.9 kB / 0.535 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.68, allocations: 16 kB / 0.535 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/0.6801, allocations: 27.98 kB / 0.535 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/0.6801, allocations: 15.94 kB / 0.535 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.6802, allocations: 15.94 kB / 0.535 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.6825, allocations: 1.581 MB / 0.5366 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.6832, allocations: 274.5 kB / 0.5368 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/0.6836, allocations: 24 kB / 0.5369 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.6845, allocations: 35.97 kB / 0.5369 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6846, allocations: 79.69 kB / 0.537 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/0.6847, allocations: 39.98 kB / 0.537 GB, free: 9.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002874/0.6876, allocations: 1.344 MB / 0.5383 GB, free: 8.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6876, allocations: 0 / 0.5383 GB, free: 8.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004056/0.6917, allocations: 0.78 MB / 0.5391 GB, free: 7.352 MB / 414.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.0004411/0.6922, allocations: 157.3 kB / 0.5392 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005206/0.6974, allocations: 2.56 MB / 0.5417 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/0.6974, allocations: 0 / 0.5417 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6985, allocations: 0.5613 MB / 0.5423 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.701, allocations: 271.1 kB / 0.5426 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.716, allocations: 5.809 MB / 0.5482 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005063/0.7211, allocations: 2.462 MB / 0.5506 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003384/0.7245, allocations: 1.047 MB / 0.5517 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000608/0.7252, allocations: 135.4 kB / 0.5518 GB, free: 10.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.723e-06/0.7252, allocations: 0 / 0.5518 GB, free: 10.2 MB / 430.1 MB Notification: Performance of Templates: time 0.03818/0.7634, allocations: 15.95 MB / 0.5674 GB, free: 10.33 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (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)