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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00175/0.002824, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002573, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9127/0.9127, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1593/1.072, allocations: 52.48 MB / 238.5 MB, free: 7.652 MB / 234.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.1889/0.1889, allocations: 32.8 MB / 272 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02048/0.2094, allocations: 12.53 MB / 284.5 MB, free: 9.746 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.413e-06/1.413e-06, allocations: 0 / 285.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.091e-05, allocations: 2.312 kB / 285.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01464/0.01466, allocations: 16.02 MB / 301.9 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006409/0.02106, allocations: 4.059 MB / 305.9 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.0224, allocations: 107.6 kB / 306 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.02459, allocations: 2.292 MB / 308.3 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.02782, allocations: 2.73 MB / 311 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.02826, allocations: 311.4 kB / 311.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004895/0.03316, allocations: 6.33 MB / 317.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.03575, allocations: 3.068 MB / 320.8 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.03863, allocations: 3.22 MB / 324 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1464/0.185, allocations: 2.752 MB / 326.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.1868, allocations: 392.1 kB / 327.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.1893, allocations: 0.8464 MB / 328 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.192, allocations: 2.707 MB / 330.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.195, allocations: 1.417 MB / 332.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006822/0.2019, allocations: 6.37 MB / 338.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.2019, allocations: 0 / 338.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2019, allocations: 0 / 338.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004116/0.2023, allocations: 3.594 kB / 338.5 MB, free: 6.312 MB / 314.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.01035/0.2126, allocations: 8.011 MB / 346.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2127, allocations: 11.66 kB / 346.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/0.2187, allocations: 2.518 MB / 349 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.2222, allocations: 2.523 MB / 351.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.2223, allocations: 329.8 kB / 351.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006057/0.2229, allocations: 414.4 kB / 352.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.237, allocations: 8.172 MB / 360.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.634e-05/0.2371, allocations: 36.62 kB / 360.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004101/0.2375, allocations: 210.1 kB / 360.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003525/0.2411, allocations: 3.972 MB / 364.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009939/0.251, allocations: 4.701 MB / 369.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0504/0.3014, allocations: 44.58 MB / 413.9 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/0.3074, allocations: 3.214 MB / 417.1 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/0.3082, allocations: 0.5491 MB / 417.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.3183, allocations: 6.344 MB / 424 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3184, allocations: 56.56 kB / 424.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=321): time 5.72e-06/0.3184, allocations: 4 kB / 424.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=321): time 0.007626/0.326, allocations: 3.357 MB / 427.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.326, allocations: 106.5 kB / 427.5 MB, free: 10.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/0.3297, allocations: 3.825 MB / 431.4 MB, free: 7.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.3299, allocations: 65.7 kB / 431.4 MB, free: 7.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/0.3325, allocations: 5.122 MB / 436.5 MB, free: 2.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009772/0.3335, allocations: 1.226 MB / 437.8 MB, free: 1.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/0.3351, allocations: 1.775 MB / 439.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.3352, allocations: 301.1 kB / 439.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.3364, allocations: 1.032 MB / 440.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/0.3402, allocations: 6.366 MB / 447.2 MB, free: 5.746 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008211/0.3484, allocations: 9.123 MB / 456.4 MB, free: 10.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.3485, allocations: 63.94 kB / 456.4 MB, free: 9.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.00873/0.3572, allocations: 6.088 MB / 462.5 MB, free: 3.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.3573, allocations: 96.06 kB / 462.6 MB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/0.3575, allocations: 216 kB / 462.8 MB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.3577, allocations: 264 kB / 463.1 MB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004218/0.3619, allocations: 2.285 MB / 465.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002357/0.3622, allocations: 390.5 kB / 465.7 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/0.3671, allocations: 1.214 MB / 467 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006662/0.3678, allocations: 488 kB / 467.4 MB, free: 14.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1170): * Single equations (assignments): 1158 * 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 prepare postOptimizeDAE: time 0.003316/0.3711, allocations: 0.8549 MB / 468.3 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.3717, allocations: 291.7 kB / 468.6 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.3724, allocations: 0.5144 MB / 469.1 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.264e-05/0.3724, allocations: 39.98 kB / 469.1 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.3724, allocations: 4 kB / 469.1 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.3725, allocations: 12.08 kB / 469.1 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009799/0.3823, allocations: 5.51 MB / 474.6 MB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/0.3823, allocations: 43.86 kB / 474.7 MB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.3833, allocations: 391.5 kB / 475.1 MB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/0.3841, allocations: 448.2 kB / 475.5 MB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/0.3841, allocations: 24 kB / 475.5 MB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.3843, allocations: 55.98 kB / 475.6 MB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.3843, allocations: 32.34 kB / 475.6 MB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.3843, allocations: 19.94 kB / 475.6 MB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.386, allocations: 1.859 MB / 477.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.3863, allocations: 55.98 kB / 477.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.387, allocations: 51.98 kB / 477.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/0.3872, allocations: 176.7 kB / 477.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.3873, allocations: 83.98 kB / 477.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.3888, allocations: 1.488 MB / 479.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3888, allocations: 0 / 479.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005201/0.394, allocations: 2.087 MB / 481.4 MB, free: 444 kB / 442.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.0005709/0.3946, allocations: 183.7 kB / 481.6 MB, free: 248 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004771/0.3994, allocations: 3.798 MB / 485.4 MB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002514/0.3996, allocations: 144.4 kB / 485.6 MB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4006, allocations: 0.857 MB / 486.4 MB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.4031, allocations: 2.181 MB / 488.6 MB, free: 9.113 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1454/0.5485, allocations: 13.65 MB / 0.4905 GB, free: 150.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/0.5515, allocations: 2.119 MB / 0.4925 GB, free: 150 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002592/0.554, allocations: 0.7439 MB / 0.4933 GB, free: 149.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.5551, allocations: 0.6376 MB / 0.4939 GB, free: 149.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5551, allocations: 0 / 0.4939 GB, free: 149.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06627/0.6214, allocations: 30.15 MB / 0.5233 GB, free: 132.2 MB / 458.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8535194490104914]