Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 101.3 kB / 15.98 MB, free: 6.355 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.001159/0.001159, allocations: 190.6 kB / 16.91 MB, free: 6.191 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.566/1.566, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3392/0.3392, allocations: 43.5 MB / 313.6 MB, free: 8.516 MB / 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.001368/0.001368, allocations: 67.91 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.3055/0.4474, allocations: 38.96 MB / 479 MB, free: 27.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.467, allocations: 7.663 MB / 486.6 MB, free: 22.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01157/0.4786, allocations: 160.2 kB / 486.8 MB, free: 22.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003951/0.4826, allocations: 1.945 MB / 488.7 MB, free: 21.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.4867, allocations: 1.124 MB / 489.9 MB, free: 21.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008808/0.4876, allocations: 272.5 kB / 490.1 MB, free: 21.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.4912, allocations: 2.517 MB / 492.6 MB, free: 20.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.4937, allocations: 2.523 MB / 495.2 MB, free: 19.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.4956, allocations: 0.9765 MB / 496.1 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.498, allocations: 1.412 MB / 497.6 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.4986, allocations: 218.6 kB / 497.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.5003, allocations: 0.7208 MB / 498.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.5017, allocations: 1.253 MB / 499.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.5033, allocations: 1.482 MB / 0.4895 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.5106, allocations: 4.678 MB / 0.494 GB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5107, allocations: 1.812 kB / 0.494 GB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5107, allocations: 0 / 0.494 GB, free: 14.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001907/0.5109, allocations: 0 / 0.494 GB, free: 14.77 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.00849/0.5194, allocations: 3.162 MB / 0.4971 GB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.5195, allocations: 10.09 kB / 0.4971 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006256/0.5257, allocations: 1.62 MB / 0.4987 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.5294, allocations: 1.407 MB / 0.5001 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.5296, allocations: 155.2 kB / 0.5002 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/0.5302, allocations: 212.8 kB / 0.5004 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.5454, allocations: 6.968 MB / 0.5073 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.551e-05/0.5455, allocations: 17.38 kB / 0.5073 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/0.5458, allocations: 98.86 kB / 0.5074 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003165/0.549, allocations: 1.522 MB / 0.5089 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.562, allocations: 5.955 MB / 0.5147 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03681/0.5989, allocations: 22.24 MB / 0.5364 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/0.6038, allocations: 2.194 MB / 0.5385 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.605, allocations: 0.8082 MB / 0.5393 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007286/0.6122, allocations: 3.966 MB / 0.5432 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.6123, allocations: 43.16 kB / 0.5432 GB, free: 6.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.607e-06/0.6123, allocations: 0 / 0.5432 GB, free: 6.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006064/0.6184, allocations: 2.264 MB / 0.5454 GB, free: 4.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.6185, allocations: 60.06 kB / 0.5455 GB, free: 3.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.6222, allocations: 2.049 MB / 0.5475 GB, free: 1.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/0.6223, allocations: 41.7 kB / 0.5475 GB, free: 1.812 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.6241, allocations: 2.013 MB / 0.5495 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.6245, allocations: 375.2 kB / 0.5499 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.6256, allocations: 0.6746 MB / 0.5505 GB, free: 14.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002888/0.6259, allocations: 353.9 kB / 0.5509 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.6276, allocations: 0.998 MB / 0.5518 GB, free: 13.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/0.631, allocations: 2.995 MB / 0.5548 GB, free: 9.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005277/0.6363, allocations: 4.368 MB / 0.559 GB, free: 4.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.27e-05/0.6364, allocations: 20 kB / 0.559 GB, free: 3.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00706/0.6435, allocations: 3.878 MB / 0.5628 GB, free: 104 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.6436, allocations: 36 kB / 0.5629 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.511e-05/0.6437, allocations: 68 kB / 0.5629 GB, free: 0 / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.6438, allocations: 100.1 kB / 0.563 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.6461, allocations: 0.7291 MB / 0.5637 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.6462, allocations: 135.5 kB / 0.5639 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.6488, allocations: 459 kB / 0.5643 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/0.6491, allocations: 208 kB / 0.5645 GB, free: 14.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.00299/0.6521, allocations: 1.47 MB / 0.5659 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.6524, allocations: 169.8 kB / 0.5661 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.6551, allocations: 1.233 MB / 0.5673 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/0.6551, allocations: 12 kB / 0.5673 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.6552, allocations: 4 kB / 0.5673 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.6552, allocations: 3.984 kB / 0.5673 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.6683, allocations: 5.034 MB / 0.5722 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/0.6684, allocations: 8 kB / 0.5723 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.6692, allocations: 147.7 kB / 0.5724 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.521e-05/0.6693, allocations: 15.94 kB / 0.5724 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/0.6694, allocations: 31.98 kB / 0.5724 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-05/0.6694, allocations: 15.94 kB / 0.5725 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-05/0.6694, allocations: 15.94 kB / 0.5725 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.6727, allocations: 1.582 MB / 0.574 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/0.6734, allocations: 274.5 kB / 0.5743 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.6737, allocations: 28 kB / 0.5743 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009226/0.6746, allocations: 39.88 kB / 0.5743 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.6748, allocations: 83.67 kB / 0.5744 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6749, allocations: 39.98 kB / 0.5745 GB, free: 3.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003034/0.678, allocations: 1.34 MB / 0.5758 GB, free: 2.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.678, allocations: 0 / 0.5758 GB, free: 2.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005291/0.6833, allocations: 0.7737 MB / 0.5765 GB, free: 1.648 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0005522/0.6839, allocations: 166.8 kB / 0.5767 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007318/0.6912, allocations: 2.561 MB / 0.5792 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/0.6913, allocations: 3.938 kB / 0.5792 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.6928, allocations: 0.5603 MB / 0.5797 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.6956, allocations: 257.2 kB / 0.58 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.7168, allocations: 7.261 MB / 0.5871 GB, free: 6.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/0.7196, allocations: 2.454 MB / 0.5895 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002612/0.7223, allocations: 1.039 MB / 0.5905 GB, free: 3.184 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.7226, allocations: 131.4 kB / 0.5906 GB, free: 3.055 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7226, allocations: 0 / 0.5906 GB, free: 3.055 MB / 462.1 MB Notification: Performance of Templates: time 0.03628/0.7589, allocations: 15.95 MB / 0.6062 GB, free: 3.145 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches