Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009132/0.0009132, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009815/0.0009815, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9544/0.9544, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2431/0.2431, allocations: 34.25 MB / 296.1 MB, free: 0.6875 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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.693e-05, allocations: 4.062 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.008583/0.00861, allocations: 11.54 MB / 336.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006647/0.01526, allocations: 3.984 MB / 340.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.0167, allocations: 71.75 kB / 340.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.01859, allocations: 1.393 MB / 342.2 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.02133, allocations: 1.84 MB / 344.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.02214, allocations: 0.5338 MB / 344.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.02544, allocations: 3.973 MB / 348.6 MB, free: 284 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.02754, allocations: 2.215 MB / 350.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.02967, allocations: 1.878 MB / 352.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.03163, allocations: 1.812 MB / 354.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005353/0.03216, allocations: 240 kB / 354.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.0337, allocations: 0.9008 MB / 355.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.03513, allocations: 1.675 MB / 357.3 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.0367, allocations: 0.9963 MB / 358.3 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00432/0.04102, allocations: 4.054 MB / 362.4 MB, free: 2.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.04102, allocations: 0 / 362.4 MB, free: 2.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.04102, allocations: 0 / 362.4 MB, free: 2.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.793e-05/0.04112, allocations: 0 / 362.4 MB, free: 2.422 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.004139/0.04526, allocations: 3.849 MB / 366.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.0453, allocations: 8.031 kB / 366.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.04868, allocations: 1.401 MB / 367.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.05033, allocations: 1.393 MB / 369 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/0.05042, allocations: 189 kB / 369.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.05074, allocations: 256.1 kB / 369.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/0.0554, allocations: 4.447 MB / 373.9 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/0.05545, allocations: 27.75 kB / 373.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.05568, allocations: 123.8 kB / 374 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001822/0.0575, allocations: 2.171 MB / 376.2 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/0.0617, allocations: 2.582 MB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02371/0.08541, allocations: 25.38 MB / 404.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.08817, allocations: 1.357 MB / 405.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.08862, allocations: 333.8 kB / 405.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005403/0.09403, allocations: 3.744 MB / 409.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.09406, allocations: 43.56 kB / 409.6 MB, free: 1.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 3.897e-06/0.09406, allocations: 0 / 409.6 MB, free: 1.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.006992/0.1011, allocations: 3.527 MB / 413.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1011, allocations: 64.41 kB / 413.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.103, allocations: 2.407 MB / 415.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.1031, allocations: 49.64 kB / 415.7 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.1042, allocations: 2.823 MB / 418.5 MB, free: 8.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.1046, allocations: 0.6472 MB / 419.1 MB, free: 8.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007778/0.1054, allocations: 0.9577 MB / 420.1 MB, free: 7.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1055, allocations: 357.8 kB / 420.5 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.1065, allocations: 0.6381 MB / 421.1 MB, free: 6.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.1088, allocations: 3.549 MB / 424.6 MB, free: 1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.1123, allocations: 4.624 MB / 429.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-05/0.1123, allocations: 32 kB / 429.3 MB, free: 10.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004308/0.1166, allocations: 3.389 MB / 432.7 MB, free: 7.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.1167, allocations: 51.94 kB / 432.7 MB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-05/0.1168, allocations: 108 kB / 432.8 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.1171, allocations: 179.6 kB / 433 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.1189, allocations: 1.092 MB / 434.1 MB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.12, allocations: 1.448 MB / 435.6 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.122, allocations: 196 kB / 435.7 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.1223, allocations: 272 kB / 436 MB, free: 3.992 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (628): * Single equations (assignments): 621 * 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.001203/0.1235, allocations: 0.5122 MB / 436.5 MB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.1238, allocations: 171.8 kB / 436.7 MB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.1248, allocations: 0.8237 MB / 437.5 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.1248, allocations: 20 kB / 437.5 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1249, allocations: 0 / 437.5 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1249, allocations: 3.984 kB / 437.5 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/0.1297, allocations: 3.541 MB / 441.1 MB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1297, allocations: 4.656 kB / 441.1 MB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.1302, allocations: 183.7 kB / 441.3 MB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.1303, allocations: 59.61 kB / 441.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.1304, allocations: 35.97 kB / 441.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008121/0.1312, allocations: 1.366 MB / 442.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1312, allocations: 7.938 kB / 442.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.1326, allocations: 1.257 MB / 444 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.1329, allocations: 226.3 kB / 444.2 MB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.1331, allocations: 23.98 kB / 444.2 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.1335, allocations: 28 kB / 444.3 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1336, allocations: 88.73 kB / 444.3 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.1337, allocations: 51.91 kB / 444.4 MB, free: 11.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007164/0.1344, allocations: 0.8268 MB / 445.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1344, allocations: 0 / 445.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002486/0.1369, allocations: 0.8593 MB / 446.1 MB, free: 9.566 MB / 426.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.0003554/0.1372, allocations: 148.1 kB / 446.2 MB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.1396, allocations: 2.098 MB / 448.3 MB, free: 7.316 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001056/0.1397, allocations: 59.94 kB / 448.4 MB, free: 7.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.1402, allocations: 0.4931 MB / 448.9 MB, free: 6.742 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.1417, allocations: 0.5386 MB / 449.4 MB, free: 6.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1359/0.2775, allocations: 6.886 MB / 456.3 MB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.2789, allocations: 1.149 MB / 457.5 MB, free: 125 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001049/0.2799, allocations: 402 kB / 457.8 MB, free: 125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/0.2805, allocations: 427.5 kB / 458.3 MB, free: 124.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.305e-06/0.2805, allocations: 2 kB / 458.3 MB, free: 124.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03288/0.3133, allocations: 21.17 MB / 479.4 MB, free: 112 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.823064871598035]