Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.001019/0.001019, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002458, allocations: 452 kB / 10.43 MB, free: 264 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.000892/0.000892, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002209, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9207/0.9207, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1918/1.113, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.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.1386/0.1386, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02527/0.1639, allocations: 12.3 MB / 266.1 MB, free: 3.879 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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2e-05, allocations: 10.19 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009606/0.009626, allocations: 12.03 MB / 279.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007511/0.01714, allocations: 4.049 MB / 283.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/0.01804, allocations: 67.75 kB / 283.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.0195, allocations: 1.385 MB / 284.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1758/0.1953, allocations: 1.874 MB / 286.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1971, allocations: 497.1 kB / 287.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005107/0.2022, allocations: 3.92 MB / 291.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.2043, allocations: 1.941 MB / 293.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.2065, allocations: 1.983 MB / 295.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.2087, allocations: 1.832 MB / 297 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.2089, allocations: 241.9 kB / 297.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.2104, allocations: 0.9408 MB / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.2115, allocations: 1.568 MB / 299.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007245/0.2122, allocations: 0.8532 MB / 300.6 MB, free: 312 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00309/0.2153, allocations: 3.916 MB / 304.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.2153, allocations: 0 / 304.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2153, allocations: 0 / 304.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.378e-05/0.2153, allocations: 0 / 304.5 MB, free: 15.12 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.004319/0.2197, allocations: 4.807 MB / 309.3 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2197, allocations: 8.031 kB / 309.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.2231, allocations: 1.408 MB / 310.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.225, allocations: 1.448 MB / 312.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-05/0.2251, allocations: 196.4 kB / 312.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/0.2254, allocations: 250.4 kB / 312.6 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.2297, allocations: 4.558 MB / 317.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/0.2297, allocations: 26.16 kB / 317.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.2299, allocations: 123.6 kB / 317.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/0.2319, allocations: 2.116 MB / 319.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/0.2357, allocations: 2.616 MB / 322 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.256, allocations: 26.08 MB / 348.1 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.2587, allocations: 1.321 MB / 349.4 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.2591, allocations: 338.8 kB / 349.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005402/0.2645, allocations: 3.7 MB / 353.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.2646, allocations: 43.56 kB / 353.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 2.936e-06/0.2646, allocations: 0 / 353.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=167): time 0.007483/0.2721, allocations: 3.696 MB / 357.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2721, allocations: 64.41 kB / 357.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.2742, allocations: 2.444 MB / 359.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.2742, allocations: 49.7 kB / 359.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.2757, allocations: 2.897 MB / 362.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.2761, allocations: 0.6547 MB / 363.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007648/0.2768, allocations: 0.9671 MB / 364.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2769, allocations: 364.9 kB / 364.6 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009513/0.2779, allocations: 0.6501 MB / 365.3 MB, free: 4.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.2803, allocations: 3.602 MB / 368.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003926/0.2842, allocations: 5.065 MB / 373.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.997e-05/0.2843, allocations: 32 kB / 374 MB, free: 9.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=687) (initialization): time 0.003793/0.2881, allocations: 3.434 MB / 377.4 MB, free: 5.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.2881, allocations: 52 kB / 377.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.2882, allocations: 127.9 kB / 377.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.2885, allocations: 179.7 kB / 377.8 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.2904, allocations: 1.244 MB / 379 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009405/0.2914, allocations: 1.448 MB / 380.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.2929, allocations: 199 kB / 380.7 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.2931, allocations: 272 kB / 380.9 MB, free: 2.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 630 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.2941, allocations: 0.5209 MB / 381.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.2944, allocations: 167.8 kB / 381.6 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.2955, allocations: 0.8319 MB / 382.4 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.2955, allocations: 12 kB / 382.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2955, allocations: 4 kB / 382.4 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2955, allocations: 7.969 kB / 382.5 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.2998, allocations: 3.587 MB / 386 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.2998, allocations: 19.98 kB / 386.1 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.3003, allocations: 204.4 kB / 386.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.3008, allocations: 366.1 kB / 386.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.3009, allocations: 51.64 kB / 386.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.3009, allocations: 24 kB / 386.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007486/0.3017, allocations: 1.37 MB / 388.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3017, allocations: 4 kB / 388.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.303, allocations: 1.277 MB / 389.3 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.3031, allocations: 24 kB / 389.4 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.3035, allocations: 24 kB / 389.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3036, allocations: 92.72 kB / 389.5 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.3037, allocations: 43.98 kB / 389.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006629/0.3044, allocations: 0.8516 MB / 390.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3044, allocations: 4.031 kB / 390.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002322/0.3067, allocations: 0.9022 MB / 391.3 MB, free: 7.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.w) * 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 (120): * Single equations (assignments): 113 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/0.307, allocations: 160 kB / 391.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.3094, allocations: 2.22 MB / 393.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001108/0.3095, allocations: 71.03 kB / 393.7 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.31, allocations: 0.5752 MB / 394.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.3116, allocations: 1.838 MB / 396.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008814/0.3204, allocations: 7.26 MB / 403.4 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/0.3214, allocations: 1.183 MB / 404.6 MB, free: 9.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008441/0.3223, allocations: 392.7 kB / 405 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.3228, allocations: 411.3 kB / 405.4 MB, free: 9.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3228, allocations: 0 / 405.4 MB, free: 9.02 MB / 394.7 MB Notification: Performance of Templates: time 0.03667/0.3595, allocations: 20.1 MB / 425.5 MB, free: 4.984 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.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.2729519875720143]