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.001038/0.001038, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001164/0.001164, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.9748/0.9748, allocations: 177 MB / 205.9 MB, free: 4.457 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.1451/0.1451, 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.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 1.723e-06/1.723e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.037e-05, allocations: 5.266 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.006365/0.006395, allocations: 9.003 MB / 389 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004077/0.01047, allocations: 2.836 MB / 391.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.01111, allocations: 55.81 kB / 391.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.01303, allocations: 2.103 MB / 394 MB, free: 8.711 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.01457, allocations: 1.182 MB / 395.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.01506, allocations: 327.2 kB / 395.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.01691, allocations: 2.352 MB / 397.8 MB, free: 4.844 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.01815, allocations: 1.801 MB / 399.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.01909, allocations: 1.298 MB / 400.9 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.02015, allocations: 1.177 MB / 402.1 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.02037, allocations: 192 kB / 402.3 MB, free: 336 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.02107, allocations: 0.6435 MB / 403 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000704/0.02178, allocations: 1.188 MB / 404.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007173/0.02249, allocations: 0.7202 MB / 404.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.02476, allocations: 2.72 MB / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.02476, allocations: 0 / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.02477, allocations: 0 / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.579e-05/0.02484, 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.009725/0.03457, allocations: 3.114 MB / 410.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.03462, allocations: 11.97 kB / 410.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.0385, allocations: 0.9784 MB / 411.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.04134, allocations: 1.142 MB / 412.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.04147, allocations: 144 kB / 413 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.04177, allocations: 184.3 kB / 413.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004595/0.04636, allocations: 3.043 MB / 416.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.04641, allocations: 11.88 kB / 416.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.04657, allocations: 87.91 kB / 416.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/0.04775, allocations: 1.196 MB / 417.5 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.05134, allocations: 1.444 MB / 418.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02063/0.07196, allocations: 20.42 MB / 439.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.07411, allocations: 0.878 MB / 440.2 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.07437, allocations: 196.2 kB / 440.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003646/0.07801, allocations: 2.338 MB / 442.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.07805, allocations: 41.89 kB / 442.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.07805, allocations: 0 / 442.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002689/0.08074, allocations: 1.225 MB / 444 MB, free: 5.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.08078, allocations: 55.91 kB / 444.1 MB, free: 5.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.08262, allocations: 1.786 MB / 445.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.08267, allocations: 41.7 kB / 445.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.08378, allocations: 2.027 MB / 447.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.08402, allocations: 341.5 kB / 448.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005723/0.08459, allocations: 0.6886 MB / 449 MB, free: 344 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005266/0.08512, allocations: 0.5237 MB / 449.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.08545, allocations: 229.7 kB / 449.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.08714, allocations: 3.005 MB / 452.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.09026, allocations: 3.614 MB / 456.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.165e-05/0.0903, allocations: 20 kB / 456.3 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003045/0.09334, allocations: 2.337 MB / 458.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.0934, allocations: 36.94 kB / 458.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-05/0.09346, allocations: 64 kB / 458.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-05/0.09354, allocations: 88 kB / 458.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.09473, allocations: 0.6433 MB / 459.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.541e-05/0.09482, allocations: 127.5 kB / 459.6 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.09629, allocations: 408.9 kB / 460 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.09647, allocations: 164 kB / 460.2 MB, free: 2.535 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.001136/0.09761, allocations: 409.6 kB / 460.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.09783, allocations: 178.9 kB / 460.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.098, allocations: 160 kB / 460.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.09802, allocations: 8 kB / 460.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.09803, allocations: 0 / 460.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.09804, allocations: 0 / 460.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.1015, allocations: 2.134 MB / 463.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.1015, allocations: 8 kB / 463.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1017, allocations: 91.88 kB / 463.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.1017, allocations: 8 kB / 463.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.1017, allocations: 27.95 kB / 463.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1017, allocations: 8 kB / 463.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.1017, allocations: 7.938 kB / 463.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.1025, allocations: 0.8344 MB / 464 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.1027, allocations: 150.8 kB / 464.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.1028, allocations: 24 kB / 464.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.103, allocations: 12 kB / 464.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.1031, allocations: 55.8 kB / 464.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.1031, allocations: 24 kB / 464.3 MB, free: 14.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006856/0.1038, allocations: 0.731 MB / 465 MB, free: 13.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1038, allocations: 0 / 465 MB, free: 13.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002337/0.1062, allocations: 0.7083 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.0003115/0.1065, allocations: 147 kB / 465.9 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.1083, allocations: 1.177 MB / 467.1 MB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.1083, allocations: 0 / 467.1 MB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.1085, allocations: 186.7 kB / 467.2 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.1092, allocations: 200.4 kB / 467.4 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/0.1154, allocations: 4.349 MB / 471.8 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.116, allocations: 0.7619 MB / 472.6 MB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000626/0.1167, allocations: 246.6 kB / 472.8 MB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.117, allocations: 290.2 kB / 473.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of SimCode: time 2.454e-06/0.117, allocations: 0 / 473.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of Templates: time 0.02695/0.1439, allocations: 12.73 MB / 485.8 MB, free: 8.645 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.9103754931129515]