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.001106/0.001106, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.00134/0.00134, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.9853/0.9853, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.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.1678/0.1678, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.813e-06/1.813e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.845e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1826/0.1826, allocations: 11.9 MB / 311 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00812/0.1907, allocations: 4.021 MB / 315 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.192, allocations: 70.75 kB / 315.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.1942, allocations: 1.411 MB / 316.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.1973, allocations: 1.91 MB / 318.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1983, allocations: 0.5293 MB / 318.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003433/0.2017, allocations: 4.009 MB / 322.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.2041, allocations: 2.263 MB / 325.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.2065, allocations: 1.941 MB / 327.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.2085, allocations: 1.858 MB / 329 MB, free: 252 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006405/0.2091, allocations: 240 kB / 329.2 MB, free: 12 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2111, allocations: 0.901 MB / 330.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.2127, allocations: 1.745 MB / 331.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.2146, allocations: 1.039 MB / 332.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005918/0.2205, allocations: 4.194 MB / 337.1 MB, free: 8.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2205, allocations: 4 kB / 337.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2205, allocations: 0 / 337.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001343/0.2206, allocations: 0 / 337.1 MB, free: 8.098 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.005551/0.2262, allocations: 3.97 MB / 341.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.2262, allocations: 8.031 kB / 341.1 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.2299, allocations: 1.397 MB / 342.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.2314, allocations: 1.448 MB / 343.9 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/0.2315, allocations: 193.2 kB / 344.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.2318, allocations: 260.1 kB / 344.4 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/0.237, allocations: 4.551 MB / 348.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/0.237, allocations: 27.77 kB / 348.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.2373, allocations: 131.7 kB / 349.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.2394, allocations: 2.235 MB / 351.3 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/0.2434, allocations: 2.613 MB / 353.9 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.2666, allocations: 26.07 MB / 380 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.2692, allocations: 1.36 MB / 381.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.2696, allocations: 326.1 kB / 381.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005047/0.2746, allocations: 3.761 MB / 385.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2747, allocations: 47.56 kB / 385.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 2.895e-06/0.2747, allocations: 0 / 385.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=167): time 0.006872/0.2815, allocations: 3.558 MB / 389 MB, free: 2.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.2816, allocations: 68.41 kB / 389.1 MB, free: 2.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.2833, allocations: 2.437 MB / 391.5 MB, free: 4 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.2833, allocations: 45.7 kB / 391.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.2848, allocations: 2.908 MB / 394.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.2852, allocations: 0.6433 MB / 395.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007495/0.2859, allocations: 0.9735 MB / 396.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.286, allocations: 361.8 kB / 396.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000917/0.2869, allocations: 0.6508 MB / 397.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.2897, allocations: 3.608 MB / 400.7 MB, free: 5.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.2934, allocations: 4.686 MB / 405.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.398e-05/0.2934, allocations: 32 kB / 405.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=687) (initialization): time 0.003464/0.2969, allocations: 3.436 MB / 408.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.2969, allocations: 55.94 kB / 408.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.535e-05/0.297, allocations: 112 kB / 409 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.2972, allocations: 184.2 kB / 409.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.2989, allocations: 1.115 MB / 410.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/0.2999, allocations: 1.455 MB / 411.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.3014, allocations: 196 kB / 412 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.3017, allocations: 272 kB / 412.2 MB, free: 8.039 MB / 378.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.001385/0.303, allocations: 0.5356 MB / 412.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.3033, allocations: 167.9 kB / 412.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.3042, allocations: 0.8241 MB / 413.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.3042, allocations: 23.98 kB / 413.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3043, allocations: 0 / 413.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3043, allocations: 7.922 kB / 413.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.3088, allocations: 3.598 MB / 417.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3088, allocations: 4 kB / 417.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.3092, allocations: 191.8 kB / 417.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.3094, allocations: 47.58 kB / 417.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.3094, allocations: 28 kB / 417.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/0.3102, allocations: 1.365 MB / 419 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.3102, allocations: 15.95 kB / 419 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3118, allocations: 1.253 MB / 420.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.3123, allocations: 354.1 kB / 420.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.3124, allocations: 28 kB / 420.7 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.3128, allocations: 31.98 kB / 420.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3129, allocations: 92.66 kB / 420.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.313, allocations: 44.03 kB / 420.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006833/0.3136, allocations: 0.8556 MB / 421.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3136, allocations: 0 / 421.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002384/0.316, allocations: 0.8983 MB / 422.6 MB, free: 13.35 MB / 394.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.0002812/0.3163, allocations: 159.9 kB / 422.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3186, allocations: 2.121 MB / 424.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.601e-05/0.3187, allocations: 63.94 kB / 424.9 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.3191, allocations: 486.6 kB / 425.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.3204, allocations: 0.5431 MB / 425.9 MB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.3281, allocations: 7.078 MB / 433 MB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.3293, allocations: 1.178 MB / 434.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008919/0.3302, allocations: 404.7 kB / 434.6 MB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.3308, allocations: 431.2 kB / 435 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3308, allocations: 7.875 kB / 435 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of Templates: time 0.03551/0.3663, allocations: 21.46 MB / 456.5 MB, free: 11.36 MB / 426.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 -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: 4.019713038112968]