Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.001001/0.001001, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.00111/0.00111, allocations: 156.9 kB / 25.61 MB, free: 8.879 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 1.011/1.011, allocations: 177 MB / 205.9 MB, free: 4.449 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.144/0.144, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.086e-05, allocations: 4.281 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.005961/0.005982, allocations: 9.001 MB / 389 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.009879, allocations: 2.832 MB / 391.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.01058, allocations: 59.81 kB / 391.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.01233, allocations: 2.107 MB / 394 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.01371, allocations: 1.178 MB / 395.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.01408, allocations: 327.2 kB / 395.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.01556, allocations: 2.359 MB / 397.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.01658, allocations: 1.797 MB / 399.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007161/0.01729, allocations: 1.298 MB / 400.9 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007228/0.01801, allocations: 1.173 MB / 402.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.01815, allocations: 200 kB / 402.3 MB, free: 332 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.01877, allocations: 0.6396 MB / 403 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.01941, allocations: 1.184 MB / 404.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.01992, allocations: 0.7241 MB / 404.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.02184, allocations: 2.724 MB / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.02184, allocations: 0 / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02184, allocations: 0 / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.02187, allocations: 0 / 407.6 MB, free: 11.04 MB / 330.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.002791/0.02466, allocations: 3.11 MB / 410.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.0247, allocations: 15.97 kB / 410.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.02674, allocations: 0.9823 MB / 411.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.02799, allocations: 1.13 MB / 412.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.02806, allocations: 144 kB / 413 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.02827, allocations: 196.3 kB / 413.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.03152, allocations: 3.027 MB / 416.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.03156, allocations: 15.88 kB / 416.2 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.03171, allocations: 87.91 kB / 416.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001031/0.03274, allocations: 1.192 MB / 417.5 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.03512, allocations: 1.455 MB / 418.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.04988, allocations: 20.42 MB / 439.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.052, allocations: 0.879 MB / 440.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.05223, allocations: 200.2 kB / 440.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002698/0.05493, allocations: 2.334 MB / 442.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.05495, allocations: 41.89 kB / 442.8 MB, free: 6.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.084e-06/0.05496, allocations: 0 / 442.8 MB, free: 6.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002422/0.05738, allocations: 1.218 MB / 444 MB, free: 5.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.05741, allocations: 63.83 kB / 444.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.05875, allocations: 1.798 MB / 445.9 MB, free: 3.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.05878, allocations: 33.7 kB / 445.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.05992, allocations: 2.031 MB / 447.9 MB, free: 1.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.06009, allocations: 337.5 kB / 448.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005091/0.0606, allocations: 0.6809 MB / 448.9 MB, free: 352 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.06075, allocations: 0.5315 MB / 449.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.061, allocations: 225.7 kB / 449.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.06239, allocations: 3.005 MB / 452.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.06464, allocations: 3.624 MB / 456.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.06466, allocations: 20 kB / 456.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002119/0.06678, allocations: 2.33 MB / 458.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.06682, allocations: 36 kB / 458.7 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/0.06686, allocations: 64.09 kB / 458.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.156e-05/0.06691, allocations: 92 kB / 458.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.06816, allocations: 0.6433 MB / 459.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.104e-05/0.06822, allocations: 131.5 kB / 459.6 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/0.06914, allocations: 408.9 kB / 460 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.06928, allocations: 156 kB / 460.2 MB, free: 2.539 MB / 378.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.0005965/0.06988, allocations: 409.6 kB / 460.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.07001, allocations: 178.9 kB / 460.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.07015, allocations: 156 kB / 460.9 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.07017, allocations: 12 kB / 460.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.07017, allocations: 0 / 460.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.07018, allocations: 3.984 kB / 460.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.0725, allocations: 2.13 MB / 463.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.0725, allocations: 16.02 kB / 463.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.07269, allocations: 87.84 kB / 463.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.07269, allocations: 8 kB / 463.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.07272, allocations: 16 kB / 463.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.07272, allocations: 11.98 kB / 463.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.07273, allocations: 11.94 kB / 463.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.07331, allocations: 0.8383 MB / 464 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.07342, allocations: 150.8 kB / 464.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.0735, allocations: 19.98 kB / 464.2 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.07371, allocations: 12 kB / 464.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.07376, allocations: 55.81 kB / 464.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.07379, allocations: 23.98 kB / 464.3 MB, free: 14.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005412/0.07434, allocations: 0.731 MB / 465 MB, free: 13.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.07434, allocations: 0 / 465 MB, free: 13.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001509/0.07584, allocations: 0.7044 MB / 465.7 MB, free: 12.7 MB / 394.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.0002209/0.07607, allocations: 147 kB / 465.9 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.07754, allocations: 1.18 MB / 467.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.07754, allocations: 0 / 467.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.07773, allocations: 183.5 kB / 467.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.07847, allocations: 201.8 kB / 467.4 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.0831, allocations: 4.357 MB / 471.8 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.08374, allocations: 0.7541 MB / 472.6 MB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005543/0.08429, allocations: 246.6 kB / 472.8 MB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.0846, allocations: 294.1 kB / 473.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of SimCode: time 1.123e-06/0.08461, allocations: 0 / 473.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of Templates: time 0.02132/0.1059, allocations: 12.73 MB / 485.8 MB, free: 8.641 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.659559469204396]