Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2627/0.2627, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 79.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4243, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01123/0.4355, allocations: 9.52 MB / 0.5403 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007364/0.443, allocations: 2.922 MB / 0.5431 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.4449, allocations: 56.44 kB / 0.5432 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.4495, allocations: 1.99 MB / 0.5451 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.4532, allocations: 1.133 MB / 0.5462 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.4543, allocations: 294.4 kB / 0.5465 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004117/0.4585, allocations: 2.33 MB / 0.5488 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003553/0.4621, allocations: 2.301 MB / 0.551 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.464, allocations: 0.88 MB / 0.5519 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.466, allocations: 1.153 MB / 0.553 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.4666, allocations: 192 kB / 0.5532 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.4684, allocations: 0.7021 MB / 0.5539 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.4699, allocations: 1.11 MB / 0.555 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.4723, allocations: 1.305 MB / 0.5562 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.478, allocations: 4.327 MB / 0.5605 GB, free: 3.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.478, allocations: 0 / 0.5605 GB, free: 3.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.478, allocations: 0 / 0.5605 GB, free: 3.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001678/0.4782, allocations: 0 / 0.5605 GB, free: 3.422 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.005979/0.4842, allocations: 2.861 MB / 0.5633 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4842, allocations: 8.031 kB / 0.5633 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.4892, allocations: 1.561 MB / 0.5648 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.4922, allocations: 1.34 MB / 0.5661 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.4924, allocations: 144 kB / 0.5662 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.4929, allocations: 191.8 kB / 0.5664 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.5036, allocations: 6.246 MB / 0.5725 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.5037, allocations: 11.88 kB / 0.5725 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.5039, allocations: 87.91 kB / 0.5726 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002126/0.506, allocations: 1.34 MB / 0.5739 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.5164, allocations: 5.329 MB / 0.5791 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02842/0.5449, allocations: 20 MB / 0.5987 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.5493, allocations: 2.092 MB / 0.6007 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.5504, allocations: 0.6836 MB / 0.6014 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00622/0.5566, allocations: 3.491 MB / 0.6048 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5567, allocations: 35 kB / 0.6048 GB, free: 4.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.477e-06/0.5567, allocations: 4 kB / 0.6048 GB, free: 4.746 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005377/0.5621, allocations: 1.97 MB / 0.6067 GB, free: 2.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.5621, allocations: 55.84 kB / 0.6068 GB, free: 2.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/0.5651, allocations: 1.933 MB / 0.6087 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.5652, allocations: 37.7 kB / 0.6087 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.5665, allocations: 1.837 MB / 0.6105 GB, free: 14.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5668, allocations: 316.1 kB / 0.6108 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007857/0.5676, allocations: 0.615 MB / 0.6114 GB, free: 13.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5677, allocations: 369.8 kB / 0.6118 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.569, allocations: 0.8842 MB / 0.6126 GB, free: 12.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.5715, allocations: 2.751 MB / 0.6153 GB, free: 8.973 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004583/0.5761, allocations: 3.962 MB / 0.6192 GB, free: 4.086 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-05/0.5761, allocations: 20 kB / 0.6192 GB, free: 4.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006469/0.5826, allocations: 3.52 MB / 0.6226 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.5828, allocations: 32 kB / 0.6227 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.5829, allocations: 68 kB / 0.6227 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.583, allocations: 88 kB / 0.6228 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.5852, allocations: 0.6557 MB / 0.6235 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001219/0.5853, allocations: 135.5 kB / 0.6236 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.5875, allocations: 419.5 kB / 0.624 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/0.5879, allocations: 188 kB / 0.6242 GB, free: 14.97 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.002686/0.5906, allocations: 1.338 MB / 0.6255 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.5909, allocations: 161.9 kB / 0.6256 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.5914, allocations: 192.9 kB / 0.6258 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.5914, allocations: 8 kB / 0.6258 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5914, allocations: 4 kB / 0.6258 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5914, allocations: 7.969 kB / 0.6258 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008069/0.5995, allocations: 4.073 MB / 0.6298 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.5996, allocations: 11.98 kB / 0.6298 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.6, allocations: 91.89 kB / 0.6299 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.6, allocations: 8 kB / 0.6299 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.6001, allocations: 31.86 kB / 0.63 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.6001, allocations: 8 kB / 0.63 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.6001, allocations: 7.938 kB / 0.63 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.6017, allocations: 1.23 MB / 0.6312 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.6022, allocations: 254.6 kB / 0.6314 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.6025, allocations: 23.94 kB / 0.6314 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.603, allocations: 27.95 kB / 0.6315 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.6032, allocations: 59.77 kB / 0.6315 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.6033, allocations: 28 kB / 0.6315 GB, free: 7.148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.6052, allocations: 1.263 MB / 0.6328 GB, free: 5.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6052, allocations: 0 / 0.6328 GB, free: 5.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002681/0.6079, allocations: 0.6843 MB / 0.6334 GB, free: 5.207 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.0003422/0.6082, allocations: 147 kB / 0.6336 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003507/0.6118, allocations: 2.033 MB / 0.6356 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.6118, allocations: 1.875 kB / 0.6356 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.6124, allocations: 469.2 kB / 0.636 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.6137, allocations: 230 kB / 0.6362 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009221/0.623, allocations: 5.015 MB / 0.6411 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/0.6263, allocations: 2.271 MB / 0.6434 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002321/0.6286, allocations: 0.948 MB / 0.6443 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.629, allocations: 119.4 kB / 0.6444 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of SimCode: time 1.332e-06/0.629, allocations: 0 / 0.6444 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.03378/0.6628, allocations: 15.03 MB / 0.6591 GB, free: 10.86 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches