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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 103.7 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2405/0.2405, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 73.47 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02047/0.1668, allocations: 18.01 MB / 0.5055 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.1836, allocations: 5.416 MB / 0.5108 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005524/0.1892, allocations: 131.7 kB / 0.5109 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.202, allocations: 6.102 MB / 0.5168 GB, free: 14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.2132, allocations: 3.276 MB / 0.52 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.2175, allocations: 1.583 MB / 0.5216 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01424/0.2318, allocations: 8.386 MB / 0.5298 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3175/0.5494, allocations: 7.726 MB / 0.5373 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006978/0.5564, allocations: 3.25 MB / 0.5405 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/0.5671, allocations: 4.331 MB / 0.5447 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004167/0.5713, allocations: 0.6654 MB / 0.5454 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007577/0.5789, allocations: 1.48 MB / 0.5468 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009985/0.5889, allocations: 4.043 MB / 0.5508 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01319/0.6021, allocations: 4.448 MB / 0.5551 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02414/0.6263, allocations: 13.62 MB / 0.5684 GB, free: 12.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.6264, allocations: 4 kB / 0.5684 GB, free: 12.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6264, allocations: 0 / 0.5684 GB, free: 12.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009278/0.6274, allocations: 0 / 0.5684 GB, free: 12.67 MB / 430.1 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.03296/0.6604, allocations: 9.525 MB / 0.5777 GB, free: 6.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.458e-05/0.6605, allocations: 13.95 kB / 0.5777 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.6728, allocations: 2.713 MB / 0.5804 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.6856, allocations: 5.149 MB / 0.5854 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/0.6863, allocations: 485.9 kB / 0.5859 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/0.6894, allocations: 0.6131 MB / 0.5865 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04028/0.7297, allocations: 19.5 MB / 0.6055 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003072/0.7301, allocations: 73.84 kB / 0.6056 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/0.7316, allocations: 298.1 kB / 0.6059 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005439/0.7371, allocations: 3.649 MB / 0.6094 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03502/0.7721, allocations: 15.16 MB / 0.6242 GB, free: 8.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1129/0.8851, allocations: 72.71 MB / 0.6952 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/0.9026, allocations: 6.102 MB / 0.7012 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004787/0.9075, allocations: 2.555 MB / 0.7037 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02282/0.9303, allocations: 11.16 MB / 0.7146 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.035e-05/0.9305, allocations: 67.45 kB / 0.7147 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 9.317e-06/0.9305, allocations: 0 / 0.7147 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.05292/0.9834, allocations: 16.33 MB / 0.7306 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.9836, allocations: 157 kB / 0.7308 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01939/1.003, allocations: 6.771 MB / 0.7374 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005689/1.004, allocations: 65.7 kB / 0.7374 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005729/1.009, allocations: 5.738 MB / 0.743 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/1.011, allocations: 1.05 MB / 0.7441 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004426/1.015, allocations: 1.895 MB / 0.7459 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.016, allocations: 305.1 kB / 0.7462 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/1.021, allocations: 2.775 MB / 0.7489 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3179/1.339, allocations: 8.662 MB / 0.7574 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/1.355, allocations: 12.43 MB / 0.7695 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002956/1.356, allocations: 59.94 kB / 0.7696 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02639/1.382, allocations: 11.12 MB / 0.7804 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/1.382, allocations: 94.72 kB / 0.7805 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004369/1.383, allocations: 209 kB / 0.7807 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/1.383, allocations: 278.3 kB / 0.781 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007988/1.391, allocations: 2.214 MB / 0.7831 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005326/1.392, allocations: 412.2 kB / 0.7835 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008101/1.4, allocations: 462.5 kB / 0.784 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/1.402, allocations: 0.5728 MB / 0.7845 GB, free: 177.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * 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 (1195): * Single equations (assignments): 1184 * 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.00887/1.411, allocations: 3.765 MB / 0.7882 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.412, allocations: 0.5799 MB / 0.7888 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005738/1.418, allocations: 2.99 MB / 0.7917 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.143e-05/1.418, allocations: 32.31 kB / 0.7917 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.418, allocations: 0.5156 kB / 0.7917 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-05/1.418, allocations: 18 kB / 0.7917 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03804/1.456, allocations: 25.14 MB / 0.8163 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001053/1.456, allocations: 64 kB / 0.8164 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/1.458, allocations: 0.6117 MB / 0.8169 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.191e-05/1.458, allocations: 84 kB / 0.817 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/1.458, allocations: 148.3 kB / 0.8172 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.036e-05/1.458, allocations: 122.3 kB / 0.8173 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-05/1.458, allocations: 99.56 kB / 0.8174 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/1.464, allocations: 5.886 MB / 0.8231 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.466, allocations: 0.713 MB / 0.8238 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.467, allocations: 151.9 kB / 0.824 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/1.47, allocations: 147.2 kB / 0.8241 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005008/1.47, allocations: 425.9 kB / 0.8245 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/1.471, allocations: 173.6 kB / 0.8247 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008364/1.479, allocations: 4.24 MB / 0.8288 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.72e-07/1.479, allocations: 0 / 0.8288 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01063/1.49, allocations: 1.557 MB / 0.8303 GB, free: 147.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.001099/1.491, allocations: 328.7 kB / 0.8307 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.011/1.502, allocations: 6.601 MB / 0.8371 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.538e-05/1.502, allocations: 9.938 kB / 0.8371 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/1.505, allocations: 1.651 MB / 0.8387 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009144/1.514, allocations: 0.9793 MB / 0.8397 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/1.545, allocations: 17.98 MB / 0.8572 GB, free: 120.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009283/1.555, allocations: 5.802 MB / 0.8629 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007607/1.562, allocations: 2.892 MB / 0.8657 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.564, allocations: 419.4 kB / 0.8661 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.283e-06/1.564, allocations: 0 / 0.8661 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.09193/1.656, allocations: 45.95 MB / 0.911 GB, free: 65.59 MB / 0.5919 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches