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.0008166/0.0008166, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001918, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007065/0.0007065, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001663, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8821/0.8821, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1582/1.04, allocations: 49.49 MB / 220.5 MB, free: 5.266 MB / 218.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.1614/0.1614, allocations: 32.34 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03553/0.197, allocations: 12.3 MB / 265.9 MB, free: 7.816 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.502e-06/1.502e-06, allocations: 0 / 267.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.245e-05, allocations: 6.25 kB / 267.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01905/0.01906, allocations: 16.06 MB / 283.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006867/0.02593, allocations: 4.01 MB / 287.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.02735, allocations: 107.6 kB / 287.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.0298, allocations: 2.296 MB / 289.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.03326, allocations: 2.714 MB / 292.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.03383, allocations: 327.3 kB / 292.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005802/0.03963, allocations: 6.219 MB / 299 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.04194, allocations: 3.072 MB / 302 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.04469, allocations: 3.216 MB / 305.2 MB, free: 288 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.04678, allocations: 2.758 MB / 308 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.04715, allocations: 396 kB / 308.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.04825, allocations: 0.8388 MB / 309.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.05012, allocations: 2.703 MB / 311.9 MB, free: 9.578 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.05123, allocations: 1.42 MB / 313.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.05582, allocations: 6.37 MB / 319.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562e-05/0.05584, allocations: 0 / 319.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.05584, allocations: 0 / 319.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.05594, allocations: 0 / 319.7 MB, free: 1.754 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.006144/0.06209, allocations: 8.016 MB / 327.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.06212, allocations: 8.031 kB / 327.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.06788, allocations: 2.521 MB / 330.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.07082, allocations: 2.529 MB / 332.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.07096, allocations: 320.3 kB / 333.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/0.07144, allocations: 420 kB / 333.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1698/0.2412, allocations: 7.995 MB / 341.5 MB, free: 32.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.05e-05/0.2413, allocations: 34.19 kB / 341.6 MB, free: 32.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003959/0.2417, allocations: 208.6 kB / 341.8 MB, free: 32.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.2455, allocations: 4.197 MB / 346 MB, free: 32.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.2564, allocations: 4.696 MB / 350.6 MB, free: 32.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0366/0.293, allocations: 44.55 MB / 395.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/0.299, allocations: 3.204 MB / 398.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/0.2998, allocations: 0.5514 MB / 399 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009912/0.3097, allocations: 6.301 MB / 405.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.3097, allocations: 57.98 kB / 405.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=321): time 4.539e-06/0.3097, allocations: 0 / 405.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=321): time 0.00691/0.3166, allocations: 3.349 MB / 408.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3167, allocations: 103.1 kB / 408.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.3202, allocations: 3.823 MB / 412.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.3203, allocations: 63.97 kB / 412.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00258/0.3229, allocations: 5.11 MB / 417.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006748/0.3236, allocations: 1.221 MB / 419 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.325, allocations: 1.752 MB / 420.7 MB, free: 4.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.325, allocations: 315.5 kB / 421 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.3262, allocations: 1.031 MB / 422.1 MB, free: 3.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.3298, allocations: 6.183 MB / 428.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006655/0.3364, allocations: 8.282 MB / 436.5 MB, free: 304 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.373e-05/0.3365, allocations: 60 kB / 436.6 MB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.007224/0.3437, allocations: 6.015 MB / 442.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.3438, allocations: 89.64 kB / 442.7 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/0.344, allocations: 188 kB / 442.9 MB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.3442, allocations: 256 kB / 443.1 MB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/0.3482, allocations: 2.223 MB / 445.4 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001955/0.3483, allocations: 377.2 kB / 445.7 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.3517, allocations: 1.204 MB / 446.9 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004667/0.3522, allocations: 487 kB / 447.4 MB, free: 5.43 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.002034/0.3542, allocations: 0.8338 MB / 448.2 MB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.3546, allocations: 291.7 kB / 448.5 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.3551, allocations: 0.5144 MB / 449 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/0.3551, allocations: 55.03 kB / 449.1 MB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.3552, allocations: 4 kB / 449.1 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.3552, allocations: 11.91 kB / 449.1 MB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007297/0.3625, allocations: 5.505 MB / 454.6 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.3625, allocations: 19.94 kB / 454.6 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/0.3634, allocations: 391.6 kB / 455 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.3638, allocations: 453 kB / 455.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/0.3638, allocations: 24 kB / 455.5 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.3639, allocations: 54.25 kB / 455.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-05/0.3639, allocations: 35.86 kB / 455.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.364, allocations: 19.94 kB / 455.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3659, allocations: 1.852 MB / 457.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.3661, allocations: 48 kB / 457.5 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.3667, allocations: 54.09 kB / 457.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.3669, allocations: 181.8 kB / 457.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.3671, allocations: 79.56 kB / 457.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001213/0.3683, allocations: 1.494 MB / 459.3 MB, free: 9.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3683, allocations: 4 kB / 459.3 MB, free: 9.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004619/0.3729, allocations: 2.068 MB / 461.4 MB, free: 7.797 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.0003954/0.3733, allocations: 191.9 kB / 461.5 MB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.3775, allocations: 3.57 MB / 465.1 MB, free: 4.168 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002184/0.3778, allocations: 144.4 kB / 465.3 MB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.3785, allocations: 0.6821 MB / 465.9 MB, free: 3.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.3799, allocations: 0.7213 MB / 466.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.398, allocations: 13.65 MB / 480.3 MB, free: 4.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.3999, allocations: 2.137 MB / 482.4 MB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001987/0.4019, allocations: 0.7714 MB / 483.2 MB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.4029, allocations: 0.7035 MB / 483.9 MB, free: 1.125 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4029, allocations: 0 / 483.9 MB, free: 1.125 MB / 426.7 MB Notification: Performance of Templates: time 0.2067/0.6096, allocations: 33.27 MB / 0.5051 GB, free: 126.9 MB / 442.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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.228253445588052]