Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001061/0.001061, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001182/0.001182, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.811e-05/4.028e-05, allocations: 2.312 kB / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01089/0.01093, allocations: 11.47 MB / 387.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008033/0.01896, allocations: 4.011 MB / 391.5 MB, free: 5.473 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.02066, allocations: 91.69 kB / 391.6 MB, free: 5.383 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.02297, allocations: 1.771 MB / 393.3 MB, free: 3.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.02602, allocations: 1.61 MB / 394.9 MB, free: 1.988 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.02758, allocations: 1.262 MB / 396.2 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.03192, allocations: 3.571 MB / 399.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.03445, allocations: 2.063 MB / 401.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.03678, allocations: 1.715 MB / 403.5 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.03888, allocations: 1.648 MB / 405.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005266/0.0394, allocations: 236 kB / 405.4 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.04047, allocations: 0.6787 MB / 406.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.04163, allocations: 1.644 MB / 407.7 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.04293, allocations: 0.9535 MB / 408.7 MB, free: 4.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.04708, allocations: 3.805 MB / 412.5 MB, free: 324 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.04708, allocations: 0 / 412.5 MB, free: 324 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.04708, allocations: 0 / 412.5 MB, free: 324 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000204/0.04729, allocations: 0 / 412.5 MB, free: 324 kB / 378.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.005307/0.05259, allocations: 4.41 MB / 416.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.05264, allocations: 12.03 kB / 416.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.05883, allocations: 3.485 MB / 420.4 MB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.06163, allocations: 1.679 MB / 422.1 MB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.06174, allocations: 189.1 kB / 422.3 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/0.06209, allocations: 252.2 kB / 422.5 MB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00755/0.06964, allocations: 5.562 MB / 428.1 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.127e-05/0.06971, allocations: 27.75 kB / 428.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.06999, allocations: 127.8 kB / 428.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/0.07233, allocations: 2.314 MB / 430.5 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007533/0.07986, allocations: 2.971 MB / 433.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1944/0.2743, allocations: 41.04 MB / 474.6 MB, free: 66.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.2768, allocations: 1.318 MB / 475.9 MB, free: 65.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.2774, allocations: 424.4 kB / 476.3 MB, free: 65.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004096/0.2815, allocations: 4.065 MB / 480.4 MB, free: 63.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2815, allocations: 54.17 kB / 480.4 MB, free: 63.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.057e-06/0.2815, allocations: 0 / 480.4 MB, free: 63.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.003179/0.2847, allocations: 1.745 MB / 482.2 MB, free: 62.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2847, allocations: 166.6 kB / 482.3 MB, free: 62.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.2877, allocations: 3.479 MB / 485.8 MB, free: 61.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.2877, allocations: 40.77 kB / 485.8 MB, free: 61.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.289, allocations: 3.484 MB / 489.3 MB, free: 58.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.2893, allocations: 0.6499 MB / 490 MB, free: 58.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.2905, allocations: 1.426 MB / 491.4 MB, free: 57.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2906, allocations: 0.5295 MB / 491.9 MB, free: 56.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.2917, allocations: 0.6246 MB / 492.6 MB, free: 56.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/0.2946, allocations: 6.792 MB / 499.3 MB, free: 48.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.2997, allocations: 8.185 MB / 0.4956 GB, free: 38.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/0.2998, allocations: 43.45 kB / 0.4957 GB, free: 38.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.008543/0.3084, allocations: 5.391 MB / 0.5009 GB, free: 36.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.3085, allocations: 72.23 kB / 0.501 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002377/0.3087, allocations: 146.8 kB / 0.5012 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.3089, allocations: 200.8 kB / 0.5013 GB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.3118, allocations: 1.454 MB / 0.5028 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002294/0.312, allocations: 295.3 kB / 0.503 GB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.3151, allocations: 0.8997 MB / 0.5039 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005375/0.3156, allocations: 404.1 kB / 0.5043 GB, free: 36.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * 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 (791): * Single equations (assignments): 783 * Array equations: 8 * 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.001451/0.3171, allocations: 0.6727 MB / 0.505 GB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.3175, allocations: 333.9 kB / 0.5053 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3178, allocations: 318 kB / 0.5056 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/0.3179, allocations: 41.75 kB / 0.5056 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.3179, allocations: 5.469 kB / 0.5056 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3179, allocations: 4.266 kB / 0.5056 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.3231, allocations: 4.038 MB / 0.5096 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.3231, allocations: 3.969 kB / 0.5096 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.3236, allocations: 209.2 kB / 0.5098 GB, free: 33.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.3236, allocations: 10.97 kB / 0.5098 GB, free: 33.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.3236, allocations: 22.25 kB / 0.5098 GB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.3236, allocations: 14.47 kB / 0.5098 GB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.3236, allocations: 13.39 kB / 0.5098 GB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.325, allocations: 1.723 MB / 0.5115 GB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.3254, allocations: 282.3 kB / 0.5118 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.3256, allocations: 23.28 kB / 0.5118 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.3261, allocations: 68.27 kB / 0.5119 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3262, allocations: 90.55 kB / 0.512 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.3263, allocations: 46.52 kB / 0.512 GB, free: 31.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001416/0.3277, allocations: 1.378 MB / 0.5134 GB, free: 31.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3277, allocations: 0 / 0.5134 GB, free: 31.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004236/0.3319, allocations: 1.099 MB / 0.5144 GB, free: 30.81 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.0003756/0.3323, allocations: 163.2 kB / 0.5146 GB, free: 30.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004758/0.3371, allocations: 2.754 MB / 0.5173 GB, free: 29.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3371, allocations: 0 / 0.5173 GB, free: 29.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.3376, allocations: 408.9 kB / 0.5177 GB, free: 29.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.3391, allocations: 297 kB / 0.5179 GB, free: 29.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00868/0.3478, allocations: 6.793 MB / 0.5246 GB, free: 22.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.3489, allocations: 1.168 MB / 0.5257 GB, free: 22.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003815/0.3527, allocations: 1.894 MB / 0.5276 GB, free: 20.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.3531, allocations: 210.2 kB / 0.5278 GB, free: 20.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3531, allocations: 0 / 0.5278 GB, free: 20.76 MB / 410.7 MB Notification: Performance of Templates: time 0.03367/0.3868, allocations: 16.84 MB / 0.5442 GB, free: 7.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.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: 4.086236483883113]