Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1947/0.1947, allocations: 46.1 MB / 345 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.88 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2912, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009429/0.3006, allocations: 9.52 MB / 0.5409 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005672/0.3064, allocations: 2.918 MB / 0.5438 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.3078, allocations: 53.06 kB / 0.5438 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003751/0.3116, allocations: 1.99 MB / 0.5458 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.3145, allocations: 1.133 MB / 0.5469 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.3154, allocations: 286.5 kB / 0.5472 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.3186, allocations: 2.33 MB / 0.5494 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.3213, allocations: 2.312 MB / 0.5517 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.3226, allocations: 0.8683 MB / 0.5525 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.3242, allocations: 1.16 MB / 0.5537 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.3247, allocations: 192 kB / 0.5539 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3261, allocations: 0.7021 MB / 0.5546 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.3272, allocations: 1.11 MB / 0.5556 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.3286, allocations: 1.312 MB / 0.5569 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.3324, allocations: 4.319 MB / 0.5611 GB, free: 3.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.3325, allocations: 4 kB / 0.5611 GB, free: 3.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3325, allocations: 4 kB / 0.5611 GB, free: 3.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.955e-05/0.3326, allocations: 0 / 0.5611 GB, free: 3.453 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004221/0.3368, allocations: 2.857 MB / 0.5639 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3369, allocations: 12.03 kB / 0.5639 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/0.3412, allocations: 1.553 MB / 0.5655 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.3435, allocations: 1.336 MB / 0.5668 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/0.3436, allocations: 148 kB / 0.5669 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.3439, allocations: 187.8 kB / 0.5671 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008239/0.3521, allocations: 6.246 MB / 0.5732 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/0.3522, allocations: 15.86 kB / 0.5732 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.3525, allocations: 87.91 kB / 0.5733 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/0.3542, allocations: 1.344 MB / 0.5746 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008787/0.363, allocations: 5.331 MB / 0.5798 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02448/0.3875, allocations: 20 MB / 0.5993 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.3915, allocations: 2.08 MB / 0.6014 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009087/0.3925, allocations: 0.6897 MB / 0.602 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005469/0.398, allocations: 3.491 MB / 0.6054 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.398, allocations: 35 kB / 0.6055 GB, free: 4.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.398, allocations: 4 kB / 0.6055 GB, free: 4.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.004775/0.4028, allocations: 1.974 MB / 0.6074 GB, free: 2.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4029, allocations: 59.83 kB / 0.6075 GB, free: 2.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.4055, allocations: 1.933 MB / 0.6094 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.4056, allocations: 37.7 kB / 0.6094 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.4067, allocations: 1.832 MB / 0.6112 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.407, allocations: 316.1 kB / 0.6115 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007529/0.4078, allocations: 0.619 MB / 0.6121 GB, free: 13.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4079, allocations: 357.9 kB / 0.6124 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.4091, allocations: 0.8842 MB / 0.6133 GB, free: 12.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.4114, allocations: 2.755 MB / 0.616 GB, free: 9.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003797/0.4152, allocations: 3.966 MB / 0.6199 GB, free: 4.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/0.4153, allocations: 24 kB / 0.6199 GB, free: 4.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005103/0.4204, allocations: 3.525 MB / 0.6233 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.4205, allocations: 32.19 kB / 0.6234 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.223e-05/0.4205, allocations: 75.94 kB / 0.6234 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.301e-05/0.4206, allocations: 84 kB / 0.6235 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.4224, allocations: 0.6589 MB / 0.6241 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.585e-05/0.4225, allocations: 127.5 kB / 0.6243 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.4242, allocations: 411.6 kB / 0.6247 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.4245, allocations: 192 kB / 0.6248 GB, free: 15.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (362): * Single equations (assignments): 357 * 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.001743/0.4262, allocations: 1.342 MB / 0.6262 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.4265, allocations: 153.9 kB / 0.6263 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.4268, allocations: 196.9 kB / 0.6265 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.4269, allocations: 11.98 kB / 0.6265 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.4269, allocations: 0 / 0.6265 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.4269, allocations: 4 kB / 0.6265 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/0.4331, allocations: 4.073 MB / 0.6305 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.4331, allocations: 8 kB / 0.6305 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.4335, allocations: 99.81 kB / 0.6306 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.4335, allocations: 8 kB / 0.6306 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.4336, allocations: 23.94 kB / 0.6306 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.4336, allocations: 11.98 kB / 0.6306 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4336, allocations: 8.406 kB / 0.6306 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.4349, allocations: 1.234 MB / 0.6318 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.4353, allocations: 246.7 kB / 0.6321 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.4355, allocations: 27.92 kB / 0.6321 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.436, allocations: 23.98 kB / 0.6321 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.4361, allocations: 47.83 kB / 0.6322 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.4362, allocations: 31.98 kB / 0.6322 GB, free: 7.203 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.4379, allocations: 1.271 MB / 0.6334 GB, free: 5.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4379, allocations: 0 / 0.6334 GB, free: 5.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002336/0.4402, allocations: 0.6843 MB / 0.6341 GB, free: 5.254 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.000301/0.4405, allocations: 142.9 kB / 0.6342 GB, free: 5.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.4434, allocations: 2.042 MB / 0.6362 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.4434, allocations: 0 / 0.6362 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.4439, allocations: 464.2 kB / 0.6367 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.4452, allocations: 238.8 kB / 0.6369 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008333/0.4535, allocations: 5.317 MB / 0.6421 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/0.456, allocations: 2.279 MB / 0.6443 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.4565, allocations: 143.4 kB / 0.6445 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.4565, allocations: 0 / 0.6445 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.04032/0.4968, allocations: 30.14 MB / 0.6739 GB, free: 12.43 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches