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.000754/0.000754, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001838, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001141/0.001141, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002417, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08667/1.121, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2772/0.2772, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02565/0.3028, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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 2.905e-06/2.905e-06, allocations: 7.922 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.542e-05, allocations: 2.312 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01132/0.01135, allocations: 11.66 MB / 304.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.01739, allocations: 4.022 MB / 308.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.01857, allocations: 67.75 kB / 308.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.02009, allocations: 1.374 MB / 309.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.02269, allocations: 1.828 MB / 311.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.02346, allocations: 486.8 kB / 312.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003506/0.02697, allocations: 3.929 MB / 316 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.0296, allocations: 1.904 MB / 317.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.03226, allocations: 1.928 MB / 319.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.03456, allocations: 1.792 MB / 321.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006055/0.03516, allocations: 240 kB / 321.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.03671, allocations: 0.9282 MB / 322.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.03784, allocations: 1.508 MB / 324.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009409/0.03878, allocations: 0.8174 MB / 325.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.0423, allocations: 3.789 MB / 328.9 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.991e-05/0.04232, allocations: 4 kB / 328.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.04232, allocations: 0 / 328.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.168e-05/0.04238, allocations: 0 / 328.9 MB, free: 1.848 MB / 314.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.004182/0.04656, allocations: 4.662 MB / 333.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.0466, allocations: 8.031 kB / 333.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.05005, allocations: 1.39 MB / 335 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.05172, allocations: 1.401 MB / 336.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/0.05181, allocations: 193 kB / 336.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.0521, allocations: 244.2 kB / 336.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005767/0.05787, allocations: 4.451 MB / 341.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.205e-05/0.05794, allocations: 35.72 kB / 341.3 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/0.05823, allocations: 115.8 kB / 341.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/0.06077, allocations: 2.183 MB / 343.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006414/0.06719, allocations: 2.572 MB / 346.1 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03095/0.09814, allocations: 25.37 MB / 371.5 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/0.1022, allocations: 1.333 MB / 372.8 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/0.1029, allocations: 337.8 kB / 373.2 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007092/0.11, allocations: 3.686 MB / 376.9 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.11, allocations: 47.55 kB / 376.9 MB, free: 344 kB / 362.7 MB Notification: Performance of pre-optimization done (n=166): time 4.429e-06/0.11, allocations: 0 / 376.9 MB, free: 344 kB / 362.7 MB Notification: Performance of matching and sorting (n=167): time 0.009691/0.1197, allocations: 3.469 MB / 380.4 MB, free: 12.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1197, allocations: 64.41 kB / 380.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.1224, allocations: 2.392 MB / 382.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.1225, allocations: 49.69 kB / 382.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.1239, allocations: 2.826 MB / 385.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.1243, allocations: 0.6472 MB / 386.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.1254, allocations: 0.9577 MB / 387.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1255, allocations: 357.8 kB / 387.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009321/0.1264, allocations: 0.6342 MB / 388.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.1286, allocations: 3.557 MB / 391.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.1327, allocations: 4.612 MB / 396.5 MB, free: 9.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.294e-05/0.1328, allocations: 32 kB / 396.5 MB, free: 9.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004847/0.1376, allocations: 3.389 MB / 399.9 MB, free: 6.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.1377, allocations: 55.94 kB / 399.9 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.247e-05/0.1377, allocations: 108 kB / 400 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.1381, allocations: 179.6 kB / 400.2 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.1404, allocations: 1.217 MB / 401.4 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.1415, allocations: 1.441 MB / 402.9 MB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.1438, allocations: 196 kB / 403.1 MB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.1441, allocations: 268 kB / 403.3 MB, free: 2.633 MB / 394.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.001324/0.1454, allocations: 0.524 MB / 403.8 MB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.1457, allocations: 163.9 kB / 404 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1467, allocations: 0.8314 MB / 404.8 MB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.1468, allocations: 20 kB / 404.9 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1468, allocations: 3.938 kB / 404.9 MB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.1468, allocations: 7.969 kB / 404.9 MB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.1518, allocations: 3.514 MB / 408.4 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.1518, allocations: 12.12 kB / 408.4 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.1523, allocations: 215.6 kB / 408.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.1527, allocations: 234.2 kB / 408.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.1529, allocations: 43.64 kB / 408.9 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.1529, allocations: 31.98 kB / 408.9 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008453/0.1538, allocations: 1.373 MB / 410.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/0.1538, allocations: 15.94 kB / 410.3 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.1551, allocations: 1.241 MB / 411.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.1553, allocations: 31.98 kB / 411.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.1557, allocations: 20 kB / 411.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.1558, allocations: 96.8 kB / 411.7 MB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-05/0.1559, allocations: 51.91 kB / 411.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006783/0.1566, allocations: 0.8228 MB / 412.6 MB, free: 9.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1566, allocations: 0 / 412.6 MB, free: 9.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002553/0.1591, allocations: 0.8631 MB / 413.4 MB, free: 8.18 MB / 410.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.0002918/0.1594, allocations: 156.1 kB / 413.6 MB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.1617, allocations: 2.098 MB / 415.7 MB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001273/0.1619, allocations: 74.5 kB / 415.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.1623, allocations: 494.4 kB / 416.2 MB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.1639, allocations: 0.7185 MB / 416.9 MB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.1741, allocations: 7.081 MB / 424 MB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.1751, allocations: 1.153 MB / 425.2 MB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001123/0.1763, allocations: 404.3 kB / 425.6 MB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/0.1769, allocations: 433.3 kB / 426 MB, free: 11.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1769, allocations: 0 / 426 MB, free: 11.41 MB / 426.7 MB Notification: Performance of Templates: time 0.1822/0.3591, allocations: 21.48 MB / 447.5 MB, free: 110.6 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 -ignoreHideResult -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.861359605565667]