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.001305/0.001305, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001537/0.001537, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9097/0.9097, allocations: 177 MB / 205.2 MB, free: 5.039 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.2851/0.2851, allocations: 34.86 MB / 296.6 MB, free: 408 kB / 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.223e-06/1.223e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.268e-05, allocations: 2.312 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0085/0.008512, allocations: 11.54 MB / 337.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006583/0.01509, allocations: 3.973 MB / 341.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.01616, allocations: 67.75 kB / 341.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.01778, allocations: 1.401 MB / 342.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.02042, allocations: 1.848 MB / 344.7 MB, free: 4.234 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.02124, allocations: 0.53 MB / 345.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003115/0.02435, allocations: 3.976 MB / 349.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.02626, allocations: 2.219 MB / 351.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.028, allocations: 1.878 MB / 353.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.02965, allocations: 1.816 MB / 355.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.03004, allocations: 236 kB / 355.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.03113, allocations: 0.8931 MB / 356.3 MB, free: 8.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009151/0.03205, allocations: 1.683 MB / 358 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006689/0.03272, allocations: 0.9964 MB / 359 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.03556, allocations: 4.058 MB / 363 MB, free: 1.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.03557, allocations: 0 / 363 MB, free: 1.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03557, allocations: 3.938 kB / 363 MB, free: 1.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.939e-05/0.0356, allocations: 0 / 363 MB, free: 1.859 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.003453/0.03905, allocations: 3.849 MB / 366.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.03909, allocations: 8.031 kB / 366.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.04249, allocations: 1.393 MB / 368.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.0439, allocations: 1.401 MB / 369.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.044, allocations: 185 kB / 369.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.04431, allocations: 252.2 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/0.0485, allocations: 4.46 MB / 374.6 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.04855, allocations: 27.77 kB / 374.6 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.04884, allocations: 119.8 kB / 374.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00233/0.05117, allocations: 2.167 MB / 376.9 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.05468, allocations: 2.566 MB / 379.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/0.0735, allocations: 25.38 MB / 404.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.07666, allocations: 1.351 MB / 406.2 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.0772, allocations: 337.9 kB / 406.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005728/0.08293, allocations: 3.741 MB / 410.2 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.08296, allocations: 43.56 kB / 410.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 3.397e-06/0.08297, allocations: 0 / 410.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.007249/0.09022, allocations: 3.539 MB / 413.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.09025, allocations: 60.41 kB / 413.9 MB, free: 13.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.09234, allocations: 2.399 MB / 416.3 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.0924, allocations: 41.7 kB / 416.3 MB, free: 11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.09386, allocations: 2.823 MB / 419.1 MB, free: 8.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.09425, allocations: 0.655 MB / 419.8 MB, free: 7.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007919/0.09504, allocations: 0.9538 MB / 420.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.09515, allocations: 361.8 kB / 421.1 MB, free: 6.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.0962, allocations: 0.6342 MB / 421.7 MB, free: 5.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.09855, allocations: 3.557 MB / 425.3 MB, free: 464 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/0.1021, allocations: 4.624 MB / 429.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.379e-05/0.1022, allocations: 35.94 kB / 430 MB, free: 10.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004115/0.1063, allocations: 3.381 MB / 433.3 MB, free: 6.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.1064, allocations: 52 kB / 433.4 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.507e-05/0.1065, allocations: 112 kB / 433.5 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.1067, allocations: 183.6 kB / 433.7 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.1085, allocations: 1.096 MB / 434.8 MB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/0.1095, allocations: 1.44 MB / 436.2 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.1112, allocations: 200 kB / 436.4 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.1114, allocations: 271.9 kB / 436.7 MB, free: 3.441 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.001077/0.1125, allocations: 0.5162 MB / 437.2 MB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.1128, allocations: 163.8 kB / 437.4 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.1138, allocations: 0.8314 MB / 438.2 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.1138, allocations: 23.98 kB / 438.2 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1138, allocations: 4 kB / 438.2 MB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1138, allocations: 3.984 kB / 438.2 MB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.1184, allocations: 3.545 MB / 441.8 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1184, allocations: 4 kB / 441.8 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.1188, allocations: 179.8 kB / 441.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.119, allocations: 52.3 kB / 442 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.119, allocations: 27.98 kB / 442 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008092/0.1198, allocations: 1.37 MB / 443.4 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1198, allocations: 11.94 kB / 443.4 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1212, allocations: 1.253 MB / 444.7 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.1214, allocations: 222.3 kB / 444.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.1216, allocations: 35.97 kB / 444.9 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.122, allocations: 28 kB / 444.9 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1221, allocations: 84.73 kB / 445 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.1222, allocations: 43.98 kB / 445.1 MB, free: 10.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006925/0.1229, allocations: 0.8345 MB / 445.9 MB, free: 9.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1229, allocations: 0 / 445.9 MB, free: 9.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002285/0.1252, allocations: 0.8554 MB / 446.7 MB, free: 9.016 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.0003225/0.1255, allocations: 160 kB / 446.9 MB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.1277, allocations: 2.09 MB / 449 MB, free: 6.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.824e-05/0.1278, allocations: 59.94 kB / 449.1 MB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.1283, allocations: 494.2 kB / 449.5 MB, free: 6.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.1296, allocations: 0.5483 MB / 450.1 MB, free: 5.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1476/0.2772, allocations: 6.887 MB / 457 MB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.2783, allocations: 1.154 MB / 458.1 MB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.2794, allocations: 397.8 kB / 458.5 MB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.2799, allocations: 428.7 kB / 458.9 MB, free: 124.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2799, allocations: 0 / 458.9 MB, free: 124.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03145/0.3114, allocations: 21.16 MB / 480.1 MB, free: 111.2 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 -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.878833363763988]