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.000959/0.000959, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002216, 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.0009107/0.0009107, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.002068, 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.131/1.163, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.3126/0.3126, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03382/0.3464, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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 2.074e-06/2.074e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.302e-05, allocations: 3.188 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0102/0.01022, allocations: 11.66 MB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008073/0.0183, allocations: 4.022 MB / 306.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.01971, allocations: 71.75 kB / 306.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.02146, allocations: 1.366 MB / 307.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.02459, allocations: 1.82 MB / 309.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.02557, allocations: 490.8 kB / 310 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.02885, allocations: 3.937 MB / 314 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.03033, allocations: 1.911 MB / 315.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.03223, allocations: 1.913 MB / 317.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.03386, allocations: 1.808 MB / 319.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.03411, allocations: 236 kB / 319.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.03532, allocations: 0.9282 MB / 320.8 MB, free: 10 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000906/0.03623, allocations: 1.511 MB / 322.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006839/0.03691, allocations: 0.8135 MB / 323.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.04019, allocations: 3.793 MB / 326.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.591e-05/0.04021, allocations: 0 / 326.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.04022, allocations: 0 / 326.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.454e-05/0.04028, allocations: 0 / 326.9 MB, free: 3.863 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.004911/0.04519, allocations: 4.654 MB / 331.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.04524, allocations: 16.02 kB / 331.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.04864, allocations: 1.39 MB / 332.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.05022, allocations: 1.405 MB / 334.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.05033, allocations: 185 kB / 334.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.05065, allocations: 252.1 kB / 334.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.05555, allocations: 4.451 MB / 339.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.05561, allocations: 23.75 kB / 339.3 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.05583, allocations: 115.8 kB / 339.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/0.05784, allocations: 2.187 MB / 341.6 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003635/0.06147, allocations: 2.574 MB / 344.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.08305, allocations: 25.38 MB / 369.5 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.08557, allocations: 1.324 MB / 370.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.086, allocations: 333.9 kB / 371.1 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005131/0.09113, allocations: 3.69 MB / 374.8 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.09116, allocations: 43.56 kB / 374.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=166): time 3.296e-06/0.09116, allocations: 0 / 374.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=167): time 0.006462/0.09762, allocations: 3.469 MB / 378.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.09766, allocations: 68.41 kB / 378.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.09936, allocations: 2.396 MB / 380.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004042/0.09977, allocations: 45.7 kB / 380.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.1009, allocations: 2.823 MB / 383.7 MB, free: 9.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.1013, allocations: 0.6472 MB / 384.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007365/0.102, allocations: 0.9538 MB / 385.3 MB, free: 7.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1021, allocations: 361.8 kB / 385.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009011/0.103, allocations: 0.642 MB / 386.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.1057, allocations: 3.549 MB / 389.8 MB, free: 1.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/0.1092, allocations: 4.616 MB / 394.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-05/0.1092, allocations: 32 kB / 394.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003465/0.1127, allocations: 3.385 MB / 397.9 MB, free: 8.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.1127, allocations: 51.94 kB / 397.9 MB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.302e-05/0.1128, allocations: 108 kB / 398 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.113, allocations: 179.6 kB / 398.2 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.115, allocations: 1.217 MB / 399.4 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.1165, allocations: 1.452 MB / 400.9 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.1179, allocations: 195.9 kB / 401.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.1181, allocations: 272 kB / 401.3 MB, free: 4.645 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.0008685/0.119, allocations: 0.524 MB / 401.8 MB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.1192, allocations: 167.8 kB / 402 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009452/0.1201, allocations: 0.8275 MB / 402.8 MB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.1201, allocations: 20 kB / 402.9 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.1201, allocations: 0 / 402.9 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1202, allocations: 3.984 kB / 402.9 MB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.1239, allocations: 3.53 MB / 406.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.1239, allocations: 4 kB / 406.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.1244, allocations: 211.8 kB / 406.6 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.1249, allocations: 226.2 kB / 406.8 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.125, allocations: 47.59 kB / 406.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.1251, allocations: 27.98 kB / 406.9 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007679/0.1259, allocations: 1.377 MB / 408.3 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1259, allocations: 7.938 kB / 408.3 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.1271, allocations: 1.245 MB / 409.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.1272, allocations: 27.98 kB / 409.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.1276, allocations: 24 kB / 409.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1277, allocations: 96.66 kB / 409.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.1278, allocations: 47.98 kB / 409.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006531/0.1284, allocations: 0.8306 MB / 410.5 MB, free: 11.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1284, allocations: 0 / 410.5 MB, free: 11.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001923/0.1303, allocations: 0.8631 MB / 411.4 MB, free: 10.2 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.0003222/0.1307, allocations: 152.1 kB / 411.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.1326, allocations: 2.094 MB / 413.6 MB, free: 7.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001123/0.1327, allocations: 78.62 kB / 413.7 MB, free: 7.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.1335, allocations: 496.9 kB / 414.2 MB, free: 7.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1347, allocations: 0.7092 MB / 414.9 MB, free: 6.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/0.1437, allocations: 7.086 MB / 422 MB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009884/0.1447, allocations: 1.161 MB / 423.2 MB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008545/0.1455, allocations: 404.3 kB / 423.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/0.1461, allocations: 437.2 kB / 424 MB, free: 13.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1461, allocations: 0 / 424 MB, free: 13.43 MB / 426.7 MB Notification: Performance of Templates: time 0.2207/0.3668, allocations: 21.47 MB / 445.5 MB, free: 125.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 -emit_protected -ignoreHideResult -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: 4.008981896564364]