Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 80.16 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2896, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01609/0.3057, allocations: 15 MB / 0.5463 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.3168, allocations: 5.044 MB / 0.5512 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.3201, allocations: 127.6 kB / 0.5514 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.3302, allocations: 5.966 MB / 0.5572 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00646/0.3367, allocations: 2.727 MB / 0.5598 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.3398, allocations: 1.583 MB / 0.5614 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009548/0.3494, allocations: 7.782 MB / 0.569 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008936/0.3584, allocations: 7.382 MB / 0.5762 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.3626, allocations: 2.937 MB / 0.5791 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005464/0.3681, allocations: 3.789 MB / 0.5828 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.3698, allocations: 0.5742 MB / 0.5833 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.3738, allocations: 1.397 MB / 0.5847 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004377/0.3782, allocations: 3.527 MB / 0.5881 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005966/0.3842, allocations: 3.829 MB / 0.5919 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.3979, allocations: 11.6 MB / 0.6032 GB, free: 8.168 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.398, allocations: 0 / 0.6032 GB, free: 8.168 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.398, allocations: 0 / 0.6032 GB, free: 8.168 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003385/0.3983, allocations: 0 / 0.6032 GB, free: 8.168 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.01612/0.4144, allocations: 8.452 MB / 0.6115 GB, free: 15.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4145, allocations: 8.031 kB / 0.6115 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009163/0.4237, allocations: 2.475 MB / 0.6139 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007888/0.4316, allocations: 4.509 MB / 0.6183 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.4319, allocations: 434.5 kB / 0.6187 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009757/0.4329, allocations: 0.5387 MB / 0.6192 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/0.4607, allocations: 16.68 MB / 0.6355 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.461, allocations: 79.33 kB / 0.6356 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008729/0.4618, allocations: 259.8 kB / 0.6358 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003862/0.4657, allocations: 2.931 MB / 0.6387 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.4904, allocations: 12.79 MB / 0.6512 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0775/0.5679, allocations: 63.97 MB / 0.7137 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4393/1.007, allocations: 5.374 MB / 0.7189 GB, free: 160 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00316/1.01, allocations: 2.12 MB / 0.721 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01417/1.025, allocations: 9.922 MB / 0.7307 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.025, allocations: 60.47 kB / 0.7307 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.491e-06/1.025, allocations: 0 / 0.7307 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03111/1.056, allocations: 13.96 MB / 0.7444 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/1.056, allocations: 145 kB / 0.7445 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005625/1.061, allocations: 6.287 MB / 0.7506 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/1.062, allocations: 61.14 kB / 0.7507 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/1.063, allocations: 5.081 MB / 0.7557 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000387/1.064, allocations: 0.8236 MB / 0.7565 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/1.065, allocations: 1.674 MB / 0.7581 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/1.065, allocations: 301.1 kB / 0.7584 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/1.068, allocations: 2.32 MB / 0.7606 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004253/1.072, allocations: 7.681 MB / 0.7681 GB, free: 125 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007977/1.08, allocations: 10.88 MB / 0.7788 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.851e-05/1.08, allocations: 52 kB / 0.7788 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01266/1.093, allocations: 9.642 MB / 0.7882 GB, free: 101.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.093, allocations: 88 kB / 0.7883 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002192/1.093, allocations: 192 kB / 0.7885 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/1.093, allocations: 251.9 kB / 0.7887 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/1.098, allocations: 1.934 MB / 0.7906 GB, free: 99.35 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000244/1.099, allocations: 372.4 kB / 0.791 GB, free: 98.99 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005461/1.104, allocations: 400.4 kB / 0.7914 GB, free: 98.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007754/1.105, allocations: 0.5153 MB / 0.7919 GB, free: 98.09 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 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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.004458/1.109, allocations: 3.292 MB / 0.7951 GB, free: 94.78 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009531/1.11, allocations: 0.5321 MB / 0.7956 GB, free: 94.24 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.112, allocations: 0.6239 MB / 0.7962 GB, free: 93.61 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.112, allocations: 15.91 kB / 0.7962 GB, free: 93.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.112, allocations: 0 / 0.7962 GB, free: 93.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.113, allocations: 0.5449 MB / 0.7968 GB, free: 93.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/1.114, allocations: 28 kB / 0.7968 GB, free: 93 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/1.115, allocations: 79.91 kB / 0.7969 GB, free: 92.92 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/1.116, allocations: 101.2 kB / 0.797 GB, free: 92.82 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003209/1.119, allocations: 2.491 MB / 0.7994 GB, free: 90.36 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002616/1.121, allocations: 2.892 MB / 0.8022 GB, free: 87.44 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000894/1.122, allocations: 0.9752 MB / 0.8032 GB, free: 86.47 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005346/1.128, allocations: 3.935 MB / 0.807 GB, free: 82.54 MB / 0.5607 GB Notification: Performance of Backend: time 2.5e-07/1.128, allocations: 0 / 0.807 GB, free: 82.54 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00787/1.136, allocations: 4.711 MB / 0.8116 GB, free: 77.89 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02075/1.156, allocations: 14.25 MB / 0.8255 GB, free: 63.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.08539/1.242, allocations: 52.78 MB / 0.8771 GB, free: 11.15 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches