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.001935/0.001935, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002328/0.002328, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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.442/1.442, allocations: 177.1 MB / 204.2 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2039/0.2039, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 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.3.|freeMotion.r.2.|freeMotion.r.1.",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.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.481e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.208/0.208, allocations: 10.41 MB / 450.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008226/0.2162, allocations: 3.915 MB / 454.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.2185, allocations: 87.91 kB / 454.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.2222, allocations: 1.706 MB / 456.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.2264, allocations: 1.607 MB / 457.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.2288, allocations: 1.214 MB / 459 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005978/0.2348, allocations: 3.564 MB / 462.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003189/0.2379, allocations: 1.997 MB / 464.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.2408, allocations: 1.723 MB / 466.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.2432, allocations: 1.616 MB / 467.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005311/0.2437, allocations: 236.8 kB / 468.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2451, allocations: 0.6878 MB / 468.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.2465, allocations: 1.636 MB / 470.5 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.2479, allocations: 0.9502 MB / 471.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006049/0.2539, allocations: 6.03 MB / 477.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2539, allocations: 0 / 477.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2539, allocations: 1.125 kB / 477.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001985/0.2541, allocations: 0 / 477.4 MB, free: 2.906 MB / 366.1 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.007057/0.2612, allocations: 3.96 MB / 481.4 MB, free: 0 / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2612, allocations: 10.97 kB / 481.4 MB, free: 0 / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.272, allocations: 3.026 MB / 484.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.2766, allocations: 1.771 MB / 486.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.2768, allocations: 193.1 kB / 486.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008988/0.2776, allocations: 252.2 kB / 486.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/0.2962, allocations: 10.05 MB / 496.7 MB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.91e-05/0.2963, allocations: 31.69 kB / 496.7 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004375/0.2968, allocations: 123.8 kB / 496.9 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004229/0.301, allocations: 2.321 MB / 499.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.3187, allocations: 8.918 MB / 0.4962 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04838/0.3671, allocations: 35.13 MB / 0.5305 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005705/0.3728, allocations: 2.429 MB / 0.5329 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.3746, allocations: 1.126 MB / 0.534 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008993/0.3836, allocations: 4.552 MB / 0.5384 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.3837, allocations: 55.14 kB / 0.5385 GB, free: 8.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.869e-06/0.3837, allocations: 0 / 0.5385 GB, free: 8.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.007524/0.3912, allocations: 3.419 MB / 0.5418 GB, free: 5.262 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.3913, allocations: 170.8 kB / 0.542 GB, free: 5.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005707/0.397, allocations: 3.76 MB / 0.5456 GB, free: 1.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.3972, allocations: 45.69 kB / 0.5457 GB, free: 1.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003502/0.4007, allocations: 3.302 MB / 0.5489 GB, free: 13.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009797/0.4017, allocations: 0.6166 MB / 0.5495 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002014/0.4037, allocations: 1.294 MB / 0.5508 GB, free: 11.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.404, allocations: 353.9 kB / 0.5511 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/0.407, allocations: 1.953 MB / 0.553 GB, free: 9.668 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006513/0.4135, allocations: 6.108 MB / 0.559 GB, free: 1.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.4248, allocations: 8.783 MB / 0.5675 GB, free: 6.621 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001458/0.425, allocations: 48 kB / 0.5676 GB, free: 6.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01511/0.4401, allocations: 7.697 MB / 0.5751 GB, free: 14.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/0.4402, allocations: 68 kB / 0.5752 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/0.4404, allocations: 148 kB / 0.5753 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.4405, allocations: 192 kB / 0.5755 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004496/0.445, allocations: 1.458 MB / 0.5769 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002368/0.4453, allocations: 290.8 kB / 0.5772 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004342/0.4496, allocations: 0.8999 MB / 0.5781 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000758/0.4504, allocations: 408 kB / 0.5785 GB, free: 11.44 MB / 494.1 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.00417/0.4545, allocations: 2.199 MB / 0.5806 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005989/0.4551, allocations: 294 kB / 0.5809 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000896/0.456, allocations: 380.4 kB / 0.5813 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.622e-05/0.4561, allocations: 40.45 kB / 0.5813 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.4561, allocations: 0 / 0.5813 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.4561, allocations: 15.86 kB / 0.5813 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009803/0.4659, allocations: 4.37 MB / 0.5856 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.466, allocations: 4.656 kB / 0.5856 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.467, allocations: 215.6 kB / 0.5858 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.467, allocations: 12 kB / 0.5858 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.4671, allocations: 28.31 kB / 0.5858 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/0.4671, allocations: 8 kB / 0.5858 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/0.4671, allocations: 15.94 kB / 0.5859 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.4706, allocations: 2.513 MB / 0.5883 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/0.4712, allocations: 277.6 kB / 0.5886 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004834/0.4717, allocations: 27.98 kB / 0.5886 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4729, allocations: 71.92 kB / 0.5887 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.4731, allocations: 84.19 kB / 0.5887 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.4732, allocations: 51.97 kB / 0.5888 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004073/0.4773, allocations: 2.087 MB / 0.5908 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4773, allocations: 0 / 0.5908 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005526/0.4828, allocations: 1.106 MB / 0.5919 GB, free: 13.46 MB / 0.4981 GB 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.0005758/0.4834, allocations: 146.9 kB / 0.5921 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007834/0.4912, allocations: 4.259 MB / 0.5962 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.4912, allocations: 0.9375 kB / 0.5962 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.4926, allocations: 0.8736 MB / 0.5971 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.4951, allocations: 291 kB / 0.5973 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.5122, allocations: 8.321 MB / 0.6055 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005236/0.5174, allocations: 2.62 MB / 0.608 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005434/0.5228, allocations: 2.19 MB / 0.6102 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/0.5236, allocations: 208.5 kB / 0.6104 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of SimCode: time 1.153e-06/0.5236, allocations: 0 / 0.6104 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.0479/0.5715, allocations: 16.85 MB / 0.6268 GB, free: 9.984 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.288317047059536]