Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009389/0.0009389, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0008809/0.0008809, allocations: 174.4 kB / 25.61 MB, free: 8.902 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 0.9891/0.9891, allocations: 177.1 MB / 206.1 MB, free: 4.496 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.143/0.143, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.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.0.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.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 377.3 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.681e-05, allocations: 2.312 kB / 377.3 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01719/0.01722, allocations: 15.76 MB / 393 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.02245, allocations: 3.856 MB / 396.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.02353, allocations: 115.6 kB / 397 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.02563, allocations: 2.296 MB / 399.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.02854, allocations: 2.679 MB / 402 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.0289, allocations: 339.3 kB / 402.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004627/0.03352, allocations: 6.665 MB / 409 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.03591, allocations: 3.2 MB / 412.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.03821, allocations: 3.125 MB / 415.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.04067, allocations: 2.953 MB / 418.2 MB, free: 472 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004443/0.04112, allocations: 392 kB / 418.6 MB, free: 80 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.04215, allocations: 0.8272 MB / 419.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001591/0.04374, allocations: 2.917 MB / 422.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.04498, allocations: 1.657 MB / 424 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.04961, allocations: 6.57 MB / 430.6 MB, free: 4.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.04962, allocations: 7.922 kB / 430.6 MB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04962, allocations: 4 kB / 430.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.628e-05/0.0497, allocations: 0 / 430.6 MB, free: 4.051 MB / 346.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.006386/0.05608, allocations: 7.641 MB / 438.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.05611, allocations: 11.98 kB / 438.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007525/0.06364, allocations: 3.277 MB / 441.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.06656, allocations: 2.825 MB / 444.4 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.06672, allocations: 328.2 kB / 444.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005351/0.06726, allocations: 416 kB / 445.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009055/0.07631, allocations: 8.572 MB / 453.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.077e-05/0.07639, allocations: 31.69 kB / 453.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/0.07682, allocations: 207.7 kB / 453.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003628/0.08044, allocations: 4.165 MB / 458.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008432/0.08888, allocations: 4.596 MB / 462.6 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1971/0.286, allocations: 58.79 MB / 0.5092 GB, free: 68.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008408/0.2944, allocations: 3.254 MB / 0.5124 GB, free: 68.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.296, allocations: 0.6505 MB / 0.513 GB, free: 68.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.3069, allocations: 6.905 MB / 0.5198 GB, free: 67.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.307, allocations: 62.41 kB / 0.5198 GB, free: 67.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 5.941e-06/0.307, allocations: 0 / 0.5198 GB, free: 67.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.007742/0.3147, allocations: 3.964 MB / 0.5237 GB, free: 66.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3148, allocations: 100.8 kB / 0.5238 GB, free: 66.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.3187, allocations: 4.85 MB / 0.5285 GB, free: 63.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.3189, allocations: 62.77 kB / 0.5286 GB, free: 63.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002119/0.321, allocations: 5.556 MB / 0.534 GB, free: 59.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008573/0.3219, allocations: 1.312 MB / 0.5353 GB, free: 57.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.3233, allocations: 2.104 MB / 0.5374 GB, free: 55.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.371e-05/0.3234, allocations: 476.8 kB / 0.5378 GB, free: 55.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009207/0.3243, allocations: 0.7755 MB / 0.5386 GB, free: 54.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/0.3272, allocations: 8.893 MB / 0.5473 GB, free: 41.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006019/0.3332, allocations: 10.85 MB / 0.5578 GB, free: 27.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/0.3334, allocations: 56 kB / 0.5579 GB, free: 27.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01042/0.3438, allocations: 7.185 MB / 0.5649 GB, free: 20.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/0.3439, allocations: 84.22 kB / 0.565 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.344, allocations: 196 kB / 0.5652 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.3442, allocations: 252 kB / 0.5654 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/0.348, allocations: 1.992 MB / 0.5674 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000179/0.3482, allocations: 374.5 kB / 0.5677 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/0.3529, allocations: 1.201 MB / 0.5689 GB, free: 16.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009514/0.3538, allocations: 492 kB / 0.5694 GB, free: 16.03 MB / 410.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.002896/0.3567, allocations: 0.8863 MB / 0.5702 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005346/0.3573, allocations: 0.5164 MB / 0.5707 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.3578, allocations: 0.5066 MB / 0.5712 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/0.3579, allocations: 59.48 kB / 0.5713 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/0.3579, allocations: 0 / 0.5713 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.3579, allocations: 11.95 kB / 0.5713 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.3726, allocations: 6.357 MB / 0.5775 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.3727, allocations: 12 kB / 0.5775 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/0.3735, allocations: 351.4 kB / 0.5779 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.3735, allocations: 27.94 kB / 0.5779 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.889e-05/0.3736, allocations: 63.97 kB / 0.5779 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.3736, allocations: 23.94 kB / 0.578 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.3736, allocations: 27.86 kB / 0.578 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.3754, allocations: 2.516 MB / 0.5805 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.3759, allocations: 460.1 kB / 0.5809 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/0.3762, allocations: 59.97 kB / 0.5809 GB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.3768, allocations: 51.31 kB / 0.581 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.377, allocations: 188.7 kB / 0.5812 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.3771, allocations: 79.98 kB / 0.5813 GB, free: 3.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.3783, allocations: 1.816 MB / 0.583 GB, free: 1.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3783, allocations: 0 / 0.583 GB, free: 1.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005204/0.3835, allocations: 2.032 MB / 0.585 GB, free: 15.35 MB / 426.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.0003057/0.3838, allocations: 202.5 kB / 0.5852 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.3878, allocations: 3.945 MB / 0.5891 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3878, allocations: 4 kB / 0.5891 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.3886, allocations: 0.802 MB / 0.5898 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.3898, allocations: 443.5 kB / 0.5903 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.4032, allocations: 13.02 MB / 0.603 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/0.4049, allocations: 2.164 MB / 0.6051 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001703/0.4066, allocations: 0.7685 MB / 0.6058 GB, free: 9.645 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/0.4076, allocations: 0.7403 MB / 0.6066 GB, free: 8.902 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4076, allocations: 3.609 kB / 0.6066 GB, free: 8.902 MB / 442.7 MB Notification: Performance of Templates: time 0.06193/0.4695, allocations: 33.7 MB / 0.6395 GB, free: 7.762 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.676826049108058]