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/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.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/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 113.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 204 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01561/0.3489, allocations: 15 MB / 0.5463 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3595, allocations: 5.033 MB / 0.5512 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.362, allocations: 127.6 kB / 0.5513 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009926/0.372, allocations: 5.97 MB / 0.5572 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006715/0.3787, allocations: 2.813 MB / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.3818, allocations: 1.579 MB / 0.5615 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009364/0.3912, allocations: 7.782 MB / 0.5691 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007896/0.3991, allocations: 7.39 MB / 0.5763 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.4041, allocations: 2.929 MB / 0.5791 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007225/0.4114, allocations: 3.797 MB / 0.5828 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.4132, allocations: 0.5703 MB / 0.5834 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/0.4176, allocations: 1.385 MB / 0.5848 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006167/0.4238, allocations: 3.53 MB / 0.5882 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006143/0.43, allocations: 3.833 MB / 0.592 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.4431, allocations: 11.6 MB / 0.6033 GB, free: 8.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4432, allocations: 0 / 0.6033 GB, free: 8.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4432, allocations: 0 / 0.6033 GB, free: 8.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002298/0.4434, allocations: 0 / 0.6033 GB, free: 8.086 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01513/0.4586, allocations: 8.452 MB / 0.6115 GB, free: 15.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4586, allocations: 8.031 kB / 0.6115 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.4691, allocations: 2.471 MB / 0.6139 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009777/0.4789, allocations: 4.516 MB / 0.6184 GB, free: 8.465 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.4793, allocations: 434.5 kB / 0.6188 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.4806, allocations: 0.5349 MB / 0.6193 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/0.508, allocations: 16.69 MB / 0.6356 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.5082, allocations: 63.41 kB / 0.6357 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006572/0.5088, allocations: 263.8 kB / 0.6359 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004194/0.513, allocations: 2.924 MB / 0.6388 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02731/0.5404, allocations: 12.79 MB / 0.6513 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08577/0.6262, allocations: 63.98 MB / 0.7137 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4566/1.083, allocations: 5.485 MB / 0.7191 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/1.086, allocations: 2.12 MB / 0.7212 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/1.101, allocations: 9.928 MB / 0.7309 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.101, allocations: 53 kB / 0.7309 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.621e-06/1.101, allocations: 0 / 0.7309 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03372/1.135, allocations: 14.05 MB / 0.7446 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/1.135, allocations: 153 kB / 0.7448 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006364/1.142, allocations: 6.281 MB / 0.7509 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002411/1.142, allocations: 61.06 kB / 0.751 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.144, allocations: 5.08 MB / 0.7559 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/1.144, allocations: 0.8232 MB / 0.7567 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/1.146, allocations: 1.67 MB / 0.7584 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.386e-05/1.146, allocations: 301.1 kB / 0.7587 GB, free: 137.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/1.148, allocations: 2.327 MB / 0.7609 GB, free: 135 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004166/1.153, allocations: 7.678 MB / 0.7684 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/1.161, allocations: 10.88 MB / 0.779 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.161, allocations: 56 kB / 0.7791 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01307/1.174, allocations: 9.653 MB / 0.7885 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/1.174, allocations: 88.19 kB / 0.7886 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.174, allocations: 188 kB / 0.7888 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/1.174, allocations: 260.7 kB / 0.789 GB, free: 101 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/1.18, allocations: 1.928 MB / 0.7909 GB, free: 99.04 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002259/1.18, allocations: 370.5 kB / 0.7913 GB, free: 98.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005628/1.186, allocations: 403.5 kB / 0.7917 GB, free: 98.29 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005131/1.186, allocations: 0.5229 MB / 0.7922 GB, free: 97.77 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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.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.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.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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.004625/1.191, allocations: 3.289 MB / 0.7954 GB, free: 94.46 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008848/1.192, allocations: 0.5282 MB / 0.7959 GB, free: 93.93 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009948/1.193, allocations: 0.6162 MB / 0.7965 GB, free: 93.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/1.193, allocations: 19.91 kB / 0.7965 GB, free: 93.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.193, allocations: 0 / 0.7965 GB, free: 93.28 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/1.193, allocations: 0.541 MB / 0.797 GB, free: 92.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004478/1.194, allocations: 28 kB / 0.7971 GB, free: 92.69 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.195, allocations: 91.83 kB / 0.7972 GB, free: 92.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.195, allocations: 101.1 kB / 0.7973 GB, free: 92.5 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003048/1.199, allocations: 2.497 MB / 0.7997 GB, free: 90.03 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00246/1.201, allocations: 2.89 MB / 0.8025 GB, free: 87.11 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008894/1.202, allocations: 0.9706 MB / 0.8035 GB, free: 86.14 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005254/1.207, allocations: 3.935 MB / 0.8073 GB, free: 82.21 MB / 0.5607 GB Notification: Performance of Backend: time 6.61e-07/1.207, allocations: 0 / 0.8073 GB, free: 82.21 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007687/1.215, allocations: 4.715 MB / 0.8119 GB, free: 77.57 MB / 0.5607 GB Notification: Performance of SimCode: time 0.01933/1.234, allocations: 14.25 MB / 0.8258 GB, free: 63.27 MB / 0.5607 GB Notification: Performance of Templates: time 0.08927/1.324, allocations: 52.67 MB / 0.8773 GB, free: 10.86 MB / 0.5607 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches