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.001454/0.001454, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001252/0.001252, allocations: 161 kB / 24.56 MB, free: 8 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 0.992/0.992, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.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.263/0.263, allocations: 32.81 MB / 294.3 MB, free: 1.281 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 3.457e-06/3.457e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.649e-05/3.995e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0133/0.01334, allocations: 11.82 MB / 387.9 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.02404, allocations: 3.874 MB / 391.7 MB, free: 4.883 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.02595, allocations: 67.75 kB / 391.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.02876, allocations: 1.397 MB / 393.2 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.03311, allocations: 1.844 MB / 395 MB, free: 1.562 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.03491, allocations: 0.5222 MB / 395.6 MB, free: 1.039 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004691/0.0396, allocations: 3.986 MB / 399.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003495/0.0431, allocations: 2.157 MB / 401.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.04669, allocations: 1.886 MB / 403.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.05011, allocations: 1.905 MB / 405.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009314/0.05104, allocations: 240 kB / 405.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.05262, allocations: 0.9087 MB / 406.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.05366, allocations: 1.671 MB / 408.3 MB, free: 4.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008392/0.0545, allocations: 1 MB / 409.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.05803, allocations: 4.058 MB / 413.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.05803, allocations: 0 / 413.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.05804, allocations: 4 kB / 413.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.05807, allocations: 0 / 413.4 MB, free: 15.15 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.004943/0.06301, allocations: 4.588 MB / 418 MB, free: 10.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.06306, allocations: 8.031 kB / 418 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.06907, allocations: 3.633 MB / 421.6 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.07135, allocations: 1.736 MB / 423.3 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.07145, allocations: 189 kB / 423.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.07177, allocations: 248.2 kB / 423.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005748/0.07751, allocations: 5.319 MB / 429.1 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/0.07757, allocations: 27.75 kB / 429.1 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005672/0.07814, allocations: 119.8 kB / 429.2 MB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002281/0.08042, allocations: 2.495 MB / 431.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005913/0.08633, allocations: 3.229 MB / 434.9 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2551/0.3414, allocations: 34.34 MB / 469.3 MB, free: 66.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005678/0.3471, allocations: 1.473 MB / 470.8 MB, free: 66.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.3482, allocations: 496 kB / 471.3 MB, free: 66.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007056/0.3553, allocations: 4.217 MB / 475.5 MB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3553, allocations: 49.52 kB / 475.5 MB, free: 65.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 5.32e-06/0.3553, allocations: 0 / 475.5 MB, free: 65.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.008764/0.3641, allocations: 4.781 MB / 480.3 MB, free: 64.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3641, allocations: 65.03 kB / 480.4 MB, free: 64.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.3666, allocations: 2.697 MB / 483.1 MB, free: 63.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.3667, allocations: 51.11 kB / 483.1 MB, free: 63.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.368, allocations: 3.044 MB / 486.2 MB, free: 61.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.3683, allocations: 0.6889 MB / 486.8 MB, free: 60.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000882/0.3692, allocations: 1.105 MB / 487.9 MB, free: 59.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3693, allocations: 0.535 MB / 488.5 MB, free: 59.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008738/0.3702, allocations: 0.5493 MB / 489 MB, free: 59.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.3724, allocations: 5.05 MB / 494.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004431/0.3769, allocations: 6.192 MB / 0.4885 GB, free: 46.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.725e-05/0.3769, allocations: 30.34 kB / 0.4886 GB, free: 46.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006428/0.3834, allocations: 4.322 MB / 0.4928 GB, free: 45.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.3834, allocations: 51.56 kB / 0.4928 GB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.3836, allocations: 106.5 kB / 0.4929 GB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.384, allocations: 186.8 kB / 0.4931 GB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.3868, allocations: 1.17 MB / 0.4943 GB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.388, allocations: 2.017 MB / 0.4962 GB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.3904, allocations: 315 kB / 0.4965 GB, free: 43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/0.3908, allocations: 310.8 kB / 0.4968 GB, free: 42.96 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.001332/0.3922, allocations: 0.5592 MB / 0.4974 GB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.3925, allocations: 290 kB / 0.4977 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.3942, allocations: 1.082 MB / 0.4987 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.3942, allocations: 22.89 kB / 0.4987 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3942, allocations: 0.75 kB / 0.4987 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.3942, allocations: 9.703 kB / 0.4987 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00679/0.401, allocations: 4.551 MB / 0.5032 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.401, allocations: 4.562 kB / 0.5032 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/0.4018, allocations: 256.3 kB / 0.5034 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.402, allocations: 51.28 kB / 0.5035 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/0.402, allocations: 32.14 kB / 0.5035 GB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008048/0.4028, allocations: 1.817 MB / 0.5053 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4028, allocations: 7.938 kB / 0.5053 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.4051, allocations: 1.712 MB / 0.507 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.4054, allocations: 234.8 kB / 0.5072 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.4056, allocations: 28.86 kB / 0.5072 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/0.4063, allocations: 121.8 kB / 0.5073 GB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.4065, allocations: 94.34 kB / 0.5074 GB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.4065, allocations: 54.62 kB / 0.5075 GB, free: 36.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.4077, allocations: 1.125 MB / 0.5086 GB, free: 36.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4077, allocations: 0 / 0.5086 GB, free: 36.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003191/0.4109, allocations: 0.8643 MB / 0.5094 GB, free: 36.43 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.0003651/0.4113, allocations: 169.4 kB / 0.5096 GB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.4146, allocations: 2.494 MB / 0.512 GB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4146, allocations: 7.016 kB / 0.512 GB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007106/0.4153, allocations: 0.6521 MB / 0.5127 GB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4164, allocations: 275.2 kB / 0.5129 GB, free: 34.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/0.4251, allocations: 7.031 MB / 0.5198 GB, free: 28.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.4263, allocations: 1.168 MB / 0.5209 GB, free: 28.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003059/0.4293, allocations: 1.52 MB / 0.5224 GB, free: 27.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.4298, allocations: 200.4 kB / 0.5226 GB, free: 27.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.522e-06/0.4298, allocations: 0 / 0.5226 GB, free: 27.08 MB / 410.7 MB Notification: Performance of Templates: time 0.03253/0.4623, allocations: 19.66 MB / 0.5418 GB, free: 11.55 MB / 410.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 -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.215491773094982]