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.001028/0.001028, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002464, allocations: 447.8 kB / 10.35 MB, free: 348 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.0008207/0.0008207, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009469/0.001768, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9446/0.9446, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2147/1.159, allocations: 49.51 MB / 220.5 MB, free: 5.27 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.1275/0.1275, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03743/0.165, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.262e-06/1.262e-06, allocations: 0 / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.386e-05, allocations: 6.25 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009222/0.009236, allocations: 12.02 MB / 279.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006907/0.01614, allocations: 4.045 MB / 283.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.01717, allocations: 71.75 kB / 283.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.01864, allocations: 1.393 MB / 284.8 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.02113, allocations: 1.874 MB / 286.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.02185, allocations: 498.8 kB / 287.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.02461, allocations: 3.925 MB / 291 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.0265, allocations: 1.954 MB / 293 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.02853, allocations: 1.963 MB / 295 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.03054, allocations: 1.835 MB / 296.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004371/0.03098, allocations: 244 kB / 297 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.03229, allocations: 0.9438 MB / 298 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009397/0.03323, allocations: 1.57 MB / 299.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008192/0.03405, allocations: 0.8525 MB / 300.4 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.03698, allocations: 3.914 MB / 304.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.03699, allocations: 0 / 304.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.03699, allocations: 0 / 304.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.141e-05/0.03703, allocations: 3.984 kB / 304.3 MB, free: 1.25 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.004062/0.04109, allocations: 4.802 MB / 309.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.04112, allocations: 8.031 kB / 309.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.04446, allocations: 1.409 MB / 310.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.04613, allocations: 1.444 MB / 312 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.04622, allocations: 201.1 kB / 312.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.04652, allocations: 248.2 kB / 312.4 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.05102, allocations: 4.555 MB / 317 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.05107, allocations: 23.75 kB / 317 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/0.05128, allocations: 123.8 kB / 317.1 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001895/0.05318, allocations: 2.253 MB / 319.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.05691, allocations: 2.623 MB / 322 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1683/0.2252, allocations: 26.06 MB / 348.1 MB, free: 22.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.2278, allocations: 1.33 MB / 349.4 MB, free: 22.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.2282, allocations: 326.9 kB / 349.7 MB, free: 22.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004898/0.2331, allocations: 3.699 MB / 353.4 MB, free: 22.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.2331, allocations: 46.69 kB / 353.4 MB, free: 22.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=166): time 2.815e-06/0.2331, allocations: 0 / 353.4 MB, free: 22.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=167): time 0.00621/0.2393, allocations: 3.506 MB / 357 MB, free: 21.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2393, allocations: 63.75 kB / 357 MB, free: 21.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2409, allocations: 2.438 MB / 359.5 MB, free: 21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.2409, allocations: 49.31 kB / 359.5 MB, free: 20.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008991/0.2418, allocations: 2.901 MB / 362.4 MB, free: 19.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.2421, allocations: 0.6505 MB / 363.1 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000729/0.2428, allocations: 0.9692 MB / 364 MB, free: 18.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.2429, allocations: 366.3 kB / 364.4 MB, free: 18.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/0.2437, allocations: 0.648 MB / 365 MB, free: 18.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.2457, allocations: 3.609 MB / 368.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.2485, allocations: 4.697 MB / 373.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.301e-05/0.2485, allocations: 32.84 kB / 373.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=687) (initialization): time 0.003273/0.2518, allocations: 3.436 MB / 376.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.2519, allocations: 51.97 kB / 376.9 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.524e-05/0.2519, allocations: 109.7 kB / 377 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.2522, allocations: 185.8 kB / 377.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.2539, allocations: 1.238 MB / 378.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006295/0.2545, allocations: 1.45 MB / 379.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.256, allocations: 198.3 kB / 380 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.2562, allocations: 273.7 kB / 380.3 MB, free: 7.211 MB / 330.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.0009471/0.2571, allocations: 0.5254 MB / 380.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.2573, allocations: 168.6 kB / 381 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.2582, allocations: 0.828 MB / 381.8 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.2582, allocations: 21.95 kB / 381.8 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2582, allocations: 2.875 kB / 381.8 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2582, allocations: 6.141 kB / 381.8 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.2619, allocations: 3.582 MB / 385.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.2619, allocations: 4.656 kB / 385.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.2624, allocations: 215.7 kB / 385.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.2627, allocations: 358.2 kB / 386 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.2628, allocations: 52.56 kB / 386 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.2629, allocations: 25.72 kB / 386.1 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.2634, allocations: 1.38 MB / 387.4 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2634, allocations: 11.97 kB / 387.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2645, allocations: 1.249 MB / 388.7 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.2647, allocations: 31.98 kB / 388.7 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.2651, allocations: 24 kB / 388.8 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2652, allocations: 88.73 kB / 388.8 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/0.2652, allocations: 44.77 kB / 388.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006718/0.2659, allocations: 0.856 MB / 389.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2659, allocations: 4 kB / 389.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002224/0.2681, allocations: 0.9021 MB / 390.6 MB, free: 14.32 MB / 346.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.0002973/0.2684, allocations: 166.1 kB / 390.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.2705, allocations: 2.118 MB / 392.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001168/0.2706, allocations: 78.62 kB / 393 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.2711, allocations: 487.9 kB / 393.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.2723, allocations: 0.7286 MB / 394.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009284/0.2816, allocations: 7.261 MB / 401.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009669/0.2826, allocations: 1.184 MB / 402.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009423/0.2835, allocations: 411.8 kB / 403.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.2841, allocations: 438.8 kB / 403.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2841, allocations: 0 / 403.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of Templates: time 0.03703/0.3211, allocations: 21.79 MB / 425.3 MB, free: 11.89 MB / 378.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7619067514315248]