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.001323/0.001323, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.00125/0.00125, allocations: 169.3 kB / 24.14 MB, free: 356 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.8134/0.8134, allocations: 158.6 MB / 186 MB, free: 2.758 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.1355/0.1355, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.433e-06/1.433e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.275e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.1579/0.1579, allocations: 15.89 MB / 315 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009968/0.1678, allocations: 3.98 MB / 319 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.1715, allocations: 118.2 kB / 319.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004688/0.1762, allocations: 2.313 MB / 321.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007217/0.1834, allocations: 2.695 MB / 324.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.1844, allocations: 345.6 kB / 324.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007372/0.1918, allocations: 6.296 MB / 330.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004936/0.1967, allocations: 3.324 MB / 334 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006418/0.2031, allocations: 3.145 MB / 337.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004029/0.2071, allocations: 2.797 MB / 340 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.2086, allocations: 392 kB / 340.4 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.2112, allocations: 0.8155 MB / 341.2 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.2144, allocations: 2.979 MB / 344.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003486/0.2178, allocations: 1.697 MB / 345.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00889/0.2267, allocations: 6.674 MB / 352.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2267, allocations: 0 / 352.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2267, allocations: 0 / 352.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004451/0.2272, allocations: 0 / 352.5 MB, free: 8.59 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.01011/0.2373, allocations: 6.657 MB / 359.2 MB, free: 1.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2373, allocations: 8.031 kB / 359.2 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008656/0.246, allocations: 2.517 MB / 361.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/0.2514, allocations: 2.533 MB / 364.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.2517, allocations: 324.3 kB / 364.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.253, allocations: 416 kB / 365 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.27, allocations: 8.011 MB / 373 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.2701, allocations: 35.62 kB / 373 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007339/0.2708, allocations: 203.7 kB / 373.2 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005574/0.2764, allocations: 4.165 MB / 377.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.2913, allocations: 4.713 MB / 382.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05734/0.3486, allocations: 44.55 MB / 426.7 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007588/0.3562, allocations: 3.276 MB / 429.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.3574, allocations: 0.5513 MB / 430.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/0.3699, allocations: 6.466 MB / 436.9 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.37, allocations: 56.56 kB / 437 MB, free: 1.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=321): time 9.217e-06/0.37, allocations: 0 / 437 MB, free: 1.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=321): time 0.007489/0.3775, allocations: 3.448 MB / 440.4 MB, free: 14.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.3775, allocations: 99.11 kB / 440.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/0.3825, allocations: 3.826 MB / 444.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000482/0.383, allocations: 65.69 kB / 444.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/0.3864, allocations: 5.099 MB / 449.5 MB, free: 4.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.3879, allocations: 1.228 MB / 450.8 MB, free: 3.684 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/0.3896, allocations: 1.752 MB / 452.5 MB, free: 1.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.3897, allocations: 301.1 kB / 452.8 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.391, allocations: 1.031 MB / 453.8 MB, free: 0.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1747/0.5657, allocations: 6.183 MB / 460 MB, free: 113.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.5758, allocations: 8.299 MB / 468.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004368/0.5763, allocations: 57.31 kB / 468.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01639/0.5927, allocations: 6.004 MB / 474.4 MB, free: 104.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.5928, allocations: 89.81 kB / 474.5 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002705/0.5931, allocations: 189.2 kB / 474.7 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.5933, allocations: 252.7 kB / 474.9 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005432/0.5988, allocations: 1.999 MB / 476.9 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003119/0.5991, allocations: 372.2 kB / 477.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007233/0.6063, allocations: 1.199 MB / 478.5 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001861/0.6082, allocations: 491.1 kB / 478.9 MB, free: 104.4 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.003802/0.612, allocations: 0.8308 MB / 479.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005687/0.6126, allocations: 298.3 kB / 480.1 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.6131, allocations: 0.5048 MB / 480.6 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.936e-05/0.6132, allocations: 55.56 kB / 480.6 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.6132, allocations: 7.594 kB / 480.6 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.6132, allocations: 15.52 kB / 480.6 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009379/0.6226, allocations: 5.526 MB / 486.2 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.6226, allocations: 21.31 kB / 486.2 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/0.6235, allocations: 343.8 kB / 486.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.287e-05/0.6235, allocations: 24.77 kB / 486.6 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.6236, allocations: 63.05 kB / 486.6 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/0.6237, allocations: 31.14 kB / 486.6 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.6237, allocations: 19.94 kB / 486.7 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.6257, allocations: 1.852 MB / 488.5 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/0.6264, allocations: 450.8 kB / 489 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/0.6267, allocations: 59.52 kB / 489 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/0.6275, allocations: 51.41 kB / 489.1 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.6277, allocations: 178.9 kB / 489.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.6278, allocations: 81.98 kB / 489.3 MB, free: 101.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.6293, allocations: 1.498 MB / 490.8 MB, free: 100 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6293, allocations: 0 / 490.8 MB, free: 100 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00861/0.6379, allocations: 2.065 MB / 492.9 MB, free: 98.19 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.0009708/0.6389, allocations: 184.6 kB / 493.1 MB, free: 98.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008134/0.647, allocations: 3.572 MB / 496.6 MB, free: 94.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004913/0.6475, allocations: 120.4 kB / 496.8 MB, free: 94.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.6487, allocations: 0.6792 MB / 497.4 MB, free: 94.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.6514, allocations: 446 kB / 497.9 MB, free: 93.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/0.6716, allocations: 13.32 MB / 0.4992 GB, free: 81.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/0.6744, allocations: 2.14 MB / 0.5013 GB, free: 78.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002586/0.677, allocations: 0.7714 MB / 0.502 GB, free: 78.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.678, allocations: 0.6985 MB / 0.5027 GB, free: 77.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.584e-06/0.678, allocations: 0 / 0.5027 GB, free: 77.45 MB / 410.7 MB Notification: Performance of Templates: time 0.05942/0.7374, allocations: 32.84 MB / 0.5348 GB, free: 44.72 MB / 410.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 -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.348388897255063]