Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009501/0.0009501, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008838/0.0008838, allocations: 93.06 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.169/0.169, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.423e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08573, allocations: 63.24 MB / 0.5114 GB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.4301, allocations: 106.8 MB / 0.6157 GB, free: 3.332 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4304, allocations: 78.45 kB / 0.6158 GB, free: 3.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5824/1.013, allocations: 157.4 MB / 0.7695 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/1.013, allocations: 0 / 0.7695 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003397/1.013, allocations: 151.4 kB / 0.7696 GB, free: 105.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01925/1.032, allocations: 7.363 MB / 0.7768 GB, free: 103 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.032, allocations: 15.16 kB / 0.7768 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/1.049, allocations: 3.52 MB / 0.7803 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/1.064, allocations: 7.874 MB / 0.788 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/1.065, allocations: 0.5621 MB / 0.7885 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/1.067, allocations: 0.743 MB / 0.7892 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/1.093, allocations: 17.51 MB / 0.8063 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/1.094, allocations: 91.98 kB / 0.8064 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008532/1.094, allocations: 366.8 kB / 0.8068 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001839/1.096, allocations: 1.616 MB / 0.8084 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/1.119, allocations: 13.39 MB / 0.8214 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06743/1.187, allocations: 74.59 MB / 0.8943 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/1.2, allocations: 5.449 MB / 0.8996 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/1.202, allocations: 2.069 MB / 0.9016 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/1.216, allocations: 9.966 MB / 0.9114 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.216, allocations: 63.75 kB / 0.9114 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 4.699e-06/1.216, allocations: 0 / 0.9114 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.03041/1.246, allocations: 13.36 MB / 0.9245 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.246, allocations: 157.7 kB / 0.9246 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/1.252, allocations: 5.51 MB / 0.93 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/1.252, allocations: 53.7 kB / 0.93 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002105/1.254, allocations: 5.306 MB / 0.9352 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/1.255, allocations: 0.8237 MB / 0.936 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/1.255, allocations: 160 kB / 0.9362 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002861/1.255, allocations: 0.6418 MB / 0.9368 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/1.258, allocations: 2.089 MB / 0.9389 GB, free: 436 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009798/1.267, allocations: 7.701 MB / 0.9464 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/1.273, allocations: 3.889 MB / 0.9502 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.29e-05/1.273, allocations: 52 kB / 0.9502 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.275/1.548, allocations: 9.144 MB / 0.9591 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/1.548, allocations: 87.48 kB / 0.9592 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004334/1.548, allocations: 191.1 kB / 0.9594 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/1.549, allocations: 277.2 kB / 0.9597 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007724/1.557, allocations: 1.99 MB / 0.9616 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003909/1.557, allocations: 375.7 kB / 0.962 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007208/1.564, allocations: 0.5734 MB / 0.9625 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009908/1.565, allocations: 0.4967 MB / 0.963 GB, free: 104.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * 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 prepare postOptimizeDAE: time 0.001027/1.566, allocations: 0.7628 MB / 0.9638 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007823/1.567, allocations: 0.5414 MB / 0.9643 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/1.568, allocations: 0.6478 MB / 0.9649 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/1.569, allocations: 22.84 kB / 0.965 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.569, allocations: 1.953 kB / 0.965 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.569, allocations: 14.36 kB / 0.965 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/1.593, allocations: 16.64 MB / 0.9812 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.833e-05/1.593, allocations: 39.56 kB / 0.9813 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.594, allocations: 377.1 kB / 0.9816 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.795e-05/1.594, allocations: 60.34 kB / 0.9817 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.594, allocations: 81.44 kB / 0.9818 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-05/1.594, allocations: 71.52 kB / 0.9818 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-05/1.594, allocations: 63.92 kB / 0.9819 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004419/1.598, allocations: 10.37 MB / 0.992 GB, free: 93.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.6, allocations: 0.6196 MB / 0.9926 GB, free: 93.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/1.6, allocations: 91.92 kB / 0.9927 GB, free: 93.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.602, allocations: 161.2 kB / 0.9929 GB, free: 93.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/1.602, allocations: 257.5 kB / 0.9931 GB, free: 93.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.602, allocations: 112.5 kB / 0.9932 GB, free: 93.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005999/1.608, allocations: 3.85 MB / 0.997 GB, free: 92.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.51e-07/1.608, allocations: 0 / 0.997 GB, free: 92.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008769/1.617, allocations: 1.361 MB / 0.9983 GB, free: 92.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 195 * 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.000638/1.618, allocations: 239.7 kB / 0.9985 GB, free: 92.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007022/1.625, allocations: 5.031 MB / 1.003 GB, free: 92.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.6e-05/1.625, allocations: 6.844 kB / 1.003 GB, free: 92.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.626, allocations: 1.103 MB / 1.005 GB, free: 92.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/1.63, allocations: 0.8177 MB / 1.005 GB, free: 92.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.648, allocations: 12.43 MB / 1.017 GB, free: 88.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004887/1.653, allocations: 5.386 MB / 1.023 GB, free: 87.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005848/1.659, allocations: 2.564 MB / 1.025 GB, free: 87.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/1.66, allocations: 349.5 kB / 1.026 GB, free: 87.45 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/1.66, allocations: 0 / 1.026 GB, free: 87.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.0689/1.729, allocations: 41.6 MB / 1.066 GB, free: 75.56 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches