Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, 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.001525/0.001524, 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.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.12 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 80.42 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 62.45 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.02743/0.1407, allocations: 30.3 MB / 0.4983 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.1543, allocations: 6.321 MB / 0.5045 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005887/0.1603, allocations: 123.8 kB / 0.5046 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2164/0.3767, allocations: 1.994 MB / 0.5065 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.3802, allocations: 1.048 MB / 0.5075 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.3811, allocations: 264.1 kB / 0.5078 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005817/0.3869, allocations: 3.363 MB / 0.5111 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/0.3903, allocations: 2.289 MB / 0.5133 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.3918, allocations: 0.7853 MB / 0.5141 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.3936, allocations: 1.221 MB / 0.5153 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.394, allocations: 146.2 kB / 0.5154 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.3955, allocations: 0.6936 MB / 0.5161 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.3967, allocations: 1.077 MB / 0.5171 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3979, allocations: 1.269 MB / 0.5184 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.4013, allocations: 3.393 MB / 0.5217 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4014, allocations: 0 / 0.5217 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4014, allocations: 2.578 kB / 0.5217 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.4015, allocations: 1.281 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.005761/0.4073, allocations: 2.867 MB / 0.5245 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4073, allocations: 13.31 kB / 0.5245 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.4122, allocations: 1.556 MB / 0.526 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.4149, allocations: 1.32 MB / 0.5273 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.415, allocations: 144.6 kB / 0.5275 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004141/0.4155, allocations: 184.2 kB / 0.5276 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009567/0.425, allocations: 6.249 MB / 0.5337 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.4251, allocations: 13.12 kB / 0.5337 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/0.4254, allocations: 89.69 kB / 0.5338 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001784/0.4272, allocations: 1.344 MB / 0.5351 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009861/0.4371, allocations: 5.338 MB / 0.5404 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03435/0.4714, allocations: 20.17 MB / 0.5601 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/0.4763, allocations: 2.005 MB / 0.562 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.4775, allocations: 0.6914 MB / 0.5627 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00738/0.4849, allocations: 3.614 MB / 0.5662 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.485, allocations: 43 kB / 0.5663 GB, free: 3.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.999e-06/0.485, allocations: 0 / 0.5663 GB, free: 3.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005616/0.4906, allocations: 1.98 MB / 0.5682 GB, free: 1.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.4907, allocations: 63.84 kB / 0.5683 GB, free: 1.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/0.4944, allocations: 1.933 MB / 0.5701 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.4945, allocations: 29.7 kB / 0.5702 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.4959, allocations: 1.842 MB / 0.572 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.4964, allocations: 311.3 kB / 0.5723 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.4974, allocations: 0.6172 MB / 0.5729 GB, free: 12.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4976, allocations: 356.5 kB / 0.5732 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.4991, allocations: 0.8881 MB / 0.5741 GB, free: 11.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.502, allocations: 2.755 MB / 0.5768 GB, free: 7.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/0.5069, allocations: 3.966 MB / 0.5806 GB, free: 2.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.079e-05/0.507, allocations: 20.84 kB / 0.5807 GB, free: 2.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006209/0.5132, allocations: 3.516 MB / 0.5841 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.5133, allocations: 36 kB / 0.5841 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.5134, allocations: 64 kB / 0.5842 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.5135, allocations: 95.45 kB / 0.5843 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.5155, allocations: 0.6553 MB / 0.5849 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.5156, allocations: 130.7 kB / 0.585 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.518, allocations: 425.1 kB / 0.5855 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/0.5183, allocations: 188 kB / 0.5856 GB, free: 14.31 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.002543/0.5209, allocations: 1.342 MB / 0.5869 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.5212, allocations: 157.9 kB / 0.5871 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.5216, allocations: 196.9 kB / 0.5873 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.5217, allocations: 12 kB / 0.5873 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5217, allocations: 3.938 kB / 0.5873 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5217, allocations: 3.984 kB / 0.5873 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007876/0.5296, allocations: 4.013 MB / 0.5912 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.5296, allocations: 8 kB / 0.5912 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.53, allocations: 111.8 kB / 0.5913 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.5301, allocations: 12 kB / 0.5913 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.5301, allocations: 27.94 kB / 0.5914 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.5301, allocations: 8 kB / 0.5914 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5301, allocations: 11.94 kB / 0.5914 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.5318, allocations: 1.267 MB / 0.5926 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.5323, allocations: 254.7 kB / 0.5929 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/0.5326, allocations: 12 kB / 0.5929 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.5332, allocations: 35.89 kB / 0.5929 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5333, allocations: 51.81 kB / 0.593 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.5334, allocations: 32 kB / 0.593 GB, free: 6.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002204/0.5356, allocations: 1.267 MB / 0.5942 GB, free: 5.309 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5356, allocations: 0 / 0.5942 GB, free: 5.309 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003084/0.5387, allocations: 0.6838 MB / 0.5949 GB, free: 4.625 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.0004047/0.5391, allocations: 140.2 kB / 0.595 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.5425, allocations: 2.025 MB / 0.597 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5425, allocations: 0 / 0.597 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.5431, allocations: 464 kB / 0.5975 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5447, allocations: 230.3 kB / 0.5977 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.5574, allocations: 6.702 MB / 0.6042 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/0.5608, allocations: 2.279 MB / 0.6064 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.5613, allocations: 139.4 kB / 0.6066 GB, free: 8.527 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5614, allocations: 0 / 0.6066 GB, free: 8.527 MB / 462.1 MB Notification: Performance of Templates: time 0.04867/0.61, allocations: 29.85 MB / 0.6357 GB, free: 10.75 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches