Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 88.23 kB / 20.2 MB, free: 4.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 157.7 kB / 23.51 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2352/0.2352, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.504e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008411/0.008436, allocations: 9.284 MB / 356.2 MB, free: 492 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007891/0.01633, allocations: 2.87 MB / 359.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.01826, allocations: 59.81 kB / 359.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004587/0.02285, allocations: 2.083 MB / 361.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.02675, allocations: 1.268 MB / 362.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.02779, allocations: 311.2 kB / 362.8 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.03218, allocations: 2.489 MB / 365.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.03485, allocations: 1.887 MB / 367.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.03699, allocations: 1.399 MB / 368.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.03912, allocations: 1.247 MB / 369.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.03955, allocations: 212 kB / 370 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.04087, allocations: 0.663 MB / 370.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.0423, allocations: 1.289 MB / 372 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.04347, allocations: 0.7904 MB / 372.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006447/0.04992, allocations: 4.676 MB / 377.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.04993, allocations: 0 / 377.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.04993, allocations: 0 / 377.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.05006, allocations: 8 kB / 377.4 MB, free: 11.14 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.006381/0.05644, allocations: 3.046 MB / 380.5 MB, free: 8.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.05649, allocations: 12.03 kB / 380.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006355/0.06284, allocations: 2.012 MB / 382.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.06606, allocations: 1.356 MB / 383.9 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.06622, allocations: 156.3 kB / 384 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004632/0.06669, allocations: 200.3 kB / 384.2 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.07919, allocations: 6.789 MB / 391 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/0.07925, allocations: 11.88 kB / 391 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004972/0.07975, allocations: 95.89 kB / 391.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00273/0.08248, allocations: 1.477 MB / 392.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.09646, allocations: 5.786 MB / 398.4 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/0.1342, allocations: 19.65 MB / 418 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/0.1398, allocations: 1.8 MB / 419.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.1413, allocations: 0.7206 MB / 420.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008017/0.1493, allocations: 3.207 MB / 423.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.1493, allocations: 51.14 kB / 423.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=93): time 4.238e-06/0.1494, allocations: 0 / 423.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.007291/0.1566, allocations: 2.343 MB / 426.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.1567, allocations: 60.06 kB / 426.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.161, allocations: 2.008 MB / 428.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.1612, allocations: 41.69 kB / 428.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001966/0.1632, allocations: 2.028 MB / 430.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/0.1638, allocations: 377.1 kB / 430.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.1653, allocations: 0.6475 MB / 431.3 MB, free: 4.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.1655, allocations: 353.9 kB / 431.6 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.1675, allocations: 0.9666 MB / 432.6 MB, free: 2.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/0.1721, allocations: 2.922 MB / 435.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0067/0.1788, allocations: 4.249 MB / 439.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/0.179, allocations: 20 kB / 439.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008504/0.1875, allocations: 3.946 MB / 443.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.149e-05/0.1875, allocations: 36 kB / 443.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/0.1877, allocations: 72 kB / 443.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.1878, allocations: 92 kB / 443.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/0.1903, allocations: 0.7057 MB / 444.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001659/0.1904, allocations: 139.4 kB / 444.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.1932, allocations: 440.7 kB / 445.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/0.1937, allocations: 208 kB / 445.4 MB, free: 4.055 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.003387/0.197, allocations: 1.432 MB / 446.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.1976, allocations: 190.8 kB / 447 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.2002, allocations: 1.173 MB / 448.2 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.2002, allocations: 15.98 kB / 448.2 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.2002, allocations: 4 kB / 448.2 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.2002, allocations: 3.984 kB / 448.2 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1667/0.367, allocations: 3.958 MB / 452.2 MB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.367, allocations: 8.25 kB / 452.2 MB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.3676, allocations: 130.5 kB / 452.3 MB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/0.3676, allocations: 12.38 kB / 452.3 MB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-05/0.3677, allocations: 29.19 kB / 452.4 MB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-05/0.3677, allocations: 19.56 kB / 452.4 MB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.3677, allocations: 13.56 kB / 452.4 MB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.3699, allocations: 1.508 MB / 453.9 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.3704, allocations: 168.7 kB / 454.1 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.3707, allocations: 23.58 kB / 454.1 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/0.3714, allocations: 37.02 kB / 454.1 MB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3716, allocations: 83.59 kB / 454.2 MB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/0.3716, allocations: 41 kB / 454.2 MB, free: 102.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002082/0.3737, allocations: 1.159 MB / 455.4 MB, free: 102.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3737, allocations: 0 / 455.4 MB, free: 102.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00279/0.3765, allocations: 0.7763 MB / 456.2 MB, free: 102.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003776/0.3769, allocations: 153.6 kB / 456.3 MB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.3799, allocations: 2.152 MB / 458.5 MB, free: 101.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.3799, allocations: 7.156 kB / 458.5 MB, free: 101.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.3805, allocations: 0.5079 MB / 459 MB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3817, allocations: 208.9 kB / 459.2 MB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008418/0.3901, allocations: 5.663 MB / 464.9 MB, free: 97.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.3924, allocations: 1.849 MB / 466.7 MB, free: 96.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002095/0.3945, allocations: 0.9961 MB / 467.7 MB, free: 95.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.3948, allocations: 120 kB / 467.8 MB, free: 95.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3948, allocations: 0 / 467.8 MB, free: 95.67 MB / 378.7 MB Notification: Performance of Templates: time 0.02148/0.4163, allocations: 12.64 MB / 480.5 MB, free: 83.31 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.598912312998436]