Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001913, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.12 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 77.72 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1151, allocations: 62.44 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.02942/0.1445, allocations: 30.31 MB / 0.4983 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.1601, allocations: 6.321 MB / 0.5045 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005174/0.1653, allocations: 127.7 kB / 0.5046 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2041/0.3695, allocations: 1.986 MB / 0.5065 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.3727, allocations: 1.044 MB / 0.5075 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.3736, allocations: 269.2 kB / 0.5078 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005113/0.3788, allocations: 3.365 MB / 0.5111 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.3827, allocations: 2.287 MB / 0.5133 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.3846, allocations: 0.7791 MB / 0.5141 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.3871, allocations: 1.224 MB / 0.5153 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000962/0.3881, allocations: 150.5 kB / 0.5154 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.3905, allocations: 0.6912 MB / 0.5161 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.3924, allocations: 1.073 MB / 0.5171 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.3952, allocations: 1.268 MB / 0.5184 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.4002, allocations: 3.395 MB / 0.5217 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4003, allocations: 4 kB / 0.5217 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4003, allocations: 3 kB / 0.5217 GB, free: 9.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.4005, allocations: 5.438 kB / 0.5217 GB, free: 9.199 MB / 382.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.009471/0.41, allocations: 2.858 MB / 0.5245 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.41, allocations: 8.906 kB / 0.5245 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.4153, allocations: 1.563 MB / 0.526 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.4184, allocations: 1.312 MB / 0.5273 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.4185, allocations: 144.8 kB / 0.5274 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008254/0.4194, allocations: 188.1 kB / 0.5276 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.4312, allocations: 6.247 MB / 0.5337 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.4313, allocations: 22.73 kB / 0.5338 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000787/0.4321, allocations: 86.38 kB / 0.5338 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002092/0.4342, allocations: 1.343 MB / 0.5351 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.4445, allocations: 5.333 MB / 0.5404 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03181/0.4764, allocations: 20.17 MB / 0.56 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004386/0.4808, allocations: 2.006 MB / 0.562 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4819, allocations: 0.699 MB / 0.5627 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006716/0.4886, allocations: 3.616 MB / 0.5662 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4887, allocations: 35 kB / 0.5663 GB, free: 3.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.447e-06/0.4887, allocations: 0 / 0.5663 GB, free: 3.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005469/0.4942, allocations: 1.987 MB / 0.5682 GB, free: 1.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4943, allocations: 59.83 kB / 0.5683 GB, free: 1.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/0.4976, allocations: 1.937 MB / 0.5701 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.4977, allocations: 29.7 kB / 0.5702 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.499, allocations: 1.844 MB / 0.572 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.4993, allocations: 308.5 kB / 0.5723 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008735/0.5002, allocations: 0.6179 MB / 0.5729 GB, free: 12.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5004, allocations: 357.9 kB / 0.5732 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.5017, allocations: 0.888 MB / 0.5741 GB, free: 11.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.5042, allocations: 2.751 MB / 0.5768 GB, free: 7.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/0.5085, allocations: 3.973 MB / 0.5806 GB, free: 2.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.256e-05/0.5085, allocations: 16 kB / 0.5807 GB, free: 2.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.0057/0.5143, allocations: 3.521 MB / 0.5841 GB, free: 15.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.5143, allocations: 38.56 kB / 0.5841 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.5145, allocations: 64 kB / 0.5842 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.5146, allocations: 88 kB / 0.5843 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.5165, allocations: 0.6543 MB / 0.5849 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/0.5166, allocations: 135.2 kB / 0.585 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.5188, allocations: 415.5 kB / 0.5854 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.5191, allocations: 198.3 kB / 0.5856 GB, free: 14.29 MB / 446.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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.002395/0.5215, allocations: 1.342 MB / 0.5869 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.5218, allocations: 157.4 kB / 0.5871 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.5222, allocations: 196.9 kB / 0.5873 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.5222, allocations: 10.58 kB / 0.5873 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.5223, allocations: 3.938 kB / 0.5873 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5223, allocations: 3.984 kB / 0.5873 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007634/0.5299, allocations: 4.024 MB / 0.5912 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.53, allocations: 4 kB / 0.5912 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.5304, allocations: 107.8 kB / 0.5913 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.5304, allocations: 8.75 kB / 0.5913 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.5305, allocations: 20 kB / 0.5914 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/0.5305, allocations: 19.92 kB / 0.5914 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.5305, allocations: 15.88 kB / 0.5914 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.5321, allocations: 1.253 MB / 0.5926 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/0.5327, allocations: 254.7 kB / 0.5929 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.533, allocations: 16 kB / 0.5929 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/0.5337, allocations: 35.81 kB / 0.5929 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.5338, allocations: 55.83 kB / 0.593 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.5339, allocations: 28 kB / 0.593 GB, free: 6.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002386/0.5363, allocations: 1.267 MB / 0.5942 GB, free: 5.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5363, allocations: 4 kB / 0.5942 GB, free: 5.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003184/0.5395, allocations: 0.6751 MB / 0.5949 GB, free: 4.609 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0004391/0.54, allocations: 149.8 kB / 0.595 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.5435, allocations: 2.024 MB / 0.597 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.5435, allocations: 0 / 0.597 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.5441, allocations: 467 kB / 0.5975 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.5459, allocations: 237.2 kB / 0.5977 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.5589, allocations: 6.701 MB / 0.6042 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/0.5626, allocations: 2.279 MB / 0.6065 GB, free: 8.633 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/0.5632, allocations: 147.4 kB / 0.6066 GB, free: 8.488 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5632, allocations: 0 / 0.6066 GB, free: 8.488 MB / 462.1 MB Notification: Performance of Templates: time 0.05143/0.6146, allocations: 29.82 MB / 0.6357 GB, free: 10.73 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches