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.001581/0.001581, allocations: 113.7 kB / 18.45 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.00178/0.00178, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.751/1.751, 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.21/0.21, allocations: 46.1 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 79.86 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3382, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01525/0.3535, allocations: 15.01 MB / 0.5463 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.3648, allocations: 5.041 MB / 0.5512 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/0.3682, allocations: 119.7 kB / 0.5513 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009831/0.378, allocations: 5.974 MB / 0.5572 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007916/0.3861, allocations: 2.731 MB / 0.5598 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.3895, allocations: 1.579 MB / 0.5614 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01061/0.4001, allocations: 7.783 MB / 0.569 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008012/0.4081, allocations: 7.386 MB / 0.5762 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/0.4127, allocations: 2.933 MB / 0.5791 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005339/0.4181, allocations: 3.789 MB / 0.5828 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.4198, allocations: 0.5703 MB / 0.5833 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.4229, allocations: 1.389 MB / 0.5847 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003487/0.4264, allocations: 3.534 MB / 0.5881 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00389/0.4303, allocations: 3.825 MB / 0.5919 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.4422, allocations: 11.6 MB / 0.6032 GB, free: 8.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4423, allocations: 0 / 0.6032 GB, free: 8.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4423, allocations: 0 / 0.6032 GB, free: 8.148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004073/0.4427, allocations: 0 / 0.6032 GB, free: 8.148 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.02078/0.4635, allocations: 8.452 MB / 0.6115 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4636, allocations: 8.031 kB / 0.6115 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009914/0.4735, allocations: 2.467 MB / 0.6139 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.4852, allocations: 4.516 MB / 0.6183 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004797/0.4857, allocations: 438.5 kB / 0.6187 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/0.4882, allocations: 0.5387 MB / 0.6192 GB, free: 7.562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03264/0.5208, allocations: 16.69 MB / 0.6355 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.5211, allocations: 67.34 kB / 0.6356 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009956/0.5221, allocations: 263.8 kB / 0.6358 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004651/0.5267, allocations: 2.92 MB / 0.6387 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02817/0.5549, allocations: 12.79 MB / 0.6512 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08515/0.6401, allocations: 63.96 MB / 0.7136 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.488/1.128, allocations: 5.37 MB / 0.7189 GB, free: 160.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/1.131, allocations: 2.118 MB / 0.721 GB, free: 159.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/1.146, allocations: 9.926 MB / 0.7307 GB, free: 154.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.146, allocations: 64.72 kB / 0.7307 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.207e-06/1.146, allocations: 0 / 0.7307 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.02915/1.176, allocations: 13.96 MB / 0.7443 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.176, allocations: 160.9 kB / 0.7445 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006305/1.182, allocations: 6.286 MB / 0.7506 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/1.182, allocations: 57.7 kB / 0.7507 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001962/1.184, allocations: 5.086 MB / 0.7557 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/1.185, allocations: 0.816 MB / 0.7565 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/1.186, allocations: 1.674 MB / 0.7581 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/1.186, allocations: 301.1 kB / 0.7584 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/1.189, allocations: 2.327 MB / 0.7607 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005276/1.194, allocations: 7.678 MB / 0.7681 GB, free: 125 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008709/1.203, allocations: 10.87 MB / 0.7788 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/1.203, allocations: 56 kB / 0.7788 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01303/1.216, allocations: 9.648 MB / 0.7882 GB, free: 101.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/1.216, allocations: 84 kB / 0.7883 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/1.216, allocations: 192.8 kB / 0.7885 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/1.217, allocations: 251.9 kB / 0.7887 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004751/1.221, allocations: 1.922 MB / 0.7906 GB, free: 99.32 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001819/1.222, allocations: 378.5 kB / 0.791 GB, free: 98.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/1.226, allocations: 407.5 kB / 0.7914 GB, free: 98.55 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005429/1.227, allocations: 0.5155 MB / 0.7919 GB, free: 98.04 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.003514/1.231, allocations: 3.285 MB / 0.7951 GB, free: 94.74 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006176/1.231, allocations: 0.5282 MB / 0.7956 GB, free: 94.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/1.232, allocations: 0.6318 MB / 0.7962 GB, free: 93.56 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/1.232, allocations: 23.75 kB / 0.7962 GB, free: 93.54 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.232, allocations: 0 / 0.7962 GB, free: 93.54 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.232, allocations: 19.84 kB / 0.7963 GB, free: 93.53 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.249, allocations: 14.98 MB / 0.8109 GB, free: 77.87 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/1.249, allocations: 48 kB / 0.8109 GB, free: 77.82 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.25, allocations: 451.1 kB / 0.8114 GB, free: 77.38 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.076e-05/1.25, allocations: 60 kB / 0.8114 GB, free: 77.32 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.25, allocations: 96 kB / 0.8115 GB, free: 77.23 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.006e-05/1.25, allocations: 95.58 kB / 0.8116 GB, free: 77.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-05/1.25, allocations: 71.69 kB / 0.8117 GB, free: 77.07 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/1.255, allocations: 4.29 MB / 0.8159 GB, free: 72.07 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.257, allocations: 0.6306 MB / 0.8165 GB, free: 71.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.258, allocations: 111.6 kB / 0.8166 GB, free: 71.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/1.26, allocations: 108 kB / 0.8167 GB, free: 71.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/1.261, allocations: 310.5 kB / 0.817 GB, free: 70.89 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.261, allocations: 128 kB / 0.8171 GB, free: 70.77 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006689/1.268, allocations: 3.927 MB / 0.8209 GB, free: 66.85 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.91e-07/1.268, allocations: 4 kB / 0.8209 GB, free: 66.85 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008694/1.276, allocations: 1.325 MB / 0.8222 GB, free: 65.53 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.00067/1.277, allocations: 276.8 kB / 0.8225 GB, free: 65.25 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007675/1.285, allocations: 5.476 MB / 0.8279 GB, free: 59.85 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.124e-05/1.285, allocations: 4 kB / 0.8279 GB, free: 59.84 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.286, allocations: 1.202 MB / 0.829 GB, free: 58.65 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/1.292, allocations: 0.8896 MB / 0.8299 GB, free: 57.78 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.316, allocations: 15.77 MB / 0.8453 GB, free: 41.32 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005296/1.321, allocations: 5.056 MB / 0.8502 GB, free: 36.22 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.323, allocations: 415.4 kB / 0.8506 GB, free: 35.82 MB / 0.5607 GB Notification: Performance of SimCode: time 1.673e-06/1.323, allocations: 0 / 0.8506 GB, free: 35.82 MB / 0.5607 GB Notification: Performance of Templates: time 0.1295/1.452, allocations: 86.13 MB / 0.9347 GB, free: 13.75 MB / 0.6232 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