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.001182/0.001182, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001326/0.001326, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9469/0.9469, allocations: 177.2 MB / 205 MB, free: 5.305 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.2792/0.2792, allocations: 32.8 MB / 294.3 MB, free: 1.234 MB / 266.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 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.152e-05, allocations: 6.25 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01266/0.01269, allocations: 16.21 MB / 392.2 MB, free: 4.406 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009305/0.02199, allocations: 3.89 MB / 396.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.02541, allocations: 115.6 kB / 396.2 MB, free: 400 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003593/0.029, allocations: 2.319 MB / 398.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.03538, allocations: 2.687 MB / 401.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.03656, allocations: 343.2 kB / 401.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009067/0.04562, allocations: 6.643 MB / 408.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.05104, allocations: 3.2 MB / 411.4 MB, free: 1.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006151/0.05719, allocations: 3.114 MB / 414.5 MB, free: 14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.06135, allocations: 2.93 MB / 417.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001732/0.06308, allocations: 392 kB / 417.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.06524, allocations: 0.8387 MB / 418.7 MB, free: 9.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003648/0.06889, allocations: 2.909 MB / 421.6 MB, free: 6.922 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.07253, allocations: 1.657 MB / 423.2 MB, free: 5.258 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.0828, allocations: 6.577 MB / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.08281, allocations: 0 / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.08281, allocations: 0 / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005447/0.08336, allocations: 4 kB / 429.8 MB, free: 14.65 MB / 410.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.01167/0.09503, allocations: 7.756 MB / 437.6 MB, free: 6.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.09508, allocations: 16.03 kB / 437.6 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2013/0.2964, allocations: 6.824 MB / 444.4 MB, free: 74.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005868/0.3023, allocations: 3.159 MB / 447.6 MB, free: 74.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.3026, allocations: 329.3 kB / 447.9 MB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.3041, allocations: 414.2 kB / 448.3 MB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.3219, allocations: 9.389 MB / 457.7 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.3221, allocations: 39.03 kB / 457.7 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.3231, allocations: 206.4 kB / 457.9 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004874/0.328, allocations: 4.745 MB / 462.7 MB, free: 71.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.3459, allocations: 5.683 MB / 468.4 MB, free: 71.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06425/0.4102, allocations: 60.18 MB / 0.5162 GB, free: 28.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008027/0.4182, allocations: 3.488 MB / 0.5196 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4196, allocations: 0.7547 MB / 0.5203 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/0.4306, allocations: 7.322 MB / 0.5274 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/0.4307, allocations: 59.39 kB / 0.5275 GB, free: 19.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 9.989e-06/0.4307, allocations: 4 kB / 0.5275 GB, free: 19.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.009571/0.4403, allocations: 4.205 MB / 0.5316 GB, free: 15.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.4403, allocations: 103.1 kB / 0.5317 GB, free: 15.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006164/0.4465, allocations: 4.932 MB / 0.5365 GB, free: 11.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006408/0.4471, allocations: 65.38 kB / 0.5366 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002791/0.4499, allocations: 5.541 MB / 0.542 GB, free: 6.219 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/0.4514, allocations: 1.308 MB / 0.5433 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001653/0.453, allocations: 2.092 MB / 0.5453 GB, free: 2.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.4531, allocations: 479.2 kB / 0.5458 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.4546, allocations: 0.9981 MB / 0.5468 GB, free: 1.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005951/0.4605, allocations: 9.068 MB / 0.5556 GB, free: 4.715 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/0.4727, allocations: 11.12 MB / 0.5665 GB, free: 6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000313/0.4731, allocations: 56 kB / 0.5665 GB, free: 5.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01733/0.4904, allocations: 7.749 MB / 0.5741 GB, free: 14.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.4905, allocations: 88 kB / 0.5742 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002236/0.4907, allocations: 188 kB / 0.5744 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.4909, allocations: 256 kB / 0.5746 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/0.4957, allocations: 2.078 MB / 0.5766 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002473/0.496, allocations: 372.3 kB / 0.577 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005306/0.5013, allocations: 1.286 MB / 0.5782 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/0.5026, allocations: 0.5524 MB / 0.5788 GB, free: 9.418 MB / 458.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.002904/0.5055, allocations: 0.885 MB / 0.5796 GB, free: 8.523 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/0.5062, allocations: 0.5126 MB / 0.5801 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.5067, allocations: 0.5105 MB / 0.5806 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.447e-05/0.5068, allocations: 55.81 kB / 0.5807 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/0.5068, allocations: 0 / 0.5807 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5068, allocations: 11.97 kB / 0.5807 GB, free: 7.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/0.5242, allocations: 8.639 MB / 0.5891 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.5242, allocations: 16 kB / 0.5892 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.5254, allocations: 423.3 kB / 0.5896 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/0.5254, allocations: 25.2 kB / 0.5896 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.5255, allocations: 59.05 kB / 0.5896 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/0.5255, allocations: 32.48 kB / 0.5897 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.5256, allocations: 23.94 kB / 0.5897 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/0.5291, allocations: 2.664 MB / 0.5923 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/0.5299, allocations: 460.2 kB / 0.5927 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.5302, allocations: 62.48 kB / 0.5928 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.531, allocations: 122.5 kB / 0.5929 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.5312, allocations: 188.7 kB / 0.5931 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.5314, allocations: 97.16 kB / 0.5932 GB, free: 10.06 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002541/0.5339, allocations: 1.969 MB / 0.5951 GB, free: 8.098 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5339, allocations: 2.297 kB / 0.5951 GB, free: 8.098 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006194/0.5401, allocations: 2.038 MB / 0.5971 GB, free: 6.066 MB / 474.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.0005732/0.5407, allocations: 201.3 kB / 0.5973 GB, free: 5.859 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008021/0.5487, allocations: 4.219 MB / 0.6014 GB, free: 1.676 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.787e-05/0.5487, allocations: 5.938 kB / 0.6014 GB, free: 1.672 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.5503, allocations: 0.8802 MB / 0.6023 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.5525, allocations: 450.6 kB / 0.6027 GB, free: 376 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1772/0.7297, allocations: 13.03 MB / 0.6154 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/0.7323, allocations: 2.169 MB / 0.6176 GB, free: 118.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004124/0.7364, allocations: 2.914 MB / 0.6204 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/0.7371, allocations: 348.7 kB / 0.6207 GB, free: 117.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.545e-06/0.7371, allocations: 0 / 0.6207 GB, free: 117.9 MB / 474.7 MB Notification: Performance of Templates: time 0.05779/0.7949, allocations: 30.15 MB / 0.6502 GB, free: 112.3 MB / 474.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 -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: 5.013898517936468]