Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001725/0.001725, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.129/2.129, allocations: 222.9 MB / 242.4 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3784/0.3784, allocations: 44.18 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 60.62 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.05779/0.226, allocations: 37.7 MB / 0.495 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.2521, allocations: 7.572 MB / 0.5024 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01028/0.2624, allocations: 155.7 kB / 0.5025 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3805/0.643, allocations: 1.993 MB / 0.5045 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00585/0.649, allocations: 1.067 MB / 0.5055 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.6507, allocations: 263 kB / 0.5058 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009547/0.6603, allocations: 3.398 MB / 0.5091 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006634/0.667, allocations: 2.323 MB / 0.5114 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.6703, allocations: 0.7976 MB / 0.5121 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.6742, allocations: 1.25 MB / 0.5134 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.6757, allocations: 150 kB / 0.5135 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.6791, allocations: 0.6922 MB / 0.5142 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003332/0.6825, allocations: 1.116 MB / 0.5153 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00447/0.687, allocations: 1.306 MB / 0.5165 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008275/0.6953, allocations: 3.507 MB / 0.52 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.6954, allocations: 0 / 0.52 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.6954, allocations: 0 / 0.52 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002563/0.6957, allocations: 0 / 0.52 GB, free: 9.223 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.01525/0.7109, allocations: 2.945 MB / 0.5228 GB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.711, allocations: 8.938 kB / 0.5229 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009398/0.7204, allocations: 1.591 MB / 0.5244 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005643/0.7261, allocations: 1.338 MB / 0.5257 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.7265, allocations: 156.1 kB / 0.5259 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/0.7284, allocations: 187.8 kB / 0.526 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/0.7518, allocations: 6.44 MB / 0.5323 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/0.7521, allocations: 13.78 kB / 0.5323 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001544/0.7537, allocations: 90.81 kB / 0.5324 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003591/0.7573, allocations: 1.407 MB / 0.5338 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01963/0.777, allocations: 5.484 MB / 0.5392 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05368/0.8307, allocations: 20.55 MB / 0.5592 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007714/0.8385, allocations: 2.096 MB / 0.5613 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.8403, allocations: 0.6836 MB / 0.5619 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.8519, allocations: 3.507 MB / 0.5654 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.852, allocations: 42.09 kB / 0.5654 GB, free: 3.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 6.452e-06/0.852, allocations: 4 kB / 0.5654 GB, free: 3.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.009069/0.8611, allocations: 1.975 MB / 0.5673 GB, free: 1.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.8612, allocations: 59.78 kB / 0.5674 GB, free: 1.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006704/0.8679, allocations: 1.966 MB / 0.5693 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.8682, allocations: 37.7 kB / 0.5694 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/0.8707, allocations: 1.877 MB / 0.5712 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006978/0.8714, allocations: 315.6 kB / 0.5715 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002215/0.8737, allocations: 0.625 MB / 0.5721 GB, free: 12.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003226/0.874, allocations: 352.3 kB / 0.5724 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.877, allocations: 0.8959 MB / 0.5733 GB, free: 11.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005466/0.8825, allocations: 2.768 MB / 0.576 GB, free: 7.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008526/0.8911, allocations: 4 MB / 0.5799 GB, free: 2.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.8913, allocations: 19.56 kB / 0.5799 GB, free: 2.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.01226/0.9036, allocations: 3.553 MB / 0.5834 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.9038, allocations: 32 kB / 0.5834 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/0.904, allocations: 68 kB / 0.5835 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.9042, allocations: 88 kB / 0.5836 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/0.9083, allocations: 0.6634 MB / 0.5842 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001936/0.9085, allocations: 132.9 kB / 0.5844 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.9133, allocations: 431.5 kB / 0.5848 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/0.9144, allocations: 184 kB / 0.5849 GB, free: 14.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (365): * Single equations (assignments): 360 * 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.005172/0.9196, allocations: 1.373 MB / 0.5863 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006318/0.9202, allocations: 161.9 kB / 0.5864 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.9211, allocations: 201.2 kB / 0.5866 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/0.9212, allocations: 15.94 kB / 0.5866 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.9212, allocations: 0 / 0.5866 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.9212, allocations: 3.984 kB / 0.5867 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.9372, allocations: 4.14 MB / 0.5907 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/0.9373, allocations: 8 kB / 0.5907 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.938, allocations: 98.41 kB / 0.5908 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-05/0.9381, allocations: 8 kB / 0.5908 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.9382, allocations: 16 kB / 0.5908 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.921e-05/0.9382, allocations: 10.81 kB / 0.5908 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/0.9383, allocations: 10.62 kB / 0.5908 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.9413, allocations: 1.243 MB / 0.5921 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.9423, allocations: 253.2 kB / 0.5923 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006473/0.943, allocations: 19.98 kB / 0.5923 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.9444, allocations: 27.89 kB / 0.5923 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.9446, allocations: 50.7 kB / 0.5924 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.9447, allocations: 31.98 kB / 0.5924 GB, free: 6.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005625/0.9504, allocations: 1.283 MB / 0.5937 GB, free: 5.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9504, allocations: 2.719 kB / 0.5937 GB, free: 5.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007062/0.9575, allocations: 0.7027 MB / 0.5944 GB, free: 4.445 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0008966/0.9584, allocations: 141.9 kB / 0.5945 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00685/0.9653, allocations: 2.036 MB / 0.5965 GB, free: 2.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.9654, allocations: 3.938 kB / 0.5965 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9664, allocations: 459.2 kB / 0.5969 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/0.9695, allocations: 228.6 kB / 0.5971 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/0.991, allocations: 6.83 MB / 0.6038 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006298/0.9974, allocations: 2.324 MB / 0.6061 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009978/0.9984, allocations: 147.4 kB / 0.6062 GB, free: 8.395 MB / 462.1 MB Notification: Performance of SimCode: time 1.873e-06/0.9984, allocations: 0 / 0.6062 GB, free: 8.395 MB / 462.1 MB Notification: Performance of Templates: time 0.08676/1.085, allocations: 30.5 MB / 0.636 GB, free: 9.98 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches