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.001563/0.001563, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001741/0.001741, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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.517/1.517, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3485/0.3485, allocations: 34.26 MB / 295.2 MB, free: 0.6328 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.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.957e-05/4.186e-05, allocations: 2.312 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01413/0.01417, allocations: 8.426 MB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.02084, allocations: 2.78 MB / 388.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.02185, allocations: 59.81 kB / 388.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004655/0.0265, allocations: 2.064 MB / 390.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.02951, allocations: 1.186 MB / 391.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008752/0.03038, allocations: 315.2 kB / 392 MB, free: 4.016 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.03402, allocations: 2.371 MB / 394.4 MB, free: 1.641 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.03652, allocations: 1.785 MB / 396.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.03854, allocations: 1.294 MB / 397.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.04032, allocations: 1.126 MB / 398.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.04065, allocations: 192 kB / 398.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.04188, allocations: 0.6513 MB / 399.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.04319, allocations: 1.173 MB / 400.6 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.04423, allocations: 0.7163 MB / 401.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005851/0.05008, allocations: 4.287 MB / 405.6 MB, free: 6.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.0501, allocations: 7.984 kB / 405.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0501, allocations: 0 / 405.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001144/0.05021, allocations: 0 / 405.6 MB, free: 6.344 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.005809/0.05602, allocations: 2.831 MB / 408.4 MB, free: 3.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.05606, allocations: 8.031 kB / 408.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006032/0.0621, allocations: 1.93 MB / 410.4 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/0.06509, allocations: 1.282 MB / 411.7 MB, free: 216 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.06525, allocations: 152 kB / 411.8 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004298/0.06568, allocations: 188.3 kB / 412 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.07652, allocations: 6.266 MB / 418.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.07657, allocations: 11.88 kB / 418.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.07682, allocations: 87.91 kB / 418.4 MB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002301/0.07912, allocations: 1.344 MB / 419.7 MB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.08937, allocations: 5.323 MB / 425 MB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1732/0.2626, allocations: 18.37 MB / 443.4 MB, free: 94.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/0.2663, allocations: 1.638 MB / 445 MB, free: 94.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/0.2671, allocations: 0.6378 MB / 445.7 MB, free: 94.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00499/0.272, allocations: 2.974 MB / 448.7 MB, free: 93.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2721, allocations: 38.75 kB / 448.7 MB, free: 93.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.2721, allocations: 0 / 448.7 MB, free: 93.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004893/0.277, allocations: 2.126 MB / 450.8 MB, free: 93.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.277, allocations: 58.56 kB / 450.9 MB, free: 93.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.2791, allocations: 1.939 MB / 452.8 MB, free: 92.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.2791, allocations: 32.95 kB / 452.8 MB, free: 92.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/0.2797, allocations: 1.902 MB / 454.7 MB, free: 91.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.2799, allocations: 326 kB / 455.1 MB, free: 91.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005943/0.2805, allocations: 0.6133 MB / 455.7 MB, free: 91.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.2806, allocations: 351.2 kB / 456 MB, free: 90.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009683/0.2816, allocations: 0.8863 MB / 456.9 MB, free: 90.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.283, allocations: 2.749 MB / 459.7 MB, free: 87.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.2859, allocations: 3.972 MB / 463.6 MB, free: 84.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/0.286, allocations: 16.81 kB / 463.6 MB, free: 84.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004352/0.2903, allocations: 3.681 MB / 467.3 MB, free: 83.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.2904, allocations: 36.05 kB / 467.4 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.987e-05/0.2904, allocations: 69.91 kB / 467.4 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.403e-05/0.2905, allocations: 87.81 kB / 467.5 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.2922, allocations: 0.6572 MB / 468.2 MB, free: 83.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.389e-05/0.2923, allocations: 130.1 kB / 468.3 MB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.294, allocations: 413.5 kB / 468.7 MB, free: 82.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.2942, allocations: 188.4 kB / 468.9 MB, free: 82.7 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.001609/0.2959, allocations: 1.336 MB / 470.2 MB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.2961, allocations: 183.9 kB / 470.4 MB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.2964, allocations: 188.6 kB / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.2964, allocations: 12.48 kB / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.2964, allocations: 0 / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2964, allocations: 0 / 470.6 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00441/0.3008, allocations: 3.135 MB / 473.7 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.3008, allocations: 6.562 kB / 473.7 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.3012, allocations: 97.84 kB / 473.8 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3012, allocations: 12 kB / 473.9 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.3012, allocations: 18.59 kB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/0.3013, allocations: 8.531 kB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3013, allocations: 9.562 kB / 473.9 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3025, allocations: 1.242 MB / 475.1 MB, free: 79.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.3027, allocations: 159.7 kB / 475.3 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.3029, allocations: 20.78 kB / 475.3 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.3033, allocations: 28.06 kB / 475.3 MB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.3034, allocations: 53.09 kB / 475.4 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.3035, allocations: 27.53 kB / 475.4 MB, free: 79.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00132/0.3048, allocations: 1.115 MB / 476.5 MB, free: 79.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 476.5 MB, free: 79.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002402/0.3072, allocations: 0.7103 MB / 477.2 MB, free: 79.12 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.0002833/0.3075, allocations: 139.8 kB / 477.4 MB, free: 79.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.31, allocations: 1.96 MB / 479.3 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.31, allocations: 1.344 kB / 479.3 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.3105, allocations: 426.7 kB / 479.7 MB, free: 78.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3116, allocations: 187.7 kB / 479.9 MB, free: 78.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.319, allocations: 5.124 MB / 485.1 MB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.3209, allocations: 1.71 MB / 486.8 MB, free: 75.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002211/0.3231, allocations: 0.9284 MB / 487.7 MB, free: 75.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.3233, allocations: 111.7 kB / 487.8 MB, free: 75.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3233, allocations: 0 / 487.8 MB, free: 75.14 MB / 410.7 MB Notification: Performance of Templates: time 0.02205/0.3454, allocations: 11.7 MB / 499.5 MB, free: 71.73 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.551714724046178]