Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.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.001299/0.001299, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001673/0.001673, allocations: 165.8 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9832/0.9832, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2713/0.2713, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.736e-05, allocations: 6.25 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01131/0.01133, allocations: 14.4 MB / 392.4 MB, free: 4.527 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008473/0.0198, allocations: 4.96 MB / 397.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.02134, allocations: 143.3 kB / 397.5 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006115/0.02746, allocations: 6.422 MB / 403.9 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.03155, allocations: 2.904 MB / 406.8 MB, free: 6.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.0335, allocations: 1.793 MB / 408.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006162/0.03966, allocations: 9.129 MB / 417.8 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004351/0.04401, allocations: 6.584 MB / 424.3 MB, free: 4.438 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.04733, allocations: 4.507 MB / 428.8 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/0.05074, allocations: 4.443 MB / 433.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.05133, allocations: 0.5859 MB / 433.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.05295, allocations: 1.373 MB / 435.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.05528, allocations: 3.818 MB / 439.1 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.05721, allocations: 2.29 MB / 441.4 MB, free: 3.383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1555/0.2127, allocations: 7.586 MB / 448.9 MB, free: 66.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2127, allocations: 0 / 448.9 MB, free: 66.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2127, allocations: 1.531 kB / 448.9 MB, free: 66.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.2129, allocations: 0 / 448.9 MB, free: 66.97 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.00836/0.2213, allocations: 9.305 MB / 458.3 MB, free: 63.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2213, allocations: 12.62 kB / 458.3 MB, free: 63.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/0.2268, allocations: 3.341 MB / 461.6 MB, free: 63.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/0.2308, allocations: 4.06 MB / 465.7 MB, free: 62.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.231, allocations: 415.6 kB / 466.1 MB, free: 62.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.2315, allocations: 0.5464 MB / 466.6 MB, free: 62.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.243, allocations: 10.4 MB / 477 MB, free: 57.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.2431, allocations: 68.61 kB / 477.1 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/0.2436, allocations: 264.8 kB / 477.3 MB, free: 57.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002841/0.2464, allocations: 2.934 MB / 480.3 MB, free: 56.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.2573, allocations: 5.226 MB / 485.5 MB, free: 56.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0408/0.2981, allocations: 72.19 MB / 0.5446 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008429/0.3065, allocations: 3.602 MB / 0.5481 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3077, allocations: 0.7715 MB / 0.5489 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008742/0.3165, allocations: 6.327 MB / 0.5551 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3165, allocations: 54.7 kB / 0.5551 GB, free: 6.699 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.897e-06/0.3165, allocations: 5.641 kB / 0.5551 GB, free: 6.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02811/0.3446, allocations: 13.17 MB / 0.568 GB, free: 9.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.3447, allocations: 153.8 kB / 0.5681 GB, free: 9.426 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006371/0.3511, allocations: 5.527 MB / 0.5735 GB, free: 3.918 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.3511, allocations: 61.38 kB / 0.5736 GB, free: 3.855 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003378/0.3545, allocations: 5.502 MB / 0.579 GB, free: 14.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/0.3551, allocations: 0.8669 MB / 0.5798 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/0.357, allocations: 1.821 MB / 0.5816 GB, free: 11.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3571, allocations: 476.8 kB / 0.582 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.3587, allocations: 0.7854 MB / 0.5828 GB, free: 10.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00618/0.3649, allocations: 8.694 MB / 0.5913 GB, free: 14.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008406/0.3733, allocations: 10.49 MB / 0.6015 GB, free: 324 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-05/0.3733, allocations: 56 kB / 0.6016 GB, free: 268 kB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1646/0.5379, allocations: 7.037 MB / 0.6085 GB, free: 137.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.538, allocations: 89.25 kB / 0.6085 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/0.5382, allocations: 187 kB / 0.6087 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.5383, allocations: 252.2 kB / 0.609 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/0.5413, allocations: 1.933 MB / 0.6109 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000162/0.5414, allocations: 383.5 kB / 0.6112 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.545, allocations: 0.625 MB / 0.6118 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/0.5454, allocations: 0.516 MB / 0.6123 GB, free: 136.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001827/0.5472, allocations: 0.8743 MB / 0.6132 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.5477, allocations: 0.5599 MB / 0.6137 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.5481, allocations: 496.2 kB / 0.6142 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.5481, allocations: 23.97 kB / 0.6142 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.5481, allocations: 6.469 kB / 0.6142 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5482, allocations: 10.08 kB / 0.6142 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/0.5578, allocations: 9.27 MB / 0.6233 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.021e-05/0.5579, allocations: 38.28 kB / 0.6233 GB, free: 133.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.5586, allocations: 389 kB / 0.6237 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-05/0.5586, allocations: 50.25 kB / 0.6238 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.5587, allocations: 80.84 kB / 0.6238 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.523e-05/0.5587, allocations: 78.55 kB / 0.6239 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.133e-05/0.5588, allocations: 62.75 kB / 0.624 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.5611, allocations: 3.611 MB / 0.6275 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.5617, allocations: 0.5703 MB / 0.6281 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/0.5621, allocations: 94.22 kB / 0.6281 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.5637, allocations: 227.8 kB / 0.6284 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.5641, allocations: 262 kB / 0.6286 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.5643, allocations: 106.8 kB / 0.6287 GB, free: 130.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002959/0.5672, allocations: 2.412 MB / 0.6311 GB, free: 130.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5672, allocations: 5.281 kB / 0.6311 GB, free: 130.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00552/0.5727, allocations: 1.49 MB / 0.6325 GB, free: 130.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0005385/0.5733, allocations: 263.3 kB / 0.6328 GB, free: 130.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00468/0.578, allocations: 3.59 MB / 0.6363 GB, free: 129.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.283e-05/0.578, allocations: 11.41 kB / 0.6363 GB, free: 129.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.5786, allocations: 0.6377 MB / 0.6369 GB, free: 129 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.5812, allocations: 0.8012 MB / 0.6377 GB, free: 128.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.5938, allocations: 13.36 MB / 0.6507 GB, free: 119.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.5954, allocations: 2.084 MB / 0.6528 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003271/0.5986, allocations: 2.174 MB / 0.6549 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.5991, allocations: 345.4 kB / 0.6552 GB, free: 116.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5991, allocations: 0 / 0.6552 GB, free: 116.2 MB / 474.7 MB Notification: Performance of Templates: time 0.04975/0.6488, allocations: 33.35 MB / 0.6878 GB, free: 87.74 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.770214200951159]