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.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.001007/0.001007, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00111/0.00111, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9927/0.9927, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2508/0.2508, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.624e-05, allocations: 6.25 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01131/0.01135, allocations: 9.008 MB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007026/0.01837, allocations: 2.846 MB / 388.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.02085, allocations: 55.81 kB / 388.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003747/0.0246, allocations: 2.103 MB / 390.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.02781, allocations: 1.174 MB / 391.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.02849, allocations: 331.2 kB / 392 MB, free: 4.832 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002899/0.03139, allocations: 2.364 MB / 394.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.03353, allocations: 1.793 MB / 396.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.03529, allocations: 1.302 MB / 397.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.03694, allocations: 1.177 MB / 398.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005244/0.03747, allocations: 196 kB / 398.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.03869, allocations: 0.6396 MB / 399.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008033/0.0395, allocations: 1.192 MB / 400.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.04033, allocations: 0.7124 MB / 401.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.04356, allocations: 2.724 MB / 404.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.04357, allocations: 0 / 404.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.04357, allocations: 0 / 404.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.209e-05/0.04363, allocations: 0 / 404.1 MB, free: 8.668 MB / 378.7 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.003642/0.04728, allocations: 3.114 MB / 407.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.04733, allocations: 8.031 kB / 407.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.04946, allocations: 0.9901 MB / 408.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.05095, allocations: 1.134 MB / 409.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.05102, allocations: 144 kB / 409.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.05122, allocations: 192.2 kB / 409.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.05466, allocations: 3.035 MB / 412.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.05469, allocations: 11.88 kB / 412.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.05484, allocations: 87.91 kB / 412.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009753/0.05581, allocations: 1.2 MB / 414 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.05813, allocations: 1.444 MB / 415.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.07391, allocations: 20.41 MB / 435.8 MB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.07593, allocations: 0.872 MB / 436.7 MB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.07617, allocations: 194 kB / 436.9 MB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003499/0.07967, allocations: 2.342 MB / 439.2 MB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.0797, allocations: 41.89 kB / 439.3 MB, free: 4.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.489e-06/0.07971, allocations: 0 / 439.3 MB, free: 4.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00268/0.08239, allocations: 1.225 MB / 440.5 MB, free: 2.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.08242, allocations: 55.91 kB / 440.6 MB, free: 2.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.08408, allocations: 1.787 MB / 442.3 MB, free: 1.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.08411, allocations: 41.7 kB / 442.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.166/0.2501, allocations: 2.026 MB / 444.4 MB, free: 97.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.2504, allocations: 338.9 kB / 444.7 MB, free: 96.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005138/0.2509, allocations: 0.6863 MB / 445.4 MB, free: 96.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.251, allocations: 0.5281 MB / 446 MB, free: 96.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.2513, allocations: 229.4 kB / 446.2 MB, free: 96.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.2523, allocations: 3.008 MB / 449.2 MB, free: 92.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.254, allocations: 3.616 MB / 452.8 MB, free: 89.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.254, allocations: 19.38 kB / 452.8 MB, free: 89.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002448/0.2565, allocations: 2.333 MB / 455.2 MB, free: 88.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.2565, allocations: 34.56 kB / 455.2 MB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-05/0.2566, allocations: 65.81 kB / 455.3 MB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-05/0.2566, allocations: 87.22 kB / 455.3 MB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.2576, allocations: 0.6407 MB / 456 MB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-05/0.2576, allocations: 133.1 kB / 456.1 MB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/0.2585, allocations: 399.4 kB / 456.5 MB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.2586, allocations: 175.2 kB / 456.7 MB, free: 88.38 MB / 410.7 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.0006486/0.2593, allocations: 405 kB / 457.1 MB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2594, allocations: 173 kB / 457.2 MB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.2595, allocations: 160.3 kB / 457.4 MB, free: 88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.2595, allocations: 17.42 kB / 457.4 MB, free: 88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2595, allocations: 0 / 457.4 MB, free: 88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2595, allocations: 3.469 kB / 457.4 MB, free: 88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.2618, allocations: 2.127 MB / 459.5 MB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2618, allocations: 3.438 kB / 459.5 MB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.262, allocations: 88.97 kB / 459.6 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.262, allocations: 16.59 kB / 459.6 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.262, allocations: 20.16 kB / 459.7 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.262, allocations: 9.375 kB / 459.7 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.262, allocations: 10.38 kB / 459.7 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.2625, allocations: 0.8335 MB / 460.5 MB, free: 86.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2626, allocations: 157.2 kB / 460.7 MB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.2627, allocations: 20.42 kB / 460.7 MB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.2629, allocations: 16.47 kB / 460.7 MB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.2629, allocations: 55.77 kB / 460.8 MB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.263, allocations: 22.22 kB / 460.8 MB, free: 86.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004822/0.2634, allocations: 0.7326 MB / 461.5 MB, free: 86.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2634, allocations: 0 / 461.5 MB, free: 86.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001441/0.2649, allocations: 0.7041 MB / 462.2 MB, free: 86.27 MB / 410.7 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.0002109/0.2651, allocations: 144.8 kB / 462.4 MB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009895/0.2661, allocations: 1.178 MB / 463.5 MB, free: 85.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2661, allocations: 3.125 kB / 463.5 MB, free: 85.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.2663, allocations: 177 kB / 463.7 MB, free: 85.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.2669, allocations: 196.6 kB / 463.9 MB, free: 85.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.2715, allocations: 4.344 MB / 468.3 MB, free: 83.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.272, allocations: 0.758 MB / 469 MB, free: 83.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004918/0.2725, allocations: 242.5 kB / 469.3 MB, free: 83.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.2728, allocations: 299.9 kB / 469.5 MB, free: 83.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2728, allocations: 0 / 469.5 MB, free: 83.37 MB / 410.7 MB Notification: Performance of Templates: time 0.02444/0.2973, allocations: 12.52 MB / 482.1 MB, free: 81.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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: 3.4374835891649127]