Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001054/0.001054, allocations: 88.97 kB / 20.65 MB, free: 3.848 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.001519/0.001519, allocations: 173 kB / 24.06 MB, free: 460 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9865/0.9865, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1349/0.1349, allocations: 32.37 MB / 270.7 MB, free: 14.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.634e-05, allocations: 4.281 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01018/0.0102, allocations: 15.89 MB / 364 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006684/0.01688, allocations: 3.785 MB / 367.8 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.01834, allocations: 115.6 kB / 367.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.02087, allocations: 2.288 MB / 370.2 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.02449, allocations: 2.695 MB / 372.9 MB, free: 284 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.025, allocations: 335.3 kB / 373.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005157/0.03016, allocations: 6.49 MB / 379.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.03281, allocations: 3.208 MB / 382.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.03557, allocations: 3.156 MB / 386.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.038, allocations: 2.953 MB / 389.1 MB, free: 72 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.03846, allocations: 392 kB / 389.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.0396, allocations: 0.8271 MB / 390.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.04131, allocations: 2.976 MB / 393.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.04254, allocations: 1.693 MB / 394.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004537/0.04708, allocations: 6.678 MB / 401.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.04708, allocations: 0 / 401.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.04708, allocations: 0 / 401.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.604e-05/0.04716, allocations: 0 / 401.6 MB, free: 3.469 MB / 330.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.01075/0.05791, allocations: 7.723 MB / 409.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.05795, allocations: 8.031 kB / 409.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02187/0.07982, allocations: 3.277 MB / 412.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006978/0.0868, allocations: 2.833 MB / 415.4 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.08701, allocations: 324.2 kB / 415.8 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006691/0.08768, allocations: 420 kB / 416.2 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.1016, allocations: 8.564 MB / 424.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.1017, allocations: 35.69 kB / 424.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004311/0.1021, allocations: 207.7 kB / 425 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003699/0.1058, allocations: 4.169 MB / 429.1 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007759/0.1136, allocations: 4.596 MB / 433.7 MB, free: 2.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/0.3098, allocations: 58.79 MB / 492.5 MB, free: 50.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005877/0.3157, allocations: 3.271 MB / 495.8 MB, free: 50.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/0.3165, allocations: 0.6489 MB / 496.5 MB, free: 50.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008411/0.3249, allocations: 6.909 MB / 0.4916 GB, free: 48.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3249, allocations: 64.22 kB / 0.4916 GB, free: 48.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 4.518e-06/0.3249, allocations: 0 / 0.4916 GB, free: 48.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.00684/0.3317, allocations: 3.972 MB / 0.4955 GB, free: 48.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3318, allocations: 100.8 kB / 0.4956 GB, free: 48.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003598/0.3354, allocations: 4.843 MB / 0.5003 GB, free: 44.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/0.3355, allocations: 57.7 kB / 0.5004 GB, free: 44.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.3373, allocations: 5.559 MB / 0.5058 GB, free: 39.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005557/0.3378, allocations: 1.307 MB / 0.5071 GB, free: 38.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/0.3392, allocations: 2.116 MB / 0.5092 GB, free: 35.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.3392, allocations: 480.8 kB / 0.5096 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/0.34, allocations: 0.7715 MB / 0.5104 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.3432, allocations: 8.89 MB / 0.5191 GB, free: 22.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/0.3489, allocations: 10.85 MB / 0.5296 GB, free: 7.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.445e-05/0.3489, allocations: 52 kB / 0.5297 GB, free: 7.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.006966/0.3559, allocations: 7.172 MB / 0.5367 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.3559, allocations: 92 kB / 0.5368 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.3561, allocations: 188 kB / 0.537 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.3562, allocations: 259.9 kB / 0.5372 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.3596, allocations: 1.992 MB / 0.5392 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002887/0.3599, allocations: 378.5 kB / 0.5395 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/0.3635, allocations: 1.198 MB / 0.5407 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005052/0.364, allocations: 492 kB / 0.5412 GB, free: 12.07 MB / 394.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.002525/0.3666, allocations: 0.8824 MB / 0.542 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/0.3671, allocations: 0.5164 MB / 0.5425 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.3675, allocations: 0.5066 MB / 0.543 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-05/0.3676, allocations: 59.92 kB / 0.5431 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/0.3676, allocations: 0 / 0.5431 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.3676, allocations: 7.969 kB / 0.5431 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008473/0.3761, allocations: 6.366 MB / 0.5493 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.3761, allocations: 12 kB / 0.5493 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.3769, allocations: 351.4 kB / 0.5497 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/0.3769, allocations: 20 kB / 0.5497 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/0.377, allocations: 63.98 kB / 0.5497 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.901e-05/0.3771, allocations: 31.92 kB / 0.5498 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/0.3771, allocations: 23.81 kB / 0.5498 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.3794, allocations: 2.524 MB / 0.5522 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.3798, allocations: 452.3 kB / 0.5527 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/0.3801, allocations: 67.97 kB / 0.5527 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.3807, allocations: 48 kB / 0.5528 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.3809, allocations: 180.5 kB / 0.553 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.381, allocations: 94.31 kB / 0.5531 GB, free: 15.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.3826, allocations: 1.816 MB / 0.5548 GB, free: 13.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3826, allocations: 0 / 0.5548 GB, free: 13.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005015/0.3876, allocations: 2.066 MB / 0.5568 GB, free: 11.34 MB / 410.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.000372/0.388, allocations: 209 kB / 0.557 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.3922, allocations: 3.946 MB / 0.5609 GB, free: 7.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3922, allocations: 0 / 0.5609 GB, free: 7.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.393, allocations: 0.8096 MB / 0.5617 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.3944, allocations: 441.9 kB / 0.5621 GB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.4104, allocations: 13.01 MB / 0.5748 GB, free: 8.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.4122, allocations: 2.172 MB / 0.5769 GB, free: 6.383 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001869/0.4141, allocations: 0.7691 MB / 0.5777 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009883/0.4151, allocations: 0.7403 MB / 0.5784 GB, free: 4.867 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4151, allocations: 0 / 0.5784 GB, free: 4.867 MB / 426.7 MB Notification: Performance of Templates: time 0.05853/0.4736, allocations: 32.93 MB / 0.6106 GB, free: 4.023 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.523112016264349]