Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.001494/0.001494, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.000971/0.000971, allocations: 161 kB / 24.56 MB, free: 16 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.648 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.2462/0.2462, allocations: 32.8 MB / 294.3 MB, free: 1.23 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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.091e-05, allocations: 6.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008113/0.008134, allocations: 10.75 MB / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005255/0.01339, allocations: 3.769 MB / 390.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007672/0.01416, allocations: 71.69 kB / 390.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.01705, allocations: 2.881 MB / 393.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.0195, allocations: 1.87 MB / 395.4 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009313/0.02044, allocations: 0.7601 MB / 396.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002845/0.02328, allocations: 3.986 MB / 400.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.02561, allocations: 3.155 MB / 403.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.02759, allocations: 2.233 MB / 405.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.02951, allocations: 2.186 MB / 407.7 MB, free: 4.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003771/0.02988, allocations: 328 kB / 408 MB, free: 4.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.03107, allocations: 1.002 MB / 409 MB, free: 3.512 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.03216, allocations: 1.936 MB / 410.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009452/0.0331, allocations: 1.227 MB / 412.2 MB, free: 348 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.03673, allocations: 4.293 MB / 416.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.03673, allocations: 0 / 416.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03673, allocations: 0 / 416.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.436e-05/0.0368, allocations: 0 / 416.5 MB, free: 12.03 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.008504/0.0453, allocations: 5.64 MB / 422.1 MB, free: 6.328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.04534, allocations: 8.031 kB / 422.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/0.0492, allocations: 2.331 MB / 424.4 MB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.05139, allocations: 2.028 MB / 426.5 MB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.0515, allocations: 229.9 kB / 426.7 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.05185, allocations: 307.8 kB / 427 MB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/0.05864, allocations: 5.993 MB / 433 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-05/0.05871, allocations: 35.7 kB / 433 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/0.05897, allocations: 147.9 kB / 433.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/0.06068, allocations: 1.809 MB / 435 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.06695, allocations: 3.316 MB / 438.3 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1879/0.2548, allocations: 40.38 MB / 478.7 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00606/0.2609, allocations: 1.921 MB / 480.6 MB, free: 59.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.2616, allocations: 498.7 kB / 481.1 MB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/0.2621, allocations: 229.9 kB / 481.3 MB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2621, allocations: 53.17 kB / 481.4 MB, free: 59.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.258e-06/0.2621, allocations: 0 / 481.4 MB, free: 59.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.02549/0.2876, allocations: 9.628 MB / 491 MB, free: 56.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.2877, allocations: 145.1 kB / 491.1 MB, free: 56.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.2913, allocations: 3.349 MB / 494.5 MB, free: 54.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.2914, allocations: 43.98 kB / 494.5 MB, free: 54.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.2928, allocations: 3.246 MB / 497.8 MB, free: 52.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.2932, allocations: 0.5903 MB / 498.4 MB, free: 52.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.2945, allocations: 1.242 MB / 499.6 MB, free: 51.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.2945, allocations: 476.8 kB / 0.4883 GB, free: 50.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.2958, allocations: 0.5706 MB / 0.4889 GB, free: 50.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.2989, allocations: 5.871 MB / 0.4946 GB, free: 43.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005285/0.3042, allocations: 7.122 MB / 0.5016 GB, free: 35.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-05/0.3042, allocations: 43.62 kB / 0.5016 GB, free: 35.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.007785/0.312, allocations: 5.287 MB / 0.5068 GB, free: 34.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.3121, allocations: 59.78 kB / 0.5069 GB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.3122, allocations: 126 kB / 0.507 GB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.3134, allocations: 0.6212 MB / 0.5076 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.3156, allocations: 1.289 MB / 0.5088 GB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.3181, allocations: 3.194 MB / 0.512 GB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.3204, allocations: 336.6 kB / 0.5123 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/0.3207, allocations: 367 kB / 0.5126 GB, free: 31.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.3218, allocations: 0.6246 MB / 0.5132 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.3221, allocations: 345 kB / 0.5136 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.3243, allocations: 1.409 MB / 0.5149 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.3244, allocations: 18.73 kB / 0.515 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3244, allocations: 3.75 kB / 0.515 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.3244, allocations: 5.109 kB / 0.515 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007003/0.3314, allocations: 4.796 MB / 0.5197 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.3314, allocations: 3.031 kB / 0.5197 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.332, allocations: 238.3 kB / 0.5199 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.3331, allocations: 445 kB / 0.5203 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.3332, allocations: 36.77 kB / 0.5203 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.3355, allocations: 2.922 MB / 0.5232 GB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3355, allocations: 5.984 kB / 0.5232 GB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.3383, allocations: 2.416 MB / 0.5256 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.3386, allocations: 291.5 kB / 0.5258 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.3388, allocations: 22.81 kB / 0.5259 GB, free: 23.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.3394, allocations: 108.8 kB / 0.526 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.3396, allocations: 111.4 kB / 0.5261 GB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.3397, allocations: 50.52 kB / 0.5261 GB, free: 23.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.341, allocations: 1.434 MB / 0.5275 GB, free: 22.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.341, allocations: 0 / 0.5275 GB, free: 22.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003037/0.344, allocations: 0.9374 MB / 0.5284 GB, free: 21.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0003188/0.3443, allocations: 169.2 kB / 0.5286 GB, free: 21.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003235/0.3476, allocations: 2.745 MB / 0.5313 GB, free: 18.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3476, allocations: 0 / 0.5313 GB, free: 18.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006282/0.3482, allocations: 0.6792 MB / 0.5319 GB, free: 18.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3493, allocations: 385.7 kB / 0.5323 GB, free: 17.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/0.3562, allocations: 6.793 MB / 0.5389 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.3569, allocations: 1.144 MB / 0.5401 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001813/0.3587, allocations: 1.511 MB / 0.5415 GB, free: 9.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.3591, allocations: 257.8 kB / 0.5418 GB, free: 9.539 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/0.3591, allocations: 0 / 0.5418 GB, free: 9.539 MB / 410.7 MB Notification: Performance of Templates: time 0.03991/0.399, allocations: 29.51 MB / 0.5706 GB, free: 12.54 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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.3593405480496585]