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.001528/0.001528, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001831, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 83.86 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0109/0.3533, allocations: 9.527 MB / 0.5409 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00668/0.3601, allocations: 2.921 MB / 0.5438 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.3615, allocations: 52.75 kB / 0.5438 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.365, allocations: 1.99 MB / 0.5458 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.3676, allocations: 1.115 MB / 0.5469 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007103/0.3684, allocations: 289.8 kB / 0.5472 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.3712, allocations: 2.325 MB / 0.5494 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.3735, allocations: 2.308 MB / 0.5517 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.3744, allocations: 0.8683 MB / 0.5525 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.3757, allocations: 1.16 MB / 0.5537 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002852/0.376, allocations: 192 kB / 0.5538 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.3771, allocations: 0.7021 MB / 0.5545 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008453/0.3779, allocations: 1.114 MB / 0.5556 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009911/0.3789, allocations: 1.301 MB / 0.5569 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003771/0.3827, allocations: 4.323 MB / 0.5611 GB, free: 3.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3827, allocations: 0 / 0.5611 GB, free: 3.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3827, allocations: 0 / 0.5611 GB, free: 3.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.66e-05/0.3828, allocations: 0 / 0.5611 GB, free: 3.48 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.004011/0.3868, allocations: 2.861 MB / 0.5639 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3869, allocations: 8.031 kB / 0.5639 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.3919, allocations: 1.561 MB / 0.5654 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.3939, allocations: 1.34 MB / 0.5667 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3941, allocations: 144 kB / 0.5669 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.3944, allocations: 187.8 kB / 0.5671 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008769/0.4031, allocations: 6.25 MB / 0.5732 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/0.4032, allocations: 11.88 kB / 0.5732 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.4035, allocations: 87.91 kB / 0.5733 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001971/0.4054, allocations: 1.34 MB / 0.5746 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009415/0.4149, allocations: 5.333 MB / 0.5798 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02654/0.4414, allocations: 20 MB / 0.5993 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/0.4457, allocations: 2.088 MB / 0.6013 GB, free: 9.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000959/0.4467, allocations: 0.6915 MB / 0.602 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005999/0.4527, allocations: 3.483 MB / 0.6054 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4528, allocations: 46.94 kB / 0.6055 GB, free: 4.801 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/0.4528, allocations: 0 / 0.6055 GB, free: 4.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005348/0.4582, allocations: 1.977 MB / 0.6074 GB, free: 2.812 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4582, allocations: 55.84 kB / 0.6075 GB, free: 2.746 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.4611, allocations: 1.933 MB / 0.6093 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.4611, allocations: 33.7 kB / 0.6094 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.4624, allocations: 1.832 MB / 0.6112 GB, free: 14.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.4627, allocations: 312.1 kB / 0.6115 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/0.4634, allocations: 0.619 MB / 0.6121 GB, free: 13.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4636, allocations: 369.8 kB / 0.6124 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4649, allocations: 0.8842 MB / 0.6133 GB, free: 12.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.4674, allocations: 2.755 MB / 0.616 GB, free: 9.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/0.4716, allocations: 3.954 MB / 0.6198 GB, free: 4.148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.178e-05/0.4717, allocations: 20 kB / 0.6199 GB, free: 4.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005499/0.4772, allocations: 3.532 MB / 0.6233 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.4772, allocations: 32 kB / 0.6233 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-05/0.4773, allocations: 68 kB / 0.6234 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.183e-05/0.4774, allocations: 88.75 kB / 0.6235 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.4793, allocations: 0.6589 MB / 0.6241 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001086/0.4795, allocations: 131.5 kB / 0.6242 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.4813, allocations: 415.6 kB / 0.6246 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/0.4816, allocations: 180 kB / 0.6248 GB, free: 15.03 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.002087/0.4837, allocations: 1.354 MB / 0.6261 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.484, allocations: 157.9 kB / 0.6263 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.4844, allocations: 196.9 kB / 0.6265 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.4845, allocations: 12 kB / 0.6265 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4845, allocations: 0 / 0.6265 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4845, allocations: 0 / 0.6265 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006763/0.4913, allocations: 4.065 MB / 0.6305 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.4913, allocations: 8 kB / 0.6305 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.4917, allocations: 99.81 kB / 0.6306 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.4917, allocations: 8 kB / 0.6306 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.4918, allocations: 23.94 kB / 0.6306 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.4918, allocations: 15.92 kB / 0.6306 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.4918, allocations: 8 kB / 0.6306 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.4933, allocations: 1.234 MB / 0.6318 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.4937, allocations: 254.6 kB / 0.6321 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.494, allocations: 19.94 kB / 0.6321 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.4945, allocations: 23.98 kB / 0.6321 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.4946, allocations: 55.81 kB / 0.6322 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.4947, allocations: 28 kB / 0.6322 GB, free: 7.215 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.4966, allocations: 1.263 MB / 0.6334 GB, free: 5.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4966, allocations: 0 / 0.6334 GB, free: 5.961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002453/0.4991, allocations: 0.6804 MB / 0.6341 GB, free: 5.277 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.000328/0.4994, allocations: 155 kB / 0.6342 GB, free: 5.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.5025, allocations: 2.036 MB / 0.6362 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5025, allocations: 1.875 kB / 0.6362 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.5031, allocations: 469.1 kB / 0.6367 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5044, allocations: 232.1 kB / 0.6369 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0091/0.5135, allocations: 5.321 MB / 0.6421 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.5162, allocations: 2.275 MB / 0.6443 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.5167, allocations: 143.4 kB / 0.6444 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.5167, allocations: 0 / 0.6444 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.04302/0.5597, allocations: 30.13 MB / 0.6739 GB, free: 12.44 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