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.001593/0.001593, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001745/0.001745, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 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 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2727/0.2727, allocations: 32.81 MB / 294.6 MB, free: 1.281 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.393e-06/1.393e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.586e-05, allocations: 6.312 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01204/0.01206, allocations: 16.15 MB / 392.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.01933, allocations: 3.886 MB / 396 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.02178, allocations: 115.6 kB / 396.1 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00352/0.0253, allocations: 2.315 MB / 398.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.03039, allocations: 2.664 MB / 401.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.0312, allocations: 347.2 kB / 401.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007543/0.03874, allocations: 6.655 MB / 408.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004678/0.04342, allocations: 3.204 MB / 411.3 MB, free: 1.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.04858, allocations: 3.102 MB / 414.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004485/0.05306, allocations: 2.934 MB / 417.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.0543, allocations: 392 kB / 417.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.05612, allocations: 0.8349 MB / 418.6 MB, free: 10.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002691/0.05881, allocations: 2.905 MB / 421.5 MB, free: 7.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003215/0.06203, allocations: 1.657 MB / 423.1 MB, free: 5.656 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008638/0.07066, allocations: 6.57 MB / 429.7 MB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.07067, allocations: 4 kB / 429.7 MB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.07068, allocations: 0 / 429.7 MB, free: 15.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002841/0.07096, allocations: 0 / 429.7 MB, free: 15.05 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.01083/0.08179, allocations: 7.764 MB / 437.5 MB, free: 7.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.08184, allocations: 8.031 kB / 437.5 MB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/0.0992, allocations: 6.829 MB / 444.3 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1681/0.2673, allocations: 3.065 MB / 447.4 MB, free: 74.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.2675, allocations: 323.1 kB / 447.7 MB, free: 74.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009539/0.2684, allocations: 416.8 kB / 448.1 MB, free: 74.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.2815, allocations: 9.388 MB / 457.5 MB, free: 71.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.2816, allocations: 34.41 kB / 457.5 MB, free: 71.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000544/0.2821, allocations: 204.9 kB / 457.7 MB, free: 71.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/0.2864, allocations: 4.743 MB / 462.5 MB, free: 71.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/0.3024, allocations: 5.679 MB / 468.1 MB, free: 71.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.063/0.3654, allocations: 60.18 MB / 0.5159 GB, free: 28.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008704/0.3741, allocations: 3.501 MB / 0.5194 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.3757, allocations: 0.7513 MB / 0.5201 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/0.3867, allocations: 7.314 MB / 0.5272 GB, free: 19.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.3868, allocations: 66.64 kB / 0.5273 GB, free: 19.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 7.403e-06/0.3868, allocations: 0 / 0.5273 GB, free: 19.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.009083/0.3959, allocations: 4.206 MB / 0.5314 GB, free: 16.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.3959, allocations: 105.1 kB / 0.5315 GB, free: 15.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005253/0.4012, allocations: 4.931 MB / 0.5363 GB, free: 11.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.4013, allocations: 62.55 kB / 0.5364 GB, free: 11.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002173/0.4035, allocations: 5.54 MB / 0.5418 GB, free: 6.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009446/0.4045, allocations: 1.311 MB / 0.5431 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/0.4061, allocations: 2.095 MB / 0.5451 GB, free: 3.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.4061, allocations: 476.8 kB / 0.5456 GB, free: 2.695 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.408, allocations: 0.9981 MB / 0.5465 GB, free: 1.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00707/0.415, allocations: 9.072 MB / 0.5554 GB, free: 5.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.4267, allocations: 11.12 MB / 0.5663 GB, free: 6.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002866/0.427, allocations: 52 kB / 0.5663 GB, free: 6.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01762/0.4446, allocations: 7.751 MB / 0.5739 GB, free: 14.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.4448, allocations: 90.34 kB / 0.574 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002451/0.445, allocations: 188 kB / 0.5742 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.4455, allocations: 256.8 kB / 0.5744 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006127/0.4517, allocations: 2.078 MB / 0.5764 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/0.452, allocations: 374.6 kB / 0.5768 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005745/0.4578, allocations: 1.29 MB / 0.578 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/0.4588, allocations: 0.5491 MB / 0.5786 GB, free: 9.742 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.002877/0.4617, allocations: 0.8752 MB / 0.5794 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/0.4624, allocations: 0.5148 MB / 0.5799 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007715/0.4632, allocations: 0.5144 MB / 0.5804 GB, free: 7.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.317e-05/0.4633, allocations: 58.89 kB / 0.5805 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.4633, allocations: 0 / 0.5805 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.4633, allocations: 11.95 kB / 0.5805 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.479, allocations: 8.631 MB / 0.5889 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/0.4791, allocations: 16.75 kB / 0.589 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.4801, allocations: 427.5 kB / 0.5894 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.323e-05/0.4802, allocations: 27.94 kB / 0.5894 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.4803, allocations: 58.03 kB / 0.5894 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.08e-05/0.4803, allocations: 31.86 kB / 0.5895 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.4803, allocations: 20.69 kB / 0.5895 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.4835, allocations: 2.664 MB / 0.5921 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/0.4843, allocations: 456.2 kB / 0.5925 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.4846, allocations: 62.94 kB / 0.5926 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008443/0.4854, allocations: 132 kB / 0.5927 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.4857, allocations: 184.7 kB / 0.5929 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.4858, allocations: 102.6 kB / 0.593 GB, free: 10.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002721/0.4886, allocations: 1.969 MB / 0.5949 GB, free: 8.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4886, allocations: 0 / 0.5949 GB, free: 8.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006295/0.4949, allocations: 2.039 MB / 0.5969 GB, free: 6.395 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.0005216/0.4954, allocations: 194 kB / 0.5971 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007502/0.5029, allocations: 4.232 MB / 0.6012 GB, free: 2.004 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.5029, allocations: 4.5 kB / 0.6012 GB, free: 2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.5043, allocations: 0.8811 MB / 0.6021 GB, free: 1.121 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.507, allocations: 436.3 kB / 0.6025 GB, free: 0.707 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1599/0.667, allocations: 13.04 MB / 0.6152 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/0.6693, allocations: 2.165 MB / 0.6174 GB, free: 118.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004439/0.6737, allocations: 2.904 MB / 0.6202 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/0.6744, allocations: 354.3 kB / 0.6205 GB, free: 118.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/0.6744, allocations: 0 / 0.6205 GB, free: 118.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05586/0.7303, allocations: 29.06 MB / 0.6489 GB, free: 113.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: 4.821745762834325]