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.0008658/0.0008658, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0009663/0.0009663, allocations: 165.9 kB / 23.96 MB, free: 0.6055 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 0.8645/0.8645, allocations: 158.6 MB / 185.7 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1361/0.1361, allocations: 32.37 MB / 270.4 MB, free: 14.97 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 2.675e-06/2.675e-06, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.536e-05/4.803e-05, allocations: 5.656 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008395/0.008443, allocations: 9.288 MB / 417.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005406/0.01385, allocations: 2.862 MB / 420.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.01568, allocations: 59.81 kB / 420.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.01902, allocations: 2.052 MB / 422.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.02199, allocations: 1.264 MB / 423.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.02276, allocations: 319.1 kB / 423.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.02578, allocations: 2.488 MB / 426.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.02808, allocations: 1.839 MB / 428.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.03057, allocations: 1.391 MB / 429.6 MB, free: 7.348 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.03249, allocations: 1.247 MB / 430.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005411/0.03303, allocations: 216 kB / 431.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.03421, allocations: 0.6514 MB / 431.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.03528, allocations: 1.293 MB / 433 MB, free: 3.938 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008897/0.03617, allocations: 0.7865 MB / 433.8 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1803/0.2165, allocations: 4.676 MB / 438.5 MB, free: 21.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.2165, allocations: 1.375 kB / 438.5 MB, free: 21.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2165, allocations: 1.172 kB / 438.5 MB, free: 21.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001673/0.2167, allocations: 0 / 438.5 MB, free: 21.71 MB / 362.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.006257/0.2229, allocations: 3.052 MB / 441.6 MB, free: 20.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.223, allocations: 9.344 kB / 441.6 MB, free: 20.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.2268, allocations: 1.642 MB / 443.2 MB, free: 20.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/0.23, allocations: 1.347 MB / 444.6 MB, free: 19.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.2302, allocations: 160.9 kB / 444.7 MB, free: 19.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009905/0.2312, allocations: 200.9 kB / 444.9 MB, free: 19.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.2414, allocations: 6.791 MB / 451.7 MB, free: 18.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.2415, allocations: 14.34 kB / 451.7 MB, free: 18.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.2417, allocations: 95.27 kB / 451.8 MB, free: 18.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001526/0.2432, allocations: 1.477 MB / 453.3 MB, free: 17.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008447/0.2516, allocations: 5.812 MB / 459.1 MB, free: 16.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01874/0.2704, allocations: 19.6 MB / 478.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.2733, allocations: 1.797 MB / 480.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.274, allocations: 0.7206 MB / 481.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004583/0.2786, allocations: 3.21 MB / 484.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2787, allocations: 41.09 kB / 484.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 3.727e-06/0.2787, allocations: 3 kB / 484.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.003868/0.2825, allocations: 2.315 MB / 486.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2826, allocations: 60.06 kB / 486.9 MB, free: 7.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.2844, allocations: 2.006 MB / 488.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.2845, allocations: 41.7 kB / 488.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008615/0.2854, allocations: 2.034 MB / 490.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.2856, allocations: 379.8 kB / 491.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/0.2861, allocations: 0.6506 MB / 492 MB, free: 2.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.2863, allocations: 353.9 kB / 492.3 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.2872, allocations: 0.9627 MB / 493.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.2892, allocations: 2.925 MB / 496.2 MB, free: 13.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/0.2926, allocations: 4.245 MB / 0.4887 GB, free: 8.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-05/0.2927, allocations: 20 kB / 0.4887 GB, free: 8.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.004168/0.2968, allocations: 3.777 MB / 0.4924 GB, free: 4.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.2969, allocations: 32 kB / 0.4924 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.707e-05/0.2969, allocations: 72.91 kB / 0.4925 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.958e-05/0.297, allocations: 94.08 kB / 0.4926 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.2982, allocations: 0.7212 MB / 0.4933 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.194e-05/0.2982, allocations: 131.5 kB / 0.4934 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2996, allocations: 441.8 kB / 0.4939 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.2998, allocations: 200 kB / 0.494 GB, free: 3.172 MB / 394.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.002032/0.3019, allocations: 1.435 MB / 0.4954 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.3021, allocations: 162.9 kB / 0.4956 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.3033, allocations: 1.184 MB / 0.4968 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3033, allocations: 12 kB / 0.4968 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3033, allocations: 0 / 0.4968 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3033, allocations: 7.984 kB / 0.4968 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004701/0.308, allocations: 3.968 MB / 0.5007 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.308, allocations: 11.98 kB / 0.5007 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.3083, allocations: 131.8 kB / 0.5008 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.3083, allocations: 12 kB / 0.5008 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.3084, allocations: 27.98 kB / 0.5008 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.3084, allocations: 15.94 kB / 0.5008 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.3084, allocations: 17.58 kB / 0.5009 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.3099, allocations: 1.474 MB / 0.5023 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.3101, allocations: 174.7 kB / 0.5025 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3102, allocations: 30.44 kB / 0.5025 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.3105, allocations: 31.97 kB / 0.5025 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.3106, allocations: 75.72 kB / 0.5026 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.3107, allocations: 32 kB / 0.5026 GB, free: 10.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.3118, allocations: 1.159 MB / 0.5038 GB, free: 8.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3118, allocations: 4 kB / 0.5038 GB, free: 8.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002065/0.3138, allocations: 0.7844 MB / 0.5045 GB, free: 8.141 MB / 410.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.0003042/0.3141, allocations: 148.3 kB / 0.5047 GB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002388/0.3165, allocations: 2.154 MB / 0.5068 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.3165, allocations: 4 kB / 0.5068 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.317, allocations: 0.5028 MB / 0.5073 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.3179, allocations: 197.8 kB / 0.5075 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/0.3251, allocations: 5.905 MB / 0.5132 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.3266, allocations: 1.846 MB / 0.515 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.327, allocations: 156.5 kB / 0.5152 GB, free: 13.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/0.327, allocations: 0 / 0.5152 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Templates: time 0.03878/0.3658, allocations: 32.59 MB / 0.547 GB, free: 12.52 MB / 458.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: 6.459512196481228]