Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 165 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9772/0.9772, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3089/0.3089, allocations: 34.86 MB / 296.6 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.628e-05/3.834e-05, allocations: 4 kB / 378.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009199/0.009237, allocations: 9.192 MB / 387.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.01438, allocations: 2.865 MB / 390.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.01534, allocations: 55.81 kB / 390.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.01769, allocations: 2.138 MB / 393 MB, free: 4.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.01962, allocations: 1.171 MB / 394.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.02011, allocations: 315.2 kB / 394.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.02257, allocations: 2.368 MB / 396.8 MB, free: 240 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.02409, allocations: 1.801 MB / 398.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.02527, allocations: 1.29 MB / 399.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.02636, allocations: 1.169 MB / 401.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.0266, allocations: 196 kB / 401.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008203/0.02742, allocations: 0.6396 MB / 401.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007361/0.02816, allocations: 1.192 MB / 403.1 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009371/0.02909, allocations: 0.7163 MB / 403.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.03164, allocations: 2.724 MB / 406.6 MB, free: 6.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.03164, allocations: 4 kB / 406.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.03165, allocations: 0 / 406.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.135e-05/0.03171, allocations: 0 / 406.6 MB, free: 6.441 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.003654/0.03536, allocations: 3.134 MB / 409.7 MB, free: 3.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.03541, allocations: 16.02 kB / 409.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/0.03888, allocations: 1.871 MB / 411.6 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.0407, allocations: 1.219 MB / 412.8 MB, free: 112 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.04079, allocations: 148.1 kB / 413 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.04106, allocations: 188.2 kB / 413.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005347/0.04641, allocations: 3.313 MB / 416.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.04645, allocations: 11.88 kB / 416.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.04664, allocations: 91.84 kB / 416.5 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001512/0.04815, allocations: 1.34 MB / 417.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.052, allocations: 1.804 MB / 419.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.06843, allocations: 20.58 MB / 440.3 MB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.07049, allocations: 0.9238 MB / 441.2 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.07081, allocations: 221.9 kB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1525/0.2234, allocations: 2.445 MB / 443.9 MB, free: 98.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2234, allocations: 40.95 kB / 443.9 MB, free: 98.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.806e-06/0.2234, allocations: 0 / 443.9 MB, free: 98.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003032/0.2264, allocations: 1.28 MB / 445.2 MB, free: 98.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2265, allocations: 57.69 kB / 445.2 MB, free: 98.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.2283, allocations: 1.795 MB / 447 MB, free: 98.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.2283, allocations: 37.61 kB / 447.1 MB, free: 98.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007726/0.2291, allocations: 2.013 MB / 449.1 MB, free: 97.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.2293, allocations: 335.4 kB / 449.4 MB, free: 97.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.2298, allocations: 0.6698 MB / 450.1 MB, free: 97.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.2299, allocations: 0.5257 MB / 450.6 MB, free: 96.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.2303, allocations: 291.6 kB / 450.9 MB, free: 96.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.2315, allocations: 3.051 MB / 453.9 MB, free: 93.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.2338, allocations: 3.69 MB / 457.6 MB, free: 89.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-05/0.2338, allocations: 24.19 kB / 457.7 MB, free: 89.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002957/0.2368, allocations: 2.49 MB / 460.1 MB, free: 88.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.2368, allocations: 35.97 kB / 460.2 MB, free: 88.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.846e-05/0.2369, allocations: 69.66 kB / 460.2 MB, free: 88.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.473e-05/0.237, allocations: 90.34 kB / 460.3 MB, free: 88.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.2382, allocations: 0.6607 MB / 461 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-05/0.2383, allocations: 126.7 kB / 461.1 MB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.2397, allocations: 414.7 kB / 461.5 MB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.2399, allocations: 188.9 kB / 461.7 MB, free: 87.8 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.0008791/0.2408, allocations: 421.7 kB / 462.1 MB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.2409, allocations: 170.5 kB / 462.3 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.2411, allocations: 156.2 kB / 462.4 MB, free: 87.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.2411, allocations: 9.062 kB / 462.4 MB, free: 87.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.2412, allocations: 3.062 kB / 462.4 MB, free: 87.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2412, allocations: 6.609 kB / 462.5 MB, free: 87.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.2448, allocations: 2.842 MB / 465.3 MB, free: 85.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.2448, allocations: 10.38 kB / 465.3 MB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.245, allocations: 99.27 kB / 465.4 MB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.245, allocations: 6.562 kB / 465.4 MB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.2451, allocations: 23.78 kB / 465.4 MB, free: 85.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.2451, allocations: 10.16 kB / 465.4 MB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2451, allocations: 6.25 kB / 465.5 MB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.2457, allocations: 0.8599 MB / 466.3 MB, free: 85.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.2459, allocations: 157.8 kB / 466.5 MB, free: 84.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.246, allocations: 17.62 kB / 466.5 MB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2462, allocations: 30.3 kB / 466.5 MB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.2463, allocations: 51.73 kB / 466.6 MB, free: 84.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.2463, allocations: 32.11 kB / 466.6 MB, free: 84.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006749/0.247, allocations: 0.7774 MB / 467.4 MB, free: 84.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.247, allocations: 0 / 467.4 MB, free: 84.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001789/0.2488, allocations: 0.7032 MB / 468.1 MB, free: 84.4 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.0003882/0.2492, allocations: 149.2 kB / 468.2 MB, free: 84.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.2509, allocations: 1.249 MB / 469.5 MB, free: 83.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2509, allocations: 0 / 469.5 MB, free: 83.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.2511, allocations: 204.4 kB / 469.7 MB, free: 83.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.2517, allocations: 185.1 kB / 469.8 MB, free: 83.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.2569, allocations: 4.352 MB / 474.2 MB, free: 81.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.2575, allocations: 0.758 MB / 475 MB, free: 81.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001092/0.2586, allocations: 0.8055 MB / 475.8 MB, free: 81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.2588, allocations: 110.8 kB / 475.9 MB, free: 80.99 MB / 410.7 MB Notification: Performance of SimCode: time 2.435e-06/0.2588, allocations: 0 / 475.9 MB, free: 80.99 MB / 410.7 MB Notification: Performance of Templates: time 0.02371/0.2825, allocations: 11.57 MB / 487.4 MB, free: 79.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.5824193600565195]