Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.0009653/0.0009653, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001539/0.001539, allocations: 172.6 kB / 24.92 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9178/0.9178, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2824/0.2824, allocations: 34.25 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.034e-05/4.21e-05, allocations: 3.016 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007288/0.00733, allocations: 9.017 MB / 334.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.01257, allocations: 2.951 MB / 337.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.01373, allocations: 55.81 kB / 337.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.01599, allocations: 2.138 MB / 339.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.0181, allocations: 1.178 MB / 340.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.01862, allocations: 319.2 kB / 340.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.02068, allocations: 2.214 MB / 343.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.02214, allocations: 1.848 MB / 344.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.0233, allocations: 1.302 MB / 346.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.02434, allocations: 1.118 MB / 347.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.02455, allocations: 192 kB / 347.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.02532, allocations: 0.6396 MB / 348.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006781/0.026, allocations: 1.188 MB / 349.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005971/0.0266, allocations: 0.7163 MB / 350.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.02883, allocations: 2.724 MB / 352.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.02884, allocations: 3.984 kB / 352.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.02884, allocations: 0 / 352.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.22e-05/0.02888, allocations: 0 / 352.8 MB, free: 11.96 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.002684/0.03157, allocations: 2.682 MB / 355.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.0316, allocations: 8.031 kB / 355.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.03331, allocations: 0.7499 MB / 356.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.03452, allocations: 1.053 MB / 357.3 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.03459, allocations: 144 kB / 357.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.0348, allocations: 184.3 kB / 357.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.03763, allocations: 2.845 MB / 360.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.03767, allocations: 15.88 kB / 360.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.03781, allocations: 87.91 kB / 360.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009873/0.0388, allocations: 1.2 MB / 361.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.04116, allocations: 1.51 MB / 363.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.05354, allocations: 15.27 MB / 378.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.05533, allocations: 0.9106 MB / 379.5 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.05554, allocations: 155 kB / 379.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002801/0.05834, allocations: 2.13 MB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.05836, allocations: 39.06 kB / 381.8 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.445e-06/0.05837, allocations: 0 / 381.8 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002227/0.06059, allocations: 1.097 MB / 382.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.06063, allocations: 59.89 kB / 382.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.06164, allocations: 1.42 MB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.06168, allocations: 41.69 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/0.06241, allocations: 1.842 MB / 386.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.06257, allocations: 317.5 kB / 386.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.06299, allocations: 0.5762 MB / 387.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.0631, allocations: 345.9 kB / 387.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.06348, allocations: 314.2 kB / 387.8 MB, free: 7.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.06462, allocations: 2.084 MB / 389.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.06701, allocations: 2.748 MB / 392.6 MB, free: 1.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/0.06704, allocations: 20 kB / 392.6 MB, free: 1.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002388/0.06943, allocations: 1.963 MB / 394.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.06947, allocations: 36 kB / 394.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.468e-05/0.06954, allocations: 67.98 kB / 394.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.443e-05/0.06962, allocations: 92.8 kB / 394.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.07109, allocations: 0.6433 MB / 395.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.706e-05/0.07118, allocations: 131.5 kB / 395.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.07259, allocations: 400.9 kB / 395.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.07278, allocations: 164 kB / 396.1 MB, free: 13.72 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.0008976/0.07368, allocations: 365.6 kB / 396.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.07383, allocations: 99.83 kB / 396.6 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.07402, allocations: 160 kB / 396.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.07404, allocations: 8 kB / 396.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.07404, allocations: 0 / 396.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.07405, allocations: 7.984 kB / 396.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.07702, allocations: 1.868 MB / 398.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.07703, allocations: 4.75 kB / 398.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.07729, allocations: 87.84 kB / 398.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.0773, allocations: 12 kB / 398.7 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.07733, allocations: 27.97 kB / 398.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.07735, allocations: 11.94 kB / 398.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.07735, allocations: 4 kB / 398.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.07795, allocations: 0.6134 MB / 399.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.07813, allocations: 158.7 kB / 399.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.07824, allocations: 16 kB / 399.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.07855, allocations: 16 kB / 399.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.07863, allocations: 47.81 kB / 399.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.07867, allocations: 27.98 kB / 399.6 MB, free: 10 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005621/0.07923, allocations: 0.5448 MB / 400.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.07923, allocations: 0 / 400.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002107/0.08134, allocations: 0.7045 MB / 400.9 MB, free: 8.75 MB / 378.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.0002798/0.08162, allocations: 136 kB / 401 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.08311, allocations: 1.101 MB / 402.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-05/0.0832, allocations: 47.94 kB / 402.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.08341, allocations: 160.6 kB / 402.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.08416, allocations: 187.9 kB / 402.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/0.09017, allocations: 4.466 MB / 407 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.09095, allocations: 0.7502 MB / 407.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007263/0.09168, allocations: 246.6 kB / 407.9 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.09208, allocations: 271.3 kB / 408.2 MB, free: 1.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.09208, allocations: 3.938 kB / 408.2 MB, free: 1.227 MB / 378.7 MB Notification: Performance of Templates: time 0.0263/0.1184, allocations: 12.47 MB / 420.7 MB, free: 4.914 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.2505662902258337]