Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009579/0.000958, allocations: 170.3 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 97.09 kB / 271.3 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3069/0.3069, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 12 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09615, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.5308, allocations: 105.2 MB / 0.5827 GB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.5312, allocations: 83.95 kB / 0.5828 GB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6662/1.197, allocations: 163.3 MB / 0.7423 GB, free: 82.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.757e-06/1.197, allocations: 0 / 0.7423 GB, free: 82.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006021/1.198, allocations: 163.6 kB / 0.7425 GB, free: 82.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02432/1.222, allocations: 8.229 MB / 0.7505 GB, free: 78.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.222, allocations: 6.938 kB / 0.7505 GB, free: 78.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/1.241, allocations: 3.562 MB / 0.754 GB, free: 77.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/1.259, allocations: 8.376 MB / 0.7622 GB, free: 74.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007541/1.26, allocations: 0.6293 MB / 0.7628 GB, free: 74.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00417/1.264, allocations: 0.8206 MB / 0.7636 GB, free: 73.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04814/1.312, allocations: 19.59 MB / 0.7827 GB, free: 62.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004975/1.313, allocations: 100.7 kB / 0.7828 GB, free: 62.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00365/1.316, allocations: 408 kB / 0.7832 GB, free: 62.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/1.319, allocations: 1.868 MB / 0.785 GB, free: 62.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03302/1.352, allocations: 15.38 MB / 0.8 GB, free: 46.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3768/1.729, allocations: 81.48 MB / 0.8796 GB, free: 38.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/1.745, allocations: 5.98 MB / 0.8854 GB, free: 37.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/1.749, allocations: 2.526 MB / 0.8879 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01827/1.768, allocations: 11.22 MB / 0.8989 GB, free: 34.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/1.768, allocations: 59.06 kB / 0.8989 GB, free: 34.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 6.161e-06/1.768, allocations: 0 / 0.8989 GB, free: 34.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=274): time 0.04217/1.81, allocations: 16.35 MB / 0.9149 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/1.81, allocations: 158.1 kB / 0.915 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01927/1.829, allocations: 6.806 MB / 0.9217 GB, free: 44.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005/1.83, allocations: 72.44 kB / 0.9218 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004816/1.835, allocations: 5.816 MB / 0.9274 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.836, allocations: 1.057 MB / 0.9285 GB, free: 41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/1.837, allocations: 181.4 kB / 0.9286 GB, free: 41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001019/1.838, allocations: 0.6872 MB / 0.9293 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005654/1.844, allocations: 2.693 MB / 0.9319 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009055/1.853, allocations: 8.506 MB / 0.9403 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01376/1.867, allocations: 12.12 MB / 0.9521 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000341/1.867, allocations: 58.5 kB / 0.9521 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.0225/1.89, allocations: 10.86 MB / 0.9627 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/1.89, allocations: 96.06 kB / 0.9628 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004249/1.891, allocations: 205.9 kB / 0.963 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/1.891, allocations: 276.4 kB / 0.9633 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007087/1.898, allocations: 2.255 MB / 0.9655 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002843/1.898, allocations: 409 kB / 0.9659 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007566/1.906, allocations: 0.62 MB / 0.9665 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.907, allocations: 0.5555 MB / 0.967 GB, free: 17.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 60 (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 (1171): * Single equations (assignments): 1168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007249/1.915, allocations: 3.753 MB / 0.9707 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.916, allocations: 0.589 MB / 0.9713 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005475/1.921, allocations: 3 MB / 0.9742 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/1.921, allocations: 28.75 kB / 0.9742 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.921, allocations: 1.75 kB / 0.9742 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.921, allocations: 15.59 kB / 0.9743 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03663/1.958, allocations: 24.83 MB / 0.9985 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000142/1.958, allocations: 64 kB / 0.9986 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.96, allocations: 0.5986 MB / 0.9991 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/1.96, allocations: 80 kB / 0.9992 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/1.961, allocations: 135.2 kB / 0.9994 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.171e-05/1.961, allocations: 115.1 kB / 0.9995 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.578e-05/1.961, allocations: 102.9 kB / 0.9996 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0068/1.968, allocations: 5.743 MB / 1.005 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.97, allocations: 0.7197 MB / 1.006 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.971, allocations: 145.8 kB / 1.006 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.974, allocations: 216.3 kB / 1.006 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004479/1.975, allocations: 407.6 kB / 1.007 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.975, allocations: 167.5 kB / 1.007 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007621/1.983, allocations: 4.297 MB / 1.011 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/1.983, allocations: 0 / 1.011 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01082/1.993, allocations: 1.558 MB / 1.012 GB, free: 6.039 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * 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 (318): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009481/1.994, allocations: 330 kB / 1.013 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01205/2.006, allocations: 6.251 MB / 1.019 GB, free: 256 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-05/2.006, allocations: 8 kB / 1.019 GB, free: 248 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/2.009, allocations: 1.612 MB / 1.02 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06122/2.071, allocations: 0.9724 MB / 1.021 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05003/2.121, allocations: 21.88 MB / 1.043 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01318/2.134, allocations: 5.799 MB / 1.048 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009753/2.144, allocations: 2.903 MB / 1.051 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/2.146, allocations: 418.8 kB / 1.052 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of SimCode: time 1.673e-06/2.146, allocations: 0 / 1.052 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of Templates: time 0.3527/2.498, allocations: 48.13 MB / 1.099 GB, free: 138.4 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches