Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001024/0.001024, 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.001331/0.001331, allocations: 169.9 kB / 24.91 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 1.061/1.061, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.797e-05, allocations: 3.672 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01315/0.01317, allocations: 11.58 MB / 334.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007734/0.02091, allocations: 3.979 MB / 338.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.02209, allocations: 67.75 kB / 338.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.02377, allocations: 1.37 MB / 340.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.02641, allocations: 1.828 MB / 342.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008007/0.02721, allocations: 0.5222 MB / 342.6 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.03045, allocations: 3.988 MB / 346.6 MB, free: 2.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.03276, allocations: 2.098 MB / 348.7 MB, free: 88 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.03482, allocations: 1.843 MB / 350.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.03679, allocations: 1.827 MB / 352.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003145/0.03711, allocations: 236 kB / 352.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.03825, allocations: 0.9204 MB / 353.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000953/0.0392, allocations: 1.679 MB / 355.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008279/0.04003, allocations: 1 MB / 356.2 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002971/0.043, allocations: 4.054 MB / 360.3 MB, free: 4.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.043, allocations: 0 / 360.3 MB, free: 4.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.043, allocations: 0 / 360.3 MB, free: 4.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.471e-05/0.04307, allocations: 0 / 360.3 MB, free: 4.496 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.003486/0.04655, allocations: 3.853 MB / 364.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.04659, allocations: 8.031 kB / 364.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.05017, allocations: 1.401 MB / 365.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.05183, allocations: 1.389 MB / 366.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.97e-05/0.05193, allocations: 193 kB / 367.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.05224, allocations: 244.2 kB / 367.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/0.05692, allocations: 4.455 MB / 371.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.68e-05/0.05699, allocations: 35.73 kB / 371.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.05723, allocations: 115.8 kB / 371.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.05928, allocations: 2.167 MB / 374.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004604/0.06388, allocations: 2.574 MB / 376.7 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.08661, allocations: 25.37 MB / 402.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.08929, allocations: 1.361 MB / 403.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.08974, allocations: 341.2 kB / 403.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005488/0.09523, allocations: 3.741 MB / 407.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.09527, allocations: 43.56 kB / 407.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 2.885e-06/0.09527, allocations: 0 / 407.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.006792/0.1021, allocations: 3.531 MB / 411.1 MB, free: 176 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1021, allocations: 64.41 kB / 411.1 MB, free: 100 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.1038, allocations: 2.399 MB / 413.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.1038, allocations: 49.7 kB / 413.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.105, allocations: 2.823 MB / 416.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.1054, allocations: 0.6511 MB / 417.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007406/0.1061, allocations: 0.9577 MB / 418 MB, free: 9.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.1062, allocations: 361.8 kB / 418.4 MB, free: 8.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009468/0.1071, allocations: 0.6342 MB / 419 MB, free: 8.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.1093, allocations: 3.553 MB / 422.5 MB, free: 3.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.1124, allocations: 4.62 MB / 427.2 MB, free: 12.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.754e-05/0.1125, allocations: 32 kB / 427.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003506/0.116, allocations: 3.385 MB / 430.6 MB, free: 9.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.116, allocations: 59.92 kB / 430.6 MB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.935e-05/0.1161, allocations: 108 kB / 430.8 MB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.1163, allocations: 175.7 kB / 430.9 MB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.1181, allocations: 1.146 MB / 432.1 MB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008704/0.119, allocations: 1.436 MB / 433.5 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.1204, allocations: 195.9 kB / 433.7 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/0.1206, allocations: 276 kB / 434 MB, free: 6.027 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.0008626/0.1214, allocations: 0.524 MB / 434.5 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.1216, allocations: 163.8 kB / 434.6 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009505/0.1226, allocations: 0.8275 MB / 435.5 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.1226, allocations: 20 kB / 435.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1226, allocations: 0 / 435.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1226, allocations: 7.984 kB / 435.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.1266, allocations: 3.537 MB / 439 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.1266, allocations: 8 kB / 439 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.1271, allocations: 191.8 kB / 439.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.1272, allocations: 48.17 kB / 439.3 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.1272, allocations: 35.98 kB / 439.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007783/0.128, allocations: 1.37 MB / 440.7 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.128, allocations: 7.938 kB / 440.7 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.1293, allocations: 1.253 MB / 441.9 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.1295, allocations: 222.3 kB / 442.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.1297, allocations: 31.98 kB / 442.2 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.13, allocations: 20 kB / 442.2 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.1302, allocations: 92.72 kB / 442.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.1302, allocations: 47.92 kB / 442.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006702/0.1309, allocations: 0.8267 MB / 443.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1309, allocations: 0 / 443.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00212/0.133, allocations: 0.8631 MB / 444 MB, free: 11.59 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.0002866/0.1333, allocations: 156 kB / 444.2 MB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.1353, allocations: 2.098 MB / 446.3 MB, free: 9.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001014/0.1354, allocations: 63.94 kB / 446.4 MB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.1359, allocations: 498.2 kB / 446.8 MB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1369, allocations: 0.5393 MB / 447.4 MB, free: 8.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.1439, allocations: 6.893 MB / 454.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/0.1448, allocations: 1.152 MB / 455.4 MB, free: 28 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.1305/0.2753, allocations: 395.5 kB / 455.8 MB, free: 126.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/0.276, allocations: 433.8 kB / 456.2 MB, free: 126.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.124e-06/0.276, allocations: 0 / 456.2 MB, free: 126.9 MB / 426.7 MB Notification: Performance of Templates: time 0.0347/0.3107, allocations: 21.16 MB / 477.4 MB, free: 115.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9433074202388525]