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.0008566/0.0008566, allocations: 83.69 kB / 21.43 MB, free: 3.121 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.003366/0.003366, allocations: 162.6 kB / 24.7 MB, free: 9.406 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.8355/0.8355, allocations: 177.1 MB / 205 MB, free: 5.734 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.246/0.246, allocations: 34.25 MB / 295.7 MB, free: 0.7109 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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",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.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.537e-05, allocations: 2.281 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1646/0.1647, allocations: 10.41 MB / 453.8 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004497/0.1692, allocations: 3.897 MB / 457.7 MB, free: 36.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006996/0.1699, allocations: 87.94 kB / 457.8 MB, free: 36.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.1713, allocations: 1.71 MB / 459.5 MB, free: 35.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.1729, allocations: 1.605 MB / 461.1 MB, free: 34.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.1738, allocations: 1.213 MB / 462.3 MB, free: 34.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.1756, allocations: 3.576 MB / 465.9 MB, free: 32.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.1767, allocations: 1.998 MB / 467.9 MB, free: 31.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009328/0.1776, allocations: 1.71 MB / 469.6 MB, free: 31.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009096/0.1785, allocations: 1.624 MB / 471.3 MB, free: 30.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.1787, allocations: 235 kB / 471.5 MB, free: 30.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005909/0.1793, allocations: 0.6826 MB / 472.2 MB, free: 30.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.1799, allocations: 1.636 MB / 473.8 MB, free: 29.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.1803, allocations: 0.9548 MB / 474.8 MB, free: 29.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.1829, allocations: 6.022 MB / 480.8 MB, free: 27.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1829, allocations: 3.75 kB / 480.8 MB, free: 27.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1829, allocations: 0 / 480.8 MB, free: 27.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.104e-05/0.1829, allocations: 4 kB / 480.8 MB, free: 27.27 MB / 410.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.003307/0.1862, allocations: 3.963 MB / 484.8 MB, free: 24.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1863, allocations: 9.25 kB / 484.8 MB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.1918, allocations: 3.025 MB / 487.8 MB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.1941, allocations: 1.769 MB / 489.6 MB, free: 23.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/0.1942, allocations: 195.8 kB / 489.7 MB, free: 23.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.1945, allocations: 246.4 kB / 490 MB, free: 23.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009545/0.204, allocations: 10.05 MB / 0.4883 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.2041, allocations: 28.62 kB / 0.4883 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.2043, allocations: 127 kB / 0.4885 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0022/0.2065, allocations: 2.315 MB / 0.4907 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008722/0.2153, allocations: 8.932 MB / 0.4995 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02442/0.2397, allocations: 35.12 MB / 0.5338 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.2428, allocations: 2.41 MB / 0.5361 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2439, allocations: 1.127 MB / 0.5372 GB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00478/0.2486, allocations: 4.563 MB / 0.5417 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2487, allocations: 47.16 kB / 0.5417 GB, free: 15.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 3.808e-06/0.2487, allocations: 0 / 0.5417 GB, free: 15.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.004/0.2527, allocations: 3.432 MB / 0.5451 GB, free: 11.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.2527, allocations: 162.9 kB / 0.5452 GB, free: 11.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.2567, allocations: 3.756 MB / 0.5489 GB, free: 8.016 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-05/0.2567, allocations: 41.7 kB / 0.5489 GB, free: 7.969 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.2581, allocations: 3.298 MB / 0.5521 GB, free: 4.637 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.2585, allocations: 0.6186 MB / 0.5527 GB, free: 4.016 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.2595, allocations: 1.302 MB / 0.554 GB, free: 2.703 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003764/0.2599, allocations: 349.9 kB / 0.5544 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.2617, allocations: 1.957 MB / 0.5563 GB, free: 404 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/0.2654, allocations: 6.098 MB / 0.5622 GB, free: 8.223 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006252/0.2717, allocations: 8.792 MB / 0.5708 GB, free: 13.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-05/0.2718, allocations: 44 kB / 0.5708 GB, free: 13.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.007423/0.2792, allocations: 7.698 MB / 0.5784 GB, free: 5.617 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.2792, allocations: 68.19 kB / 0.5784 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003442/0.2796, allocations: 148.8 kB / 0.5786 GB, free: 5.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.2797, allocations: 195.9 kB / 0.5788 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.2818, allocations: 1.463 MB / 0.5802 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001228/0.2819, allocations: 290.8 kB / 0.5805 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.2843, allocations: 0.8997 MB / 0.5813 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.2846, allocations: 399.9 kB / 0.5817 GB, free: 2.168 MB / 490.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.002143/0.2867, allocations: 2.2 MB / 0.5839 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.287, allocations: 294 kB / 0.5842 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.2873, allocations: 384.3 kB / 0.5845 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/0.2873, allocations: 40 kB / 0.5846 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.2873, allocations: 2.312 kB / 0.5846 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.2874, allocations: 15.91 kB / 0.5846 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/0.292, allocations: 4.367 MB / 0.5888 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.292, allocations: 4 kB / 0.5888 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.2924, allocations: 211.7 kB / 0.589 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.2924, allocations: 8 kB / 0.5891 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.2925, allocations: 31.98 kB / 0.5891 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.2925, allocations: 11.94 kB / 0.5891 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2925, allocations: 8 kB / 0.5891 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.2943, allocations: 2.525 MB / 0.5916 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.2946, allocations: 281.6 kB / 0.5918 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.2947, allocations: 20 kB / 0.5919 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.2952, allocations: 67.91 kB / 0.5919 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2953, allocations: 92.17 kB / 0.592 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.2953, allocations: 40 kB / 0.592 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001899/0.2972, allocations: 2.091 MB / 0.5941 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.2972, allocations: 0 / 0.5941 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002716/0.3, allocations: 1.106 MB / 0.5952 GB, free: 4.195 MB / 0.4948 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.0003/0.3003, allocations: 158.9 kB / 0.5953 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003921/0.3042, allocations: 4.249 MB / 0.5995 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3042, allocations: 4 kB / 0.5995 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/0.3051, allocations: 0.8793 MB / 0.6003 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.3061, allocations: 291.6 kB / 0.6006 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008798/0.3149, allocations: 8.803 MB / 0.6092 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.3169, allocations: 2.624 MB / 0.6118 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.3174, allocations: 264.5 kB / 0.612 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/0.3174, allocations: 4 kB / 0.612 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of Templates: time 0.1973/0.5147, allocations: 52.81 MB / 0.6636 GB, free: 146.4 MB / 0.5261 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.705767086707056]