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.001231/0.001231, allocations: 96.14 kB / 15.87 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 198.7 kB / 16.79 MB, free: 6.828 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.614/1.614, allocations: 205.1 MB / 222.6 MB, free: 5.008 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.3687/0.3687, allocations: 43.49 MB / 313.5 MB, free: 8.348 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: 60.47 kB / 382 MB, free: 8.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 57.79 MB / 439.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.3007/0.4379, allocations: 38.97 MB / 478.8 MB, free: 27.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.4612, allocations: 7.705 MB / 486.5 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/0.4738, allocations: 158.6 kB / 486.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00447/0.4783, allocations: 2.018 MB / 488.7 MB, free: 22.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.4817, allocations: 1.132 MB / 489.8 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.4826, allocations: 268.3 kB / 490.1 MB, free: 21.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004122/0.4867, allocations: 3.658 MB / 493.7 MB, free: 20.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.4901, allocations: 2.373 MB / 496.1 MB, free: 19.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.4918, allocations: 0.8582 MB / 496.9 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.4952, allocations: 1.361 MB / 498.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007914/0.496, allocations: 161.5 kB / 498.5 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.4982, allocations: 0.6975 MB / 499.2 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.4999, allocations: 1.189 MB / 0.4886 GB, free: 18.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.5016, allocations: 1.43 MB / 0.49 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008432/0.51, allocations: 4.607 MB / 0.4945 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5101, allocations: 0 / 0.4945 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.5101, allocations: 0.5625 kB / 0.4945 GB, free: 15.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002129/0.5103, allocations: 0 / 0.4945 GB, free: 15.55 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.01019/0.5205, allocations: 3.151 MB / 0.4976 GB, free: 13.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.5206, allocations: 10.67 kB / 0.4976 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.5271, allocations: 1.619 MB / 0.4992 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004742/0.5318, allocations: 1.408 MB / 0.5006 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.5321, allocations: 163.2 kB / 0.5007 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006539/0.5327, allocations: 204.3 kB / 0.5009 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.5472, allocations: 6.968 MB / 0.5077 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/0.5473, allocations: 14.09 kB / 0.5077 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.5476, allocations: 98.06 kB / 0.5078 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/0.5502, allocations: 1.525 MB / 0.5093 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.5621, allocations: 5.956 MB / 0.5151 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03187/0.594, allocations: 22.24 MB / 0.5369 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004731/0.5988, allocations: 2.194 MB / 0.539 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.6, allocations: 0.807 MB / 0.5398 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007514/0.6075, allocations: 3.975 MB / 0.5437 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.6076, allocations: 43.2 kB / 0.5437 GB, free: 5.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.797e-06/0.6076, allocations: 0 / 0.5437 GB, free: 5.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005925/0.6135, allocations: 2.26 MB / 0.5459 GB, free: 3.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.6136, allocations: 60 kB / 0.546 GB, free: 3.473 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.6168, allocations: 2.06 MB / 0.548 GB, free: 1.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.6169, allocations: 37.7 kB / 0.548 GB, free: 1.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.6184, allocations: 2.007 MB / 0.55 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.6188, allocations: 375.2 kB / 0.5503 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009649/0.6197, allocations: 0.6784 MB / 0.551 GB, free: 14.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.6199, allocations: 361.9 kB / 0.5513 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.6214, allocations: 0.998 MB / 0.5523 GB, free: 12.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/0.6247, allocations: 2.995 MB / 0.5552 GB, free: 8.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005243/0.6299, allocations: 4.356 MB / 0.5595 GB, free: 3.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/0.63, allocations: 20 kB / 0.5595 GB, free: 3.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006696/0.6367, allocations: 3.881 MB / 0.5633 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/0.6368, allocations: 36 kB / 0.5633 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.337e-05/0.6368, allocations: 72 kB / 0.5634 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.781e-05/0.6369, allocations: 96.72 kB / 0.5635 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.639, allocations: 0.7291 MB / 0.5642 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.6392, allocations: 135.5 kB / 0.5643 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.6414, allocations: 455.1 kB / 0.5648 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/0.6417, allocations: 207.9 kB / 0.565 GB, free: 13.9 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.002971/0.6447, allocations: 1.47 MB / 0.5664 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.645, allocations: 173.7 kB / 0.5666 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.647, allocations: 1.237 MB / 0.5678 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.647, allocations: 12 kB / 0.5678 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.647, allocations: 0 / 0.5678 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.647, allocations: 3.984 kB / 0.5678 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008232/0.6553, allocations: 5.034 MB / 0.5727 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.6553, allocations: 11.98 kB / 0.5727 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.6559, allocations: 147.7 kB / 0.5729 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.6559, allocations: 12 kB / 0.5729 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.656, allocations: 24 kB / 0.5729 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/0.656, allocations: 23.92 kB / 0.5729 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.656, allocations: 11.94 kB / 0.5729 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.6581, allocations: 1.582 MB / 0.5745 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/0.6586, allocations: 270.5 kB / 0.5747 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.6588, allocations: 27.98 kB / 0.5748 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.6594, allocations: 39.92 kB / 0.5748 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.6596, allocations: 87.66 kB / 0.5749 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.6596, allocations: 43.98 kB / 0.5749 GB, free: 3.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.6617, allocations: 1.344 MB / 0.5762 GB, free: 1.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6617, allocations: 0 / 0.5762 GB, free: 1.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003692/0.6654, allocations: 0.7699 MB / 0.577 GB, free: 1.164 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.0004243/0.6659, allocations: 162.8 kB / 0.5771 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003921/0.6698, allocations: 2.295 MB / 0.5794 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.6698, allocations: 4 kB / 0.5794 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.6706, allocations: 0.5574 MB / 0.5799 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.6723, allocations: 252.1 kB / 0.5802 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.685, allocations: 7.245 MB / 0.5873 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/0.6881, allocations: 2.462 MB / 0.5897 GB, free: 4.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002745/0.6909, allocations: 1.032 MB / 0.5907 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.6913, allocations: 135.4 kB / 0.5908 GB, free: 2.852 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6913, allocations: 0 / 0.5908 GB, free: 2.852 MB / 462.1 MB Notification: Performance of Templates: time 0.03524/0.7265, allocations: 15.44 MB / 0.6059 GB, free: 3.449 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