Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2572/0.2572, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 67.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3644, allocations: 66.05 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01141/0.3758, allocations: 8.396 MB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006779/0.3826, allocations: 2.783 MB / 0.5727 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.384, allocations: 59.81 kB / 0.5728 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.388, allocations: 1.931 MB / 0.5747 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.391, allocations: 1.137 MB / 0.5758 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.3918, allocations: 303.4 kB / 0.5761 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003246/0.395, allocations: 2.321 MB / 0.5783 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.3973, allocations: 1.73 MB / 0.58 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3987, allocations: 0.8879 MB / 0.5809 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.4004, allocations: 1.176 MB / 0.5821 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.4008, allocations: 192 kB / 0.5822 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.402, allocations: 0.6085 MB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.4031, allocations: 1.137 MB / 0.5839 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.4042, allocations: 0.9432 MB / 0.5849 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.4092, allocations: 4.35 MB / 0.5891 GB, free: 8.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4092, allocations: 0 / 0.5891 GB, free: 8.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4092, allocations: 0 / 0.5891 GB, free: 8.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.4093, allocations: 0 / 0.5891 GB, free: 8.066 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005507/0.4148, allocations: 2.866 MB / 0.5919 GB, free: 5.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4149, allocations: 8.031 kB / 0.5919 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.42, allocations: 1.578 MB / 0.5935 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.4234, allocations: 1.283 MB / 0.5947 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.4236, allocations: 140 kB / 0.5948 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004606/0.424, allocations: 195.8 kB / 0.595 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.4347, allocations: 6.246 MB / 0.6011 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.4348, allocations: 15.88 kB / 0.6011 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.435, allocations: 83.91 kB / 0.6012 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/0.4372, allocations: 1.348 MB / 0.6025 GB, free: 9.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.4482, allocations: 5.326 MB / 0.6077 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.4795, allocations: 18.25 MB / 0.6256 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/0.4841, allocations: 1.551 MB / 0.6271 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.4852, allocations: 0.6407 MB / 0.6277 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/0.492, allocations: 2.884 MB / 0.6305 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.4921, allocations: 39 kB / 0.6306 GB, free: 12.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.639e-06/0.4921, allocations: 0 / 0.6306 GB, free: 12.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005742/0.4978, allocations: 1.974 MB / 0.6325 GB, free: 10.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.4979, allocations: 59.84 kB / 0.6325 GB, free: 10.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/0.5016, allocations: 1.927 MB / 0.6344 GB, free: 8.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.5017, allocations: 33.7 kB / 0.6345 GB, free: 8.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001836/0.5035, allocations: 1.93 MB / 0.6363 GB, free: 6.645 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.5039, allocations: 325.6 kB / 0.6367 GB, free: 6.324 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.505, allocations: 0.6234 MB / 0.6373 GB, free: 5.691 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5052, allocations: 349.9 kB / 0.6376 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.5067, allocations: 0.8842 MB / 0.6385 GB, free: 4.457 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.5103, allocations: 2.747 MB / 0.6411 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005569/0.5159, allocations: 3.969 MB / 0.645 GB, free: 11.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.899e-05/0.516, allocations: 20 kB / 0.645 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006837/0.5228, allocations: 3.519 MB / 0.6485 GB, free: 8.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.5229, allocations: 36 kB / 0.6485 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/0.523, allocations: 64 kB / 0.6486 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.5231, allocations: 88.78 kB / 0.6487 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.5251, allocations: 0.6589 MB / 0.6493 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001673/0.5253, allocations: 135.5 kB / 0.6494 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.528, allocations: 420.9 kB / 0.6498 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004463/0.5284, allocations: 192 kB / 0.65 GB, free: 6.762 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002697/0.5311, allocations: 1.342 MB / 0.6513 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.5315, allocations: 158.9 kB / 0.6515 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.5319, allocations: 184 kB / 0.6517 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.5319, allocations: 8 kB / 0.6517 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5319, allocations: 0 / 0.6517 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5319, allocations: 3.984 kB / 0.6517 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/0.539, allocations: 3.118 MB / 0.6547 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.539, allocations: 8.734 kB / 0.6547 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.5395, allocations: 91.83 kB / 0.6548 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/0.5395, allocations: 15.98 kB / 0.6548 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.5395, allocations: 23.98 kB / 0.6548 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/0.5396, allocations: 11.94 kB / 0.6549 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.5396, allocations: 11.94 kB / 0.6549 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.5414, allocations: 1.221 MB / 0.6561 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.5418, allocations: 158.7 kB / 0.6562 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.5421, allocations: 19.98 kB / 0.6562 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.5426, allocations: 27.97 kB / 0.6563 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5427, allocations: 59.75 kB / 0.6563 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.5428, allocations: 27.98 kB / 0.6563 GB, free: 60 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002084/0.5449, allocations: 1.11 MB / 0.6574 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5449, allocations: 0 / 0.6574 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002884/0.5478, allocations: 0.7006 MB / 0.6581 GB, free: 14.25 MB / 0.4981 GB 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.0003777/0.5481, allocations: 150.9 kB / 0.6582 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003581/0.5517, allocations: 1.956 MB / 0.6602 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.5517, allocations: 0 / 0.6602 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.5524, allocations: 431.9 kB / 0.6606 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.5536, allocations: 184.4 kB / 0.6607 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.5647, allocations: 5.382 MB / 0.666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/0.5679, allocations: 1.704 MB / 0.6677 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.5684, allocations: 135.4 kB / 0.6678 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.5684, allocations: 0 / 0.6678 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.05602/0.6245, allocations: 30.04 MB / 0.6971 GB, free: 6.188 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.21162089239806]