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.001045/0.001045, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001991/0.001991, allocations: 169 kB / 24.24 MB, free: 316 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.9145/0.9145, allocations: 158.6 MB / 186 MB, free: 2.938 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.1394/0.1394, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.552e-06/1.552e-06, allocations: 0 / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.728e-05, allocations: 2.312 kB / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01253/0.01256, allocations: 16.28 MB / 364 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009243/0.0218, allocations: 3.809 MB / 367.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.02489, allocations: 107.6 kB / 367.9 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.02899, allocations: 2.308 MB / 370.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.03533, allocations: 2.695 MB / 372.9 MB, free: 448 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.03614, allocations: 335.3 kB / 373.2 MB, free: 112 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008472/0.04461, allocations: 6.469 MB / 379.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004954/0.04956, allocations: 3.215 MB / 382.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/0.05507, allocations: 3.133 MB / 386 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004467/0.05954, allocations: 2.949 MB / 389 MB, free: 276 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.06092, allocations: 388 kB / 389.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.06295, allocations: 0.8309 MB / 390.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.06558, allocations: 2.979 MB / 393.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.06816, allocations: 1.693 MB / 394.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00909/0.07725, allocations: 6.667 MB / 401.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.07725, allocations: 0 / 401.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.07725, allocations: 0 / 401.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004696/0.07772, allocations: 0 / 401.5 MB, free: 3.676 MB / 330.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.01203/0.08976, allocations: 7.841 MB / 409.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.0898, allocations: 12.03 kB / 409.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.1056, allocations: 6.821 MB / 416.2 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.1108, allocations: 3.075 MB / 419.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.1111, allocations: 324.3 kB / 419.6 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.1123, allocations: 416 kB / 420 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0281/0.1404, allocations: 9.39 MB / 429.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.1405, allocations: 35.69 kB / 429.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009509/0.1415, allocations: 199.7 kB / 429.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005061/0.1466, allocations: 4.746 MB / 434.4 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.1662, allocations: 5.677 MB / 440.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2375/0.4038, allocations: 60.18 MB / 0.4885 GB, free: 30.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008202/0.412, allocations: 3.493 MB / 0.4919 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.4136, allocations: 0.7499 MB / 0.4927 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/0.426, allocations: 7.331 MB / 0.4998 GB, free: 28.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4261, allocations: 53.98 kB / 0.4999 GB, free: 28.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 8.776e-06/0.4261, allocations: 0 / 0.4999 GB, free: 28.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.009326/0.4354, allocations: 4.214 MB / 0.504 GB, free: 27.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.4355, allocations: 101.5 kB / 0.5041 GB, free: 27.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/0.4413, allocations: 4.993 MB / 0.509 GB, free: 23.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006438/0.442, allocations: 61.53 kB / 0.509 GB, free: 23.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003182/0.4452, allocations: 5.548 MB / 0.5144 GB, free: 18.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/0.4467, allocations: 1.304 MB / 0.5157 GB, free: 17.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/0.4486, allocations: 2.098 MB / 0.5178 GB, free: 15.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.4486, allocations: 476.8 kB / 0.5182 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.4501, allocations: 1.002 MB / 0.5192 GB, free: 13.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/0.454, allocations: 9.066 MB / 0.528 GB, free: 1.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.4645, allocations: 11.12 MB / 0.5389 GB, free: 3.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002326/0.4647, allocations: 56 kB / 0.539 GB, free: 2.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01581/0.4805, allocations: 7.75 MB / 0.5465 GB, free: 11.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.4807, allocations: 88 kB / 0.5466 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002939/0.481, allocations: 192 kB / 0.5468 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.4812, allocations: 252 kB / 0.547 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006736/0.488, allocations: 2.07 MB / 0.5491 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003882/0.4884, allocations: 374.5 kB / 0.5494 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006378/0.4947, allocations: 1.287 MB / 0.5507 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/0.4964, allocations: 0.5531 MB / 0.5512 GB, free: 6.852 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.003371/0.4997, allocations: 0.8738 MB / 0.5521 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007177/0.5004, allocations: 0.5164 MB / 0.5526 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.5011, allocations: 0.5066 MB / 0.5531 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.906e-05/0.5011, allocations: 59.89 kB / 0.5531 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/0.5012, allocations: 7.312 kB / 0.5531 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.5012, allocations: 17.38 kB / 0.5531 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.515, allocations: 8.662 MB / 0.5616 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.515, allocations: 12 kB / 0.5616 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.5162, allocations: 423.3 kB / 0.562 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/0.5162, allocations: 20 kB / 0.562 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.5163, allocations: 67.75 kB / 0.5621 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.032e-05/0.5163, allocations: 27.94 kB / 0.5621 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/0.5163, allocations: 27.88 kB / 0.5621 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.5201, allocations: 2.663 MB / 0.5648 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.5209, allocations: 464.2 kB / 0.5652 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/0.5213, allocations: 52 kB / 0.5652 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.5223, allocations: 127 kB / 0.5654 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.5225, allocations: 184.7 kB / 0.5655 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.5227, allocations: 101.2 kB / 0.5656 GB, free: 7.473 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00292/0.5256, allocations: 1.977 MB / 0.5676 GB, free: 5.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5256, allocations: 0 / 0.5676 GB, free: 5.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007277/0.5329, allocations: 2.068 MB / 0.5696 GB, free: 3.434 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.0007257/0.5336, allocations: 207.3 kB / 0.5698 GB, free: 3.227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007785/0.5414, allocations: 4.238 MB / 0.5739 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.5414, allocations: 4 kB / 0.5739 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.5429, allocations: 0.8717 MB / 0.5748 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.5451, allocations: 442.9 kB / 0.5752 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.5671, allocations: 13.05 MB / 0.5879 GB, free: 304 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.5702, allocations: 2.168 MB / 0.5901 GB, free: 14.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005584/0.5758, allocations: 2.911 MB / 0.5929 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000861/0.5766, allocations: 344.5 kB / 0.5932 GB, free: 10.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.394e-06/0.5766, allocations: 4 kB / 0.5932 GB, free: 10.84 MB / 458.7 MB Notification: Performance of Templates: time 0.2391/0.8157, allocations: 29.03 MB / 0.6216 GB, free: 156.2 MB / 474.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.818862365093082]