Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 165 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.996/0.996, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.265/0.265, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.107e-05, allocations: 4.062 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01292/0.01294, allocations: 11.58 MB / 337.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008249/0.02119, allocations: 3.981 MB / 341.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.02217, allocations: 67.75 kB / 341.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.0246, allocations: 1.381 MB / 343 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.02786, allocations: 1.816 MB / 344.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.0289, allocations: 0.5296 MB / 345.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.03179, allocations: 3.978 MB / 349.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.03334, allocations: 2.102 MB / 351.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.03481, allocations: 1.847 MB / 353.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.03653, allocations: 1.816 MB / 355.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.03678, allocations: 240 kB / 355.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009902/0.03777, allocations: 0.9282 MB / 356.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000845/0.03862, allocations: 1.679 MB / 357.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006495/0.03927, allocations: 0.9925 MB / 358.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.0422, allocations: 4.054 MB / 362.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.0422, allocations: 0 / 362.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0422, allocations: 0 / 362.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.486e-05/0.04225, allocations: 0 / 362.9 MB, free: 1.961 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.003573/0.04582, allocations: 3.861 MB / 366.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.04585, allocations: 8.031 kB / 366.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.04935, allocations: 1.397 MB / 368.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.05075, allocations: 1.385 MB / 369.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.38e-05/0.05085, allocations: 193 kB / 369.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.05113, allocations: 244.2 kB / 370 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004016/0.05515, allocations: 4.46 MB / 374.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/0.0552, allocations: 27.73 kB / 374.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.05541, allocations: 119.8 kB / 374.6 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/0.05715, allocations: 2.167 MB / 376.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003606/0.06075, allocations: 2.587 MB / 379.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/0.07935, allocations: 25.37 MB / 404.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.08193, allocations: 1.371 MB / 406.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.08237, allocations: 329.9 kB / 406.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004847/0.08722, allocations: 3.737 MB / 410.2 MB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.08725, allocations: 43.56 kB / 410.2 MB, free: 1.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 2.484e-06/0.08725, allocations: 4 kB / 410.2 MB, free: 1.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.006701/0.09396, allocations: 3.527 MB / 413.8 MB, free: 13.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.09399, allocations: 64.41 kB / 413.8 MB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.09562, allocations: 2.399 MB / 416.2 MB, free: 11.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.09569, allocations: 45.7 kB / 416.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.09677, allocations: 2.823 MB / 419.1 MB, free: 8.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.0971, allocations: 0.6549 MB / 419.7 MB, free: 7.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007251/0.09782, allocations: 0.9538 MB / 420.7 MB, free: 6.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.09792, allocations: 357.8 kB / 421 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000918/0.09884, allocations: 0.6381 MB / 421.7 MB, free: 5.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.101, allocations: 3.553 MB / 425.2 MB, free: 0.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.1041, allocations: 4.62 MB / 429.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-05/0.1041, allocations: 32 kB / 429.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.00321/0.1073, allocations: 3.381 MB / 433.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.1074, allocations: 52.16 kB / 433.3 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.634e-05/0.1074, allocations: 112 kB / 433.4 MB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/0.1078, allocations: 183.6 kB / 433.6 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.1095, allocations: 1.139 MB / 434.7 MB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.1103, allocations: 1.444 MB / 436.2 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.1117, allocations: 204 kB / 436.4 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.1119, allocations: 268 kB / 436.6 MB, free: 3.492 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.0008293/0.1127, allocations: 0.5278 MB / 437.2 MB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.1129, allocations: 163.8 kB / 437.3 MB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009081/0.1138, allocations: 0.8197 MB / 438.2 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.1139, allocations: 27.98 kB / 438.2 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1139, allocations: 0 / 438.2 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1139, allocations: 3.984 kB / 438.2 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.1176, allocations: 3.537 MB / 441.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1176, allocations: 7.984 kB / 441.7 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.1181, allocations: 191.8 kB / 441.9 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.1182, allocations: 56.22 kB / 442 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.1183, allocations: 31.98 kB / 442 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007324/0.119, allocations: 1.366 MB / 443.4 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.119, allocations: 11.94 kB / 443.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1202, allocations: 1.249 MB / 444.6 MB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.1204, allocations: 222.3 kB / 444.8 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.1206, allocations: 31.98 kB / 444.9 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.1209, allocations: 20 kB / 444.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.121, allocations: 92.72 kB / 445 MB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.1211, allocations: 47.92 kB / 445 MB, free: 10.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006478/0.1217, allocations: 0.8228 MB / 445.9 MB, free: 9.926 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1217, allocations: 4 kB / 445.9 MB, free: 9.922 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001877/0.1236, allocations: 0.8671 MB / 446.7 MB, free: 9.055 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.0002801/0.1239, allocations: 148 kB / 446.9 MB, free: 8.898 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.1257, allocations: 2.094 MB / 449 MB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.452e-05/0.1258, allocations: 63.94 kB / 449 MB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.1263, allocations: 494.2 kB / 449.5 MB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.1273, allocations: 0.5418 MB / 450.1 MB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1298/0.2571, allocations: 6.895 MB / 456.9 MB, free: 124.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/0.2581, allocations: 1.151 MB / 458.1 MB, free: 124.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.2591, allocations: 396 kB / 458.5 MB, free: 124.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/0.2597, allocations: 430.2 kB / 458.9 MB, free: 124.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2597, allocations: 3.609 kB / 458.9 MB, free: 124.4 MB / 426.7 MB Notification: Performance of Templates: time 0.02909/0.2887, allocations: 21.16 MB / 480.1 MB, free: 111.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.783557394053787]