Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.001332/0.001332, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002306/0.003638, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001192/0.001192, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001804/0.002996, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.078/1.078, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1065/1.185, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.3171/0.3171, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03161/0.3487, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.937e-06/1.006e-05, allocations: 6.312 kB / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01125/0.01126, allocations: 11.33 MB / 304.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.01837, allocations: 4.202 MB / 308.4 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.01937, allocations: 83.75 kB / 308.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.02164, allocations: 1.72 MB / 310.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.02429, allocations: 1.61 MB / 311.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.02595, allocations: 1.2 MB / 313 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.02983, allocations: 3.386 MB / 316.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.03173, allocations: 2.005 MB / 318.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.0334, allocations: 1.764 MB / 320.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.03522, allocations: 1.543 MB / 321.7 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006256/0.03584, allocations: 240 kB / 321.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.0369, allocations: 0.6981 MB / 322.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.03793, allocations: 1.492 MB / 324.1 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007039/0.03864, allocations: 0.794 MB / 324.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.04129, allocations: 3.622 MB / 328.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.0413, allocations: 0 / 328.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.0413, allocations: 0 / 328.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.264e-05/0.04134, allocations: 0 / 328.5 MB, free: 2.324 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.003446/0.04478, allocations: 4.531 MB / 333 MB, free: 13.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.04482, allocations: 8.031 kB / 333.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.04788, allocations: 1.319 MB / 334.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.04928, allocations: 1.395 MB / 335.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.04937, allocations: 193.1 kB / 336 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.04966, allocations: 248.2 kB / 336.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/0.05412, allocations: 4.668 MB / 340.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/0.05416, allocations: 35.62 kB / 340.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.0544, allocations: 131.8 kB / 341 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.05605, allocations: 1.908 MB / 342.9 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.0593, allocations: 2.482 MB / 345.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.07966, allocations: 29.32 MB / 374.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.08167, allocations: 1.217 MB / 376 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.08201, allocations: 299.4 kB / 376.2 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003556/0.08557, allocations: 3.449 MB / 379.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.0856, allocations: 47.22 kB / 379.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 2.896e-06/0.0856, allocations: 0 / 379.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.002636/0.08824, allocations: 1.389 MB / 381.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.0883, allocations: 170.9 kB / 381.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.09002, allocations: 2.714 MB / 384 MB, free: 8.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.09008, allocations: 41.7 kB / 384.1 MB, free: 8.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.09136, allocations: 3.221 MB / 387.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005477/0.09191, allocations: 0.6242 MB / 387.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008796/0.09279, allocations: 1.219 MB / 389.1 MB, free: 3.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.09288, allocations: 357.8 kB / 389.5 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/0.09357, allocations: 0.6777 MB / 390.1 MB, free: 2.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.09625, allocations: 4.707 MB / 394.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/0.101, allocations: 6.644 MB / 401.5 MB, free: 2.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.376e-05/0.101, allocations: 44 kB / 401.5 MB, free: 2.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.004435/0.1055, allocations: 4.321 MB / 405.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.1055, allocations: 68 kB / 405.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.1056, allocations: 156 kB / 406.1 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.1057, allocations: 196 kB / 406.3 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.1081, allocations: 1.583 MB / 407.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001493/0.1082, allocations: 294.8 kB / 408.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.1102, allocations: 0.861 MB / 409 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.1105, allocations: 352 kB / 409.3 MB, free: 11.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 795 * Array equations: 6 * 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.0009819/0.1115, allocations: 0.6479 MB / 410 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.1117, allocations: 171.8 kB / 410.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.112, allocations: 316.4 kB / 410.5 MB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/0.112, allocations: 31.98 kB / 410.5 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.112, allocations: 3.938 kB / 410.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.112, allocations: 7.984 kB / 410.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.1154, allocations: 2.821 MB / 413.3 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.1154, allocations: 12.66 kB / 413.3 MB, free: 7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.1158, allocations: 183.8 kB / 413.5 MB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.116, allocations: 285.6 kB / 413.8 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.116, allocations: 12 kB / 413.8 MB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.1161, allocations: 24 kB / 413.8 MB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/0.1161, allocations: 15.92 kB / 413.9 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.1161, allocations: 11.94 kB / 413.9 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1172, allocations: 1.213 MB / 415.1 MB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.1173, allocations: 24 kB / 415.1 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.1177, allocations: 31.98 kB / 415.1 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1178, allocations: 84.19 kB / 415.2 MB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.1179, allocations: 32 kB / 415.2 MB, free: 5.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007652/0.1186, allocations: 1.037 MB / 416.3 MB, free: 3.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1186, allocations: 0 / 416.3 MB, free: 3.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00248/0.1211, allocations: 1.103 MB / 417.4 MB, free: 2.879 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 (108): * Single equations (assignments): 102 * Array equations: 6 * 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.0002992/0.1214, allocations: 140.1 kB / 417.5 MB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.1239, allocations: 2.594 MB / 420.1 MB, free: 184 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001635/0.1241, allocations: 115 kB / 420.2 MB, free: 52 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.1245, allocations: 404.8 kB / 420.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.1261, allocations: 1.603 MB / 422.2 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008047/0.1341, allocations: 7.036 MB / 429.3 MB, free: 6.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/0.135, allocations: 1.151 MB / 430.4 MB, free: 5.539 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009917/0.136, allocations: 486 kB / 430.9 MB, free: 5.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.1365, allocations: 431.3 kB / 431.3 MB, free: 4.637 MB / 426.7 MB Notification: Performance of SimCode: time 2.585e-06/0.1365, allocations: 0 / 431.3 MB, free: 4.637 MB / 426.7 MB Notification: Performance of Templates: time 0.1765/0.313, allocations: 16.81 MB / 448.1 MB, free: 118.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.636120273731649]