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.001019/0.001019, allocations: 91.5 kB / 21.2 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.0009489/0.0009489, 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.9913/0.9913, allocations: 177 MB / 204.8 MB, free: 5.605 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.2935/0.2935, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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 1.483e-06/1.483e-06, allocations: 0 / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.426e-05, allocations: 2.312 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007475/0.007499, allocations: 9.222 MB / 388 MB, free: 8.828 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.01265, allocations: 2.88 MB / 390.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.01372, allocations: 59.81 kB / 390.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.0162, allocations: 2.142 MB / 393.1 MB, free: 3.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.01826, allocations: 1.167 MB / 394.2 MB, free: 2.562 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.0188, allocations: 327.1 kB / 394.5 MB, free: 2.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.02117, allocations: 2.356 MB / 396.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.02306, allocations: 1.797 MB / 398.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.02461, allocations: 1.298 MB / 400 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.02606, allocations: 1.173 MB / 401.2 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004313/0.02649, allocations: 196 kB / 401.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009878/0.02748, allocations: 0.6357 MB / 402 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008959/0.02837, allocations: 1.196 MB / 403.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.02942, allocations: 0.7163 MB / 403.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.03237, allocations: 2.72 MB / 406.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.03238, allocations: 0 / 406.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.03238, allocations: 0 / 406.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001255/0.03251, allocations: 0 / 406.6 MB, free: 6.082 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.004113/0.03662, allocations: 3.134 MB / 409.8 MB, free: 2.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.03666, allocations: 15.97 kB / 409.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.03982, allocations: 1.871 MB / 411.6 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.04155, allocations: 1.219 MB / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/0.04163, allocations: 148 kB / 413 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.04185, allocations: 188.3 kB / 413.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/0.04594, allocations: 3.321 MB / 416.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.47e-05/0.04598, allocations: 11.88 kB / 416.5 MB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.04612, allocations: 87.91 kB / 416.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001188/0.04731, allocations: 1.344 MB / 418 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.05102, allocations: 1.792 MB / 419.7 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.06619, allocations: 20.59 MB / 440.3 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.06813, allocations: 0.9278 MB / 441.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.06843, allocations: 220.6 kB / 441.5 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1642/0.2327, allocations: 2.438 MB / 443.9 MB, free: 93.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.2327, allocations: 40.05 kB / 444 MB, free: 93.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.2327, allocations: 0 / 444 MB, free: 93.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002764/0.2355, allocations: 1.286 MB / 445.2 MB, free: 93.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2355, allocations: 62.03 kB / 445.3 MB, free: 93.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.2374, allocations: 1.791 MB / 447.1 MB, free: 93.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2374, allocations: 35.95 kB / 447.1 MB, free: 93.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007028/0.2381, allocations: 2.02 MB / 449.1 MB, free: 92.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.2383, allocations: 332.6 kB / 449.5 MB, free: 92.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.2387, allocations: 0.6755 MB / 450.1 MB, free: 91.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.2388, allocations: 0.5242 MB / 450.7 MB, free: 91.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.2393, allocations: 294.3 kB / 451 MB, free: 91.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.2404, allocations: 3.047 MB / 454 MB, free: 87.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.2424, allocations: 3.687 MB / 457.7 MB, free: 84.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/0.2424, allocations: 17.03 kB / 457.7 MB, free: 84.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002556/0.245, allocations: 2.499 MB / 460.2 MB, free: 83.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.245, allocations: 31.91 kB / 460.2 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.905e-05/0.2451, allocations: 67.47 kB / 460.3 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.848e-05/0.2451, allocations: 86.03 kB / 460.4 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2461, allocations: 0.6632 MB / 461.1 MB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.674e-05/0.2462, allocations: 126 kB / 461.2 MB, free: 83.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009889/0.2472, allocations: 418.6 kB / 461.6 MB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.2473, allocations: 193.5 kB / 461.8 MB, free: 83.44 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.0006297/0.248, allocations: 409.1 kB / 462.2 MB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2481, allocations: 173.9 kB / 462.3 MB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.2482, allocations: 166.4 kB / 462.5 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.2482, allocations: 7.531 kB / 462.5 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.2482, allocations: 0 / 462.5 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2482, allocations: 10.48 kB / 462.5 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.2512, allocations: 2.829 MB / 465.4 MB, free: 81.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2512, allocations: 6.281 kB / 465.4 MB, free: 81.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.2514, allocations: 101.7 kB / 465.5 MB, free: 81.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2514, allocations: 9.781 kB / 465.5 MB, free: 81.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2514, allocations: 24.16 kB / 465.5 MB, free: 81.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.2514, allocations: 12.5 kB / 465.5 MB, free: 81.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2514, allocations: 6.438 kB / 465.5 MB, free: 81.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.252, allocations: 0.8574 MB / 466.4 MB, free: 80.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2521, allocations: 150.7 kB / 466.5 MB, free: 80.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.2522, allocations: 29.08 kB / 466.5 MB, free: 80.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2524, allocations: 23.91 kB / 466.6 MB, free: 80.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.2524, allocations: 57.22 kB / 466.6 MB, free: 80.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.2525, allocations: 26.47 kB / 466.6 MB, free: 80.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006439/0.2531, allocations: 0.7812 MB / 467.4 MB, free: 80.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2531, allocations: 0 / 467.4 MB, free: 80.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001421/0.2545, allocations: 0.6999 MB / 468.1 MB, free: 80.27 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.0002289/0.2548, allocations: 153 kB / 468.3 MB, free: 80.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.256, allocations: 1.252 MB / 469.5 MB, free: 79.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.256, allocations: 2.844 kB / 469.5 MB, free: 79.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.2562, allocations: 196.4 kB / 469.7 MB, free: 79.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.2568, allocations: 183.9 kB / 469.9 MB, free: 79.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.2611, allocations: 4.35 MB / 474.3 MB, free: 77.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.2617, allocations: 0.7641 MB / 475 MB, free: 76.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001056/0.2627, allocations: 0.8036 MB / 475.8 MB, free: 76.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.2629, allocations: 113.8 kB / 475.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/0.2629, allocations: 0 / 475.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of Templates: time 0.02044/0.2834, allocations: 11.56 MB / 487.5 MB, free: 75.57 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.7250966080464423]