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.002439/0.002439, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002764/0.002764, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.341/0.341, allocations: 32.8 MB / 293.9 MB, free: 1.223 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 2.224e-06/2.224e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.354e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0169/0.01693, allocations: 11.76 MB / 387 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009221/0.02615, allocations: 3.851 MB / 390.9 MB, free: 5.297 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.02778, allocations: 71.75 kB / 391 MB, free: 5.227 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.03133, allocations: 1.393 MB / 392.3 MB, free: 3.828 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.03624, allocations: 1.84 MB / 394.2 MB, free: 1.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.03769, allocations: 0.5222 MB / 394.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00576/0.04345, allocations: 3.983 MB / 398.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003876/0.04732, allocations: 2.149 MB / 400.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.05085, allocations: 1.847 MB / 402.7 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.05426, allocations: 1.944 MB / 404.6 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005965/0.05486, allocations: 240 kB / 404.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.0569, allocations: 0.9009 MB / 405.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.05921, allocations: 1.679 MB / 407.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.06117, allocations: 1.004 MB / 408.4 MB, free: 3.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008774/0.06995, allocations: 6.178 MB / 414.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.06995, allocations: 0 / 414.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.06995, allocations: 0 / 414.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.07009, allocations: 4 kB / 414.6 MB, free: 13.45 MB / 394.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.01082/0.0809, allocations: 4.998 MB / 419.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.08095, allocations: 8.031 kB / 419.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.09393, allocations: 3.641 MB / 423.3 MB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/0.09914, allocations: 1.685 MB / 425 MB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.09935, allocations: 197 kB / 425.2 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007126/0.1001, allocations: 240.2 kB / 425.4 MB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.1141, allocations: 5.753 MB / 431.1 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.792e-05/0.1142, allocations: 23.75 kB / 431.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.1146, allocations: 115.8 kB / 431.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004954/0.1195, allocations: 2.553 MB / 433.8 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/0.1323, allocations: 3.875 MB / 437.7 MB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/0.3131, allocations: 41.64 MB / 479.4 MB, free: 67.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/0.3191, allocations: 2.179 MB / 481.5 MB, free: 67.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.3204, allocations: 0.6787 MB / 482.2 MB, free: 67.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009608/0.3214, allocations: 0.5171 MB / 482.7 MB, free: 67.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3214, allocations: 57.33 kB / 482.8 MB, free: 67.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.548e-06/0.3214, allocations: 1.594 kB / 482.8 MB, free: 67.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.02403/0.3454, allocations: 8.314 MB / 491.1 MB, free: 65.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3455, allocations: 75.59 kB / 491.2 MB, free: 65.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.3489, allocations: 3.046 MB / 494.2 MB, free: 63.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.3491, allocations: 60.84 kB / 494.3 MB, free: 63.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.3505, allocations: 2.997 MB / 497.3 MB, free: 61.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000758/0.3512, allocations: 0.9854 MB / 498.3 MB, free: 60.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001552/0.3528, allocations: 1.296 MB / 499.6 MB, free: 60.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3529, allocations: 0.5617 MB / 0.4884 GB, free: 59.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.3543, allocations: 0.7246 MB / 0.4891 GB, free: 59.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.3571, allocations: 5.103 MB / 0.4941 GB, free: 53.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.3624, allocations: 6.455 MB / 0.5004 GB, free: 46.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.739e-05/0.3625, allocations: 30.19 kB / 0.5004 GB, free: 46.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.008799/0.3713, allocations: 5.027 MB / 0.5053 GB, free: 44.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/0.3714, allocations: 48 kB / 0.5054 GB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-05/0.3715, allocations: 103.5 kB / 0.5055 GB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.3733, allocations: 0.5638 MB / 0.506 GB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/0.3764, allocations: 1.186 MB / 0.5072 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.3797, allocations: 3.116 MB / 0.5102 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.3831, allocations: 318.7 kB / 0.5105 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/0.3836, allocations: 306.9 kB / 0.5108 GB, free: 39.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 (635): * Single equations (assignments): 628 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001763/0.3854, allocations: 0.6613 MB / 0.5115 GB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006088/0.386, allocations: 322.2 kB / 0.5118 GB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005599/0.3916, allocations: 2.579 MB / 0.5143 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/0.3916, allocations: 41.61 kB / 0.5143 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3917, allocations: 4 kB / 0.5143 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.3917, allocations: 9.469 kB / 0.5143 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.4063, allocations: 7.172 MB / 0.5214 GB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.4063, allocations: 8 kB / 0.5214 GB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.4077, allocations: 363.4 kB / 0.5217 GB, free: 30.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.4095, allocations: 443.3 kB / 0.5221 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.4096, allocations: 46.39 kB / 0.5222 GB, free: 29.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.4124, allocations: 2.511 MB / 0.5246 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4124, allocations: 8 kB / 0.5246 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005875/0.4183, allocations: 3.099 MB / 0.5277 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/0.4191, allocations: 245.1 kB / 0.5279 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.4194, allocations: 40 kB / 0.5279 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.4206, allocations: 178.5 kB / 0.5281 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.421, allocations: 137.1 kB / 0.5282 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.4211, allocations: 67.89 kB / 0.5283 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001677/0.4228, allocations: 1.245 MB / 0.5295 GB, free: 22.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4228, allocations: 0 / 0.5295 GB, free: 22.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003838/0.4266, allocations: 0.9882 MB / 0.5305 GB, free: 21.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004362/0.427, allocations: 196.7 kB / 0.5307 GB, free: 21.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004954/0.432, allocations: 3.081 MB / 0.5337 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.432, allocations: 4 kB / 0.5337 GB, free: 19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.4334, allocations: 1.008 MB / 0.5347 GB, free: 18.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.4351, allocations: 282.7 kB / 0.5349 GB, free: 17.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.4458, allocations: 7.633 MB / 0.5424 GB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.4479, allocations: 2.301 MB / 0.5446 GB, free: 7.984 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003003/0.4509, allocations: 1.583 MB / 0.5462 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.4515, allocations: 196.5 kB / 0.5464 GB, free: 6.203 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4515, allocations: 0 / 0.5464 GB, free: 6.203 MB / 410.7 MB Notification: Performance of Templates: time 0.05323/0.5048, allocations: 25.23 MB / 0.571 GB, free: 13.36 MB / 442.7 MB " [Timeout remaining time 659] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.6323087241034955]