Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001406/0.001406, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001605/0.001605, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.504/1.504, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.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.228/0.228, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] 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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.819e-05, allocations: 6.219 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.2048/0.2048, allocations: 8.416 MB / 451.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.2102, allocations: 2.788 MB / 453.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.2114, allocations: 55.09 kB / 453.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003779/0.2151, allocations: 2.042 MB / 456 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.2183, allocations: 1.165 MB / 457.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.2191, allocations: 322 kB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.2225, allocations: 2.36 MB / 459.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.2249, allocations: 1.752 MB / 461.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.2268, allocations: 1.282 MB / 462.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.2286, allocations: 1.141 MB / 464 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003927/0.2289, allocations: 194.7 kB / 464.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.2303, allocations: 0.6422 MB / 464.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.2315, allocations: 1.173 MB / 466 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008755/0.2323, allocations: 0.7202 MB / 466.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.2369, allocations: 4.286 MB / 471 MB, free: 5.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2369, allocations: 4 kB / 471 MB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2369, allocations: 0 / 471 MB, free: 5.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001261/0.2371, allocations: 0 / 471 MB, free: 5.926 MB / 366.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.00565/0.2427, allocations: 2.829 MB / 473.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2428, allocations: 10.19 kB / 473.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005206/0.248, allocations: 1.588 MB / 475.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.2506, allocations: 1.288 MB / 476.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/0.2507, allocations: 143.8 kB / 476.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003692/0.251, allocations: 184.7 kB / 477 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.2613, allocations: 6.256 MB / 483.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.2614, allocations: 15.81 kB / 483.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.2617, allocations: 87.91 kB / 483.4 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002429/0.2641, allocations: 1.341 MB / 484.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.2749, allocations: 5.341 MB / 490.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02834/0.3032, allocations: 18.31 MB / 0.4965 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.3077, allocations: 1.642 MB / 0.4981 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.3088, allocations: 0.647 MB / 0.4987 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006565/0.3153, allocations: 2.963 MB / 0.5016 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3154, allocations: 43 kB / 0.5016 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.765e-06/0.3154, allocations: 0 / 0.5016 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005951/0.3213, allocations: 2.096 MB / 0.5037 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.3214, allocations: 63.89 kB / 0.5037 GB, free: 11.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.3243, allocations: 1.935 MB / 0.5056 GB, free: 9.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.3244, allocations: 41.69 kB / 0.5057 GB, free: 9.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.326, allocations: 1.903 MB / 0.5075 GB, free: 8.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.3263, allocations: 325.5 kB / 0.5078 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009254/0.3272, allocations: 0.6078 MB / 0.5084 GB, free: 7.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3274, allocations: 349.9 kB / 0.5088 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.3288, allocations: 0.8881 MB / 0.5096 GB, free: 5.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/0.3319, allocations: 2.747 MB / 0.5123 GB, free: 2.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/0.3369, allocations: 3.966 MB / 0.5162 GB, free: 13.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/0.3369, allocations: 23.94 kB / 0.5162 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005911/0.3428, allocations: 3.527 MB / 0.5197 GB, free: 9.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/0.3429, allocations: 39.98 kB / 0.5197 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.901e-05/0.3429, allocations: 64 kB / 0.5198 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.644e-05/0.343, allocations: 88 kB / 0.5198 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.345, allocations: 0.6517 MB / 0.5205 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001203/0.3452, allocations: 134.5 kB / 0.5206 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.3469, allocations: 421.8 kB / 0.521 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.3472, allocations: 184 kB / 0.5212 GB, free: 8.137 MB / 430.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.002426/0.3496, allocations: 1.335 MB / 0.5225 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.3499, allocations: 166.8 kB / 0.5226 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.3504, allocations: 184 kB / 0.5228 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.3504, allocations: 12 kB / 0.5228 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.3504, allocations: 4 kB / 0.5228 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.3504, allocations: 3.984 kB / 0.5228 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006302/0.3567, allocations: 3.127 MB / 0.5259 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3567, allocations: 7.938 kB / 0.5259 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.3571, allocations: 104.6 kB / 0.526 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.3572, allocations: 8 kB / 0.526 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.3572, allocations: 20 kB / 0.526 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/0.3572, allocations: 15.25 kB / 0.526 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.3572, allocations: 8 kB / 0.5261 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.359, allocations: 1.23 MB / 0.5273 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.3594, allocations: 150.8 kB / 0.5274 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.3595, allocations: 12 kB / 0.5274 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.36, allocations: 35.95 kB / 0.5274 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3601, allocations: 55.81 kB / 0.5275 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.3602, allocations: 24 kB / 0.5275 GB, free: 1.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.362, allocations: 1.122 MB / 0.5286 GB, free: 316 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.362, allocations: 0 / 0.5286 GB, free: 316 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003047/0.365, allocations: 0.7084 MB / 0.5293 GB, free: 15.59 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.000358/0.3654, allocations: 138.9 kB / 0.5294 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.3689, allocations: 1.962 MB / 0.5314 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3689, allocations: 192 / 0.5314 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.3696, allocations: 432.2 kB / 0.5318 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.3709, allocations: 194.1 kB / 0.532 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.382, allocations: 5.035 MB / 0.5369 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/0.3845, allocations: 1.704 MB / 0.5385 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002289/0.3868, allocations: 0.9311 MB / 0.5394 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.3871, allocations: 112.5 kB / 0.5396 GB, free: 4.961 MB / 446.1 MB Notification: Performance of SimCode: time 2.324e-06/0.3871, allocations: 0 / 0.5396 GB, free: 4.961 MB / 446.1 MB Notification: Performance of Templates: time 0.0283/0.4155, allocations: 11.61 MB / 0.5509 GB, free: 9.547 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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: 5.655639749020338]