Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008335/0.0008335, allocations: 88.2 kB / 20.95 MB, free: 3.598 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.0009594/0.0009594, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9179/0.9179, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1337/0.1337, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.058e-05/4.257e-05, allocations: 9.344 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009227/0.00927, allocations: 11.93 MB / 359.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006193/0.01546, allocations: 3.989 MB / 363.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008085/0.01627, allocations: 87.69 kB / 363.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.01823, allocations: 1.798 MB / 365.5 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.02019, allocations: 1.692 MB / 367.2 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.0214, allocations: 1.274 MB / 368.4 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.024, allocations: 3.686 MB / 372.1 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.02553, allocations: 2.149 MB / 374.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.0268, allocations: 1.82 MB / 376.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.02817, allocations: 1.746 MB / 377.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.0284, allocations: 256 kB / 378.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007534/0.02915, allocations: 0.6904 MB / 378.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009646/0.03011, allocations: 1.765 MB / 380.5 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007083/0.03082, allocations: 1.031 MB / 381.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.03373, allocations: 4.054 MB / 385.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.03373, allocations: 0 / 385.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.03374, allocations: 0 / 385.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.855e-05/0.03378, allocations: 0 / 385.6 MB, free: 3.648 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.003958/0.03773, allocations: 4.633 MB / 390.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.03777, allocations: 12.03 kB / 390.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005858/0.04363, allocations: 3.559 MB / 393.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.04552, allocations: 1.734 MB / 395.6 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.04562, allocations: 201.3 kB / 395.7 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.04593, allocations: 260.1 kB / 396 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005725/0.05165, allocations: 5.78 MB / 401.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/0.0517, allocations: 31.69 kB / 401.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.05196, allocations: 131.8 kB / 401.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/0.05417, allocations: 2.439 MB / 404.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005536/0.05971, allocations: 3.112 MB / 407.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.08732, allocations: 42.1 MB / 449.6 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1622/0.2496, allocations: 1.379 MB / 451 MB, free: 84.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/0.2505, allocations: 441.8 kB / 451.4 MB, free: 84.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004525/0.255, allocations: 4.288 MB / 455.7 MB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2551, allocations: 52.36 kB / 455.7 MB, free: 82.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 3.427e-06/0.2551, allocations: 3.875 kB / 455.7 MB, free: 82.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.003298/0.2584, allocations: 1.767 MB / 457.5 MB, free: 82.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.2584, allocations: 167.6 kB / 457.7 MB, free: 82.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/0.2619, allocations: 3.572 MB / 461.3 MB, free: 81.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.262, allocations: 43.31 kB / 461.3 MB, free: 81.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.2635, allocations: 3.647 MB / 464.9 MB, free: 79.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.2638, allocations: 0.6616 MB / 465.6 MB, free: 79.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.2649, allocations: 1.479 MB / 467.1 MB, free: 79.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.265, allocations: 0.5269 MB / 467.6 MB, free: 78.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.2661, allocations: 0.6418 MB / 468.2 MB, free: 78.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002934/0.269, allocations: 7.038 MB / 475.3 MB, free: 70.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/0.2741, allocations: 8.479 MB / 483.8 MB, free: 61.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.324e-05/0.2742, allocations: 45.12 kB / 483.8 MB, free: 61.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.006116/0.2803, allocations: 5.586 MB / 489.4 MB, free: 60.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.2804, allocations: 73.19 kB / 489.5 MB, free: 60.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.2805, allocations: 155.6 kB / 489.6 MB, free: 60.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.2806, allocations: 200 kB / 489.8 MB, free: 59.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.2828, allocations: 1.506 MB / 491.3 MB, free: 58.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/0.283, allocations: 297.8 kB / 491.6 MB, free: 58.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.2854, allocations: 0.931 MB / 492.5 MB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/0.2857, allocations: 414.2 kB / 492.9 MB, free: 57.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.001093/0.2868, allocations: 0.6933 MB / 493.6 MB, free: 56.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.287, allocations: 345.8 kB / 494 MB, free: 55.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.2873, allocations: 331.2 kB / 494.3 MB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/0.2873, allocations: 38.19 kB / 494.3 MB, free: 55.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/0.2873, allocations: 4 kB / 494.3 MB, free: 55.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2873, allocations: 3.75 kB / 494.3 MB, free: 55.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.2913, allocations: 4.162 MB / 498.5 MB, free: 51.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.2914, allocations: 8.094 kB / 498.5 MB, free: 51.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.2918, allocations: 218.1 kB / 498.7 MB, free: 51.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2918, allocations: 8 kB / 498.7 MB, free: 51.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.2919, allocations: 37.52 kB / 498.8 MB, free: 51.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.2919, allocations: 15.94 kB / 498.8 MB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2919, allocations: 4 kB / 498.8 MB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.293, allocations: 1.77 MB / 0.4888 GB, free: 49.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.2932, allocations: 285.6 kB / 0.4891 GB, free: 49.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.2933, allocations: 37.78 kB / 0.4891 GB, free: 49.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.2938, allocations: 66.97 kB / 0.4892 GB, free: 49.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2939, allocations: 84.52 kB / 0.4893 GB, free: 49.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.294, allocations: 44 kB / 0.4893 GB, free: 49.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.2952, allocations: 1.42 MB / 0.4907 GB, free: 48.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2952, allocations: 0 / 0.4907 GB, free: 48.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002498/0.2977, allocations: 1.18 MB / 0.4919 GB, free: 47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0002898/0.298, allocations: 157 kB / 0.492 GB, free: 46.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.3008, allocations: 2.835 MB / 0.4948 GB, free: 44.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3008, allocations: 0 / 0.4948 GB, free: 44.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.3013, allocations: 420 kB / 0.4952 GB, free: 43.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3023, allocations: 312.7 kB / 0.4955 GB, free: 43.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/0.3094, allocations: 7.12 MB / 0.5024 GB, free: 36.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.3101, allocations: 1.217 MB / 0.5036 GB, free: 35.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002228/0.3123, allocations: 1.944 MB / 0.5055 GB, free: 33.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.3126, allocations: 216.5 kB / 0.5057 GB, free: 33.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3126, allocations: 5.422 kB / 0.5057 GB, free: 33.54 MB / 378.7 MB Notification: Performance of Templates: time 0.02816/0.3408, allocations: 17.15 MB / 0.5225 GB, free: 16.6 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.898742171935737]