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.001353/0.001353, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001616/0.001616, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.977/0.977, allocations: 177 MB / 204.8 MB, free: 5.586 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.2701/0.2701, allocations: 34.85 MB / 296.3 MB, free: 0.5352 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.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.973e-06/1.973e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.846e-05, allocations: 2.312 kB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.008154/0.008183, allocations: 9.237 MB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.01356, allocations: 2.869 MB / 390.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.01469, allocations: 55.81 kB / 390.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.01703, allocations: 2.146 MB / 393.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.01901, allocations: 1.175 MB / 394.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.01954, allocations: 319.2 kB / 394.5 MB, free: 2.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.0219, allocations: 2.36 MB / 396.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.02363, allocations: 1.793 MB / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.02498, allocations: 1.29 MB / 400 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.02617, allocations: 1.173 MB / 401.2 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002886/0.02646, allocations: 196 kB / 401.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008657/0.02733, allocations: 0.6435 MB / 402 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007314/0.02806, allocations: 1.184 MB / 403.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.02864, allocations: 0.7241 MB / 403.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.03102, allocations: 2.724 MB / 406.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.03102, allocations: 0 / 406.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.03102, allocations: 4 kB / 406.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.03106, allocations: 0 / 406.6 MB, free: 6.07 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.003101/0.03416, allocations: 3.134 MB / 409.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.0342, allocations: 12.03 kB / 409.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.03709, allocations: 1.879 MB / 411.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.03859, allocations: 1.223 MB / 412.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.03866, allocations: 144 kB / 413 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.03885, allocations: 184.3 kB / 413.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/0.04345, allocations: 3.317 MB / 416.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.04349, allocations: 15.81 kB / 416.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.04365, allocations: 87.91 kB / 416.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.04486, allocations: 1.344 MB / 418 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.04848, allocations: 1.796 MB / 419.8 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.06444, allocations: 20.58 MB / 440.3 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.06645, allocations: 0.92 MB / 441.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.06677, allocations: 221.9 kB / 441.5 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1589/0.2257, allocations: 2.439 MB / 443.9 MB, free: 93.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2257, allocations: 43.64 kB / 444 MB, free: 93.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.298e-06/0.2257, allocations: 0 / 444 MB, free: 93.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002789/0.2285, allocations: 1.281 MB / 445.2 MB, free: 93.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2286, allocations: 59.81 kB / 445.3 MB, free: 93.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.2302, allocations: 1.798 MB / 447.1 MB, free: 92.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.2302, allocations: 35.89 kB / 447.1 MB, free: 92.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007156/0.2309, allocations: 2.011 MB / 449.1 MB, free: 91.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.2311, allocations: 337.5 kB / 449.5 MB, free: 91.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/0.2316, allocations: 0.6768 MB / 450.1 MB, free: 91.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.2316, allocations: 0.5247 MB / 450.7 MB, free: 91.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.232, allocations: 288.5 kB / 451 MB, free: 91.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.2331, allocations: 3.047 MB / 454 MB, free: 87.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.2352, allocations: 3.696 MB / 457.7 MB, free: 83.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-05/0.2352, allocations: 21.28 kB / 457.7 MB, free: 83.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00265/0.2378, allocations: 2.5 MB / 460.2 MB, free: 83.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.2379, allocations: 35.38 kB / 460.3 MB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.494e-05/0.2379, allocations: 66.81 kB / 460.3 MB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.863e-05/0.238, allocations: 85.56 kB / 460.4 MB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.239, allocations: 0.6552 MB / 461.1 MB, free: 83.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.382e-05/0.239, allocations: 126.1 kB / 461.2 MB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.2401, allocations: 421.8 kB / 461.6 MB, free: 83.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.2402, allocations: 190.8 kB / 461.8 MB, free: 83.01 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.0006697/0.2409, allocations: 408.1 kB / 462.2 MB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.241, allocations: 176 kB / 462.3 MB, free: 82.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.2412, allocations: 158.7 kB / 462.5 MB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.2412, allocations: 6.562 kB / 462.5 MB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.2412, allocations: 7.188 kB / 462.5 MB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.2412, allocations: 7.406 kB / 462.5 MB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.2444, allocations: 2.828 MB / 465.4 MB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.2444, allocations: 3.25 kB / 465.4 MB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2446, allocations: 106.6 kB / 465.5 MB, free: 81.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.2446, allocations: 6.312 kB / 465.5 MB, free: 81.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2446, allocations: 30.88 kB / 465.5 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.2446, allocations: 13.52 kB / 465.5 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2446, allocations: 10.31 kB / 465.5 MB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.2452, allocations: 0.854 MB / 466.4 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2454, allocations: 151.2 kB / 466.5 MB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.2454, allocations: 24.95 kB / 466.5 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2456, allocations: 23.92 kB / 466.6 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.2457, allocations: 54.47 kB / 466.6 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.2457, allocations: 32.94 kB / 466.7 MB, free: 80.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006267/0.2464, allocations: 0.7741 MB / 467.4 MB, free: 80.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2464, allocations: 0 / 467.4 MB, free: 80.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001659/0.248, allocations: 0.7068 MB / 468.1 MB, free: 79.87 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.0002439/0.2483, allocations: 147 kB / 468.3 MB, free: 79.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.2497, allocations: 1.251 MB / 469.5 MB, free: 79.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2497, allocations: 0 / 469.5 MB, free: 79.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.2499, allocations: 202.8 kB / 469.7 MB, free: 79.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.2505, allocations: 191 kB / 469.9 MB, free: 79.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/0.2563, allocations: 4.352 MB / 474.3 MB, free: 76.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.2569, allocations: 0.7615 MB / 475 MB, free: 76.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001194/0.2581, allocations: 0.7972 MB / 475.8 MB, free: 76.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.2583, allocations: 116.3 kB / 475.9 MB, free: 76.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.655e-06/0.2583, allocations: 0 / 475.9 MB, free: 76.47 MB / 410.7 MB Notification: Performance of Templates: time 0.02196/0.2803, allocations: 11.55 MB / 487.5 MB, free: 75.17 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.7417273428291082]