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.00119/0.00119, allocations: 117.7 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.001282/0.001282, allocations: 208.8 kB / 19.41 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.261/1.261, 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.1987/0.1987, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 75.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 62.43 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.009452/0.2972, allocations: 9.526 MB / 0.5409 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005427/0.3026, allocations: 2.921 MB / 0.5438 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3038, allocations: 52.53 kB / 0.5438 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.3072, allocations: 1.998 MB / 0.5458 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.3096, allocations: 1.129 MB / 0.5469 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.3103, allocations: 290.6 kB / 0.5472 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.3129, allocations: 2.329 MB / 0.5495 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.3151, allocations: 2.308 MB / 0.5517 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3162, allocations: 0.8762 MB / 0.5526 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.3174, allocations: 1.153 MB / 0.5537 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003847/0.3178, allocations: 196 kB / 0.5539 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.319, allocations: 0.7021 MB / 0.5546 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009471/0.3199, allocations: 1.114 MB / 0.5557 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.3212, allocations: 1.305 MB / 0.5569 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.3249, allocations: 4.315 MB / 0.5611 GB, free: 3.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3249, allocations: 0 / 0.5611 GB, free: 3.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3249, allocations: 0 / 0.5611 GB, free: 3.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.128e-05/0.325, allocations: 4 kB / 0.5611 GB, free: 3.367 MB / 414.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.004079/0.3291, allocations: 2.861 MB / 0.5639 GB, free: 460 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3291, allocations: 12.02 kB / 0.5639 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004372/0.3335, allocations: 1.561 MB / 0.5655 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.3358, allocations: 1.34 MB / 0.5668 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/0.336, allocations: 140 kB / 0.5669 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.3363, allocations: 191.8 kB / 0.5671 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00867/0.345, allocations: 6.25 MB / 0.5732 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.938e-05/0.3451, allocations: 15.88 kB / 0.5732 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/0.3454, allocations: 87.91 kB / 0.5733 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/0.3472, allocations: 1.34 MB / 0.5746 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00895/0.3562, allocations: 5.331 MB / 0.5798 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02431/0.3805, allocations: 20.04 MB / 0.5994 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/0.3844, allocations: 2.003 MB / 0.6013 GB, free: 9.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009428/0.3854, allocations: 0.703 MB / 0.602 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006147/0.3916, allocations: 3.604 MB / 0.6055 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3916, allocations: 39 kB / 0.6056 GB, free: 4.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.699e-06/0.3917, allocations: 4 kB / 0.6056 GB, free: 4.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005061/0.3967, allocations: 1.977 MB / 0.6075 GB, free: 2.613 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3968, allocations: 59.78 kB / 0.6076 GB, free: 2.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/0.3994, allocations: 1.937 MB / 0.6095 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.3995, allocations: 37.7 kB / 0.6095 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.4006, allocations: 1.832 MB / 0.6113 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.4009, allocations: 316.1 kB / 0.6116 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007014/0.4016, allocations: 0.619 MB / 0.6122 GB, free: 13.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4017, allocations: 357.9 kB / 0.6125 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4029, allocations: 0.8842 MB / 0.6134 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.405, allocations: 2.755 MB / 0.6161 GB, free: 8.824 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.4086, allocations: 3.962 MB / 0.62 GB, free: 3.938 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-05/0.4087, allocations: 20 kB / 0.62 GB, free: 3.918 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005056/0.4137, allocations: 3.529 MB / 0.6234 GB, free: 392 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.4138, allocations: 32 kB / 0.6235 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.782e-05/0.4139, allocations: 68 kB / 0.6235 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.823e-05/0.414, allocations: 88 kB / 0.6236 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.4157, allocations: 0.6588 MB / 0.6242 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/0.4158, allocations: 127.5 kB / 0.6244 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.4176, allocations: 411.8 kB / 0.6248 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.4179, allocations: 195.9 kB / 0.6249 GB, free: 14.82 MB / 494.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.001781/0.4197, allocations: 1.338 MB / 0.6263 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.42, allocations: 157.8 kB / 0.6264 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.4203, allocations: 196.9 kB / 0.6266 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.4204, allocations: 19.86 kB / 0.6266 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4204, allocations: 0 / 0.6266 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4204, allocations: 8 kB / 0.6266 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/0.4264, allocations: 4.02 MB / 0.6305 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.4265, allocations: 8 kB / 0.6306 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.4268, allocations: 100.7 kB / 0.6307 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.4269, allocations: 8 kB / 0.6307 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.4269, allocations: 27.97 kB / 0.6307 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.4269, allocations: 15.94 kB / 0.6307 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4269, allocations: 11.94 kB / 0.6307 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.4283, allocations: 1.258 MB / 0.6319 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.4286, allocations: 246.8 kB / 0.6322 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.4289, allocations: 23.98 kB / 0.6322 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.4294, allocations: 31.83 kB / 0.6322 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.4295, allocations: 55.81 kB / 0.6323 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.4295, allocations: 28 kB / 0.6323 GB, free: 6.988 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001718/0.4313, allocations: 1.271 MB / 0.6336 GB, free: 5.727 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4313, allocations: 0 / 0.6336 GB, free: 5.727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002214/0.4335, allocations: 0.6727 MB / 0.6342 GB, free: 5.051 MB / 494.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.0002841/0.4338, allocations: 154.9 kB / 0.6344 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.4366, allocations: 2.043 MB / 0.6363 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4366, allocations: 0 / 0.6363 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.4372, allocations: 469 kB / 0.6368 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.4384, allocations: 244.7 kB / 0.637 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/0.4467, allocations: 5.359 MB / 0.6423 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/0.4492, allocations: 2.275 MB / 0.6445 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.4496, allocations: 147.4 kB / 0.6446 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.4496, allocations: 0 / 0.6446 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.03875/0.4884, allocations: 30.17 MB / 0.6741 GB, free: 12.11 MB / 0.5294 GB 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