Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.001102/0.001102, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001109/0.001109, allocations: 167.1 kB / 24.82 MB, free: 9.273 MB / 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.3291/0.3291, allocations: 34.27 MB / 296.1 MB, free: 0.7227 MB / 266.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.518e-05/3.791e-05, allocations: 5.406 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01303/0.01307, allocations: 15.76 MB / 394.2 MB, free: 2.562 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009543/0.02261, allocations: 3.874 MB / 398.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003705/0.02631, allocations: 111.6 kB / 398.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004656/0.03097, allocations: 2.308 MB / 400.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007443/0.03841, allocations: 2.676 MB / 403.2 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.03972, allocations: 339.3 kB / 403.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.05074, allocations: 6.658 MB / 410.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006111/0.05686, allocations: 3.208 MB / 413.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007745/0.0646, allocations: 3.121 MB / 416.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.07025, allocations: 2.949 MB / 419.5 MB, free: 9.219 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.07214, allocations: 392 kB / 419.9 MB, free: 8.836 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.07536, allocations: 0.8349 MB / 420.7 MB, free: 8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004025/0.07938, allocations: 2.905 MB / 423.6 MB, free: 5.086 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00396/0.08334, allocations: 1.661 MB / 425.3 MB, free: 3.418 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.0958, allocations: 6.573 MB / 431.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.0958, allocations: 0 / 431.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09581, allocations: 0 / 431.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003854/0.09619, allocations: 0 / 431.8 MB, free: 12.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0139/0.1101, allocations: 7.645 MB / 439.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1102, allocations: 8.031 kB / 439.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.1205, allocations: 3.281 MB / 442.8 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1978/0.3183, allocations: 2.832 MB / 445.6 MB, free: 75.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.3186, allocations: 321.8 kB / 445.9 MB, free: 75.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001824/0.3204, allocations: 415.2 kB / 446.3 MB, free: 75.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.3406, allocations: 8.574 MB / 454.9 MB, free: 72.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002056/0.3408, allocations: 35.59 kB / 454.9 MB, free: 72.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/0.3422, allocations: 203.2 kB / 455.1 MB, free: 72.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004339/0.3465, allocations: 4.167 MB / 459.3 MB, free: 72.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.3642, allocations: 4.593 MB / 463.9 MB, free: 71.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08911/0.4533, allocations: 58.79 MB / 0.5104 GB, free: 30.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009556/0.4628, allocations: 3.256 MB / 0.5136 GB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.4649, allocations: 0.6474 MB / 0.5142 GB, free: 29.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/0.4786, allocations: 6.908 MB / 0.521 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.4787, allocations: 63.33 kB / 0.521 GB, free: 24.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 1.113e-05/0.4787, allocations: 0 / 0.521 GB, free: 24.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.009695/0.4884, allocations: 3.963 MB / 0.5249 GB, free: 21.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.4884, allocations: 104.8 kB / 0.525 GB, free: 21.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006905/0.4953, allocations: 4.849 MB / 0.5298 GB, free: 18.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008552/0.4962, allocations: 64.83 kB / 0.5298 GB, free: 18.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004147/0.5003, allocations: 5.559 MB / 0.5352 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002081/0.5024, allocations: 1.312 MB / 0.5365 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002678/0.5051, allocations: 2.108 MB / 0.5386 GB, free: 10.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.5052, allocations: 484.8 kB / 0.539 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.5063, allocations: 0.7715 MB / 0.5398 GB, free: 9.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/0.5108, allocations: 8.898 MB / 0.5485 GB, free: 12.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/0.5238, allocations: 10.84 MB / 0.5591 GB, free: 15.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003548/0.5242, allocations: 56 kB / 0.5591 GB, free: 15.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02019/0.5444, allocations: 7.174 MB / 0.5661 GB, free: 7.852 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.5445, allocations: 91.94 kB / 0.5662 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002901/0.5448, allocations: 188 kB / 0.5664 GB, free: 7.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.545, allocations: 252 kB / 0.5666 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005763/0.5508, allocations: 1.996 MB / 0.5686 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003006/0.5511, allocations: 379.1 kB / 0.569 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006724/0.5578, allocations: 1.204 MB / 0.5701 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002075/0.5599, allocations: 494.5 kB / 0.5706 GB, free: 3.277 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004484/0.5644, allocations: 0.8766 MB / 0.5715 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008698/0.5652, allocations: 0.5191 MB / 0.572 GB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.566, allocations: 0.5105 MB / 0.5725 GB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.811e-05/0.5661, allocations: 52 kB / 0.5725 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/0.5661, allocations: 4 kB / 0.5725 GB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.5661, allocations: 11.95 kB / 0.5725 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.5795, allocations: 6.354 MB / 0.5787 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.5795, allocations: 13 kB / 0.5787 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/0.5804, allocations: 347.4 kB / 0.5791 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.21e-05/0.5805, allocations: 24 kB / 0.5791 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.5806, allocations: 71.55 kB / 0.5792 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.621e-05/0.5806, allocations: 33.45 kB / 0.5792 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/0.5806, allocations: 23.88 kB / 0.5792 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.5836, allocations: 2.52 MB / 0.5817 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009725/0.5846, allocations: 448.2 kB / 0.5821 GB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.585, allocations: 63.92 kB / 0.5822 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007889/0.5858, allocations: 51.98 kB / 0.5822 GB, free: 7.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.586, allocations: 180.7 kB / 0.5824 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.5861, allocations: 87.97 kB / 0.5825 GB, free: 6.969 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002428/0.5886, allocations: 1.804 MB / 0.5842 GB, free: 5.168 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5886, allocations: 0 / 0.5842 GB, free: 5.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007836/0.5964, allocations: 2.044 MB / 0.5862 GB, free: 3.125 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008424/0.5973, allocations: 198.5 kB / 0.5864 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008655/0.6059, allocations: 3.932 MB / 0.5903 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/0.6059, allocations: 4 kB / 0.5903 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.6075, allocations: 0.8126 MB / 0.5911 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.6099, allocations: 442.7 kB / 0.5915 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/0.6337, allocations: 13.01 MB / 0.6042 GB, free: 400 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2372/0.871, allocations: 2.167 MB / 0.6063 GB, free: 135.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003432/0.8744, allocations: 0.7707 MB / 0.6071 GB, free: 135.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/0.8758, allocations: 0.7362 MB / 0.6078 GB, free: 135.6 MB / 474.7 MB Notification: Performance of SimCode: time 3.176e-06/0.8758, allocations: 6.781 kB / 0.6078 GB, free: 135.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07892/0.9547, allocations: 32.94 MB / 0.64 GB, free: 129.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.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: 5.3484146296978]