Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001695/0.001695, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.002385/0.002385, allocations: 161 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 1.038/1.038, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3096/0.3096, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 3.984 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.142e-05, allocations: 5.828 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01317/0.0132, allocations: 16.21 MB / 394.2 MB, free: 2.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00913/0.02233, allocations: 3.886 MB / 398.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.02608, allocations: 115.6 kB / 398.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.03023, allocations: 2.323 MB / 400.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.03665, allocations: 2.672 MB / 403.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.03755, allocations: 347.3 kB / 403.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009697/0.04725, allocations: 6.651 MB / 410.2 MB, free: 2.328 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005955/0.0532, allocations: 3.2 MB / 413.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.05901, allocations: 3.106 MB / 416.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004136/0.06315, allocations: 2.934 MB / 419.5 MB, free: 9.023 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.06435, allocations: 392 kB / 419.9 MB, free: 8.641 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.06607, allocations: 0.8349 MB / 420.7 MB, free: 7.805 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.06885, allocations: 2.913 MB / 423.6 MB, free: 4.883 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.07145, allocations: 1.65 MB / 425.3 MB, free: 3.227 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008451/0.0799, allocations: 6.57 MB / 431.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.07991, allocations: 0 / 431.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.07991, allocations: 0 / 431.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003674/0.08028, allocations: 0 / 431.8 MB, free: 12.63 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.01117/0.09145, allocations: 7.76 MB / 439.6 MB, free: 4.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.0915, allocations: 8.031 kB / 439.6 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1832/0.2747, allocations: 6.833 MB / 446.4 MB, free: 74.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/0.2802, allocations: 3.069 MB / 449.5 MB, free: 73.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.2804, allocations: 321.3 kB / 449.8 MB, free: 73.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.2818, allocations: 417.4 kB / 450.2 MB, free: 73.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.2981, allocations: 9.382 MB / 459.6 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.2983, allocations: 37.53 kB / 459.6 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007148/0.299, allocations: 209.3 kB / 459.8 MB, free: 70.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004258/0.3032, allocations: 4.751 MB / 464.6 MB, free: 70.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.3204, allocations: 5.676 MB / 470.3 MB, free: 70.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06822/0.3887, allocations: 60.18 MB / 0.518 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/0.3966, allocations: 3.489 MB / 0.5214 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.3983, allocations: 0.754 MB / 0.5221 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.4096, allocations: 7.326 MB / 0.5293 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.4097, allocations: 61.17 kB / 0.5294 GB, free: 16.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 7.193e-06/0.4097, allocations: 0 / 0.5294 GB, free: 16.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.008313/0.418, allocations: 4.207 MB / 0.5335 GB, free: 13.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.418, allocations: 103.1 kB / 0.5336 GB, free: 12.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/0.4237, allocations: 4.928 MB / 0.5384 GB, free: 8.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003786/0.4241, allocations: 62.64 kB / 0.5384 GB, free: 7.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.4262, allocations: 5.548 MB / 0.5439 GB, free: 2.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.4273, allocations: 1.311 MB / 0.5451 GB, free: 1.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001982/0.4293, allocations: 2.087 MB / 0.5472 GB, free: 15.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4294, allocations: 484.7 kB / 0.5476 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.4311, allocations: 0.9998 MB / 0.5486 GB, free: 13.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005402/0.4365, allocations: 9.071 MB / 0.5575 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/0.4453, allocations: 11.12 MB / 0.5683 GB, free: 2.227 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001623/0.4455, allocations: 57.36 kB / 0.5684 GB, free: 2.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0115/0.457, allocations: 7.752 MB / 0.576 GB, free: 10.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.4571, allocations: 88 kB / 0.576 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/0.4572, allocations: 188 kB / 0.5762 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.4574, allocations: 252 kB / 0.5765 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/0.4615, allocations: 2.074 MB / 0.5785 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002348/0.4617, allocations: 378.5 kB / 0.5788 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/0.4658, allocations: 1.283 MB / 0.5801 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/0.4665, allocations: 0.5567 MB / 0.5806 GB, free: 5.641 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.002348/0.4688, allocations: 0.8821 MB / 0.5815 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/0.4694, allocations: 0.5125 MB / 0.582 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.4699, allocations: 0.5105 MB / 0.5825 GB, free: 3.719 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.79e-05/0.47, allocations: 55.05 kB / 0.5826 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/0.47, allocations: 0.875 kB / 0.5826 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.47, allocations: 15.95 kB / 0.5826 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.4822, allocations: 8.632 MB / 0.591 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.4822, allocations: 12 kB / 0.591 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4832, allocations: 423.3 kB / 0.5914 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.87e-05/0.4832, allocations: 24 kB / 0.5914 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.4833, allocations: 64.06 kB / 0.5915 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/0.4834, allocations: 31.92 kB / 0.5915 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.4834, allocations: 27.88 kB / 0.5916 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.4861, allocations: 2.657 MB / 0.5942 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.4867, allocations: 460.2 kB / 0.5946 GB, free: 6.746 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.487, allocations: 54.8 kB / 0.5946 GB, free: 6.695 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.4878, allocations: 130.5 kB / 0.5948 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.488, allocations: 180.7 kB / 0.5949 GB, free: 6.395 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.4882, allocations: 110 kB / 0.595 GB, free: 6.293 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002175/0.4903, allocations: 1.969 MB / 0.597 GB, free: 4.328 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4903, allocations: 0 / 0.597 GB, free: 4.328 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00494/0.4953, allocations: 2.031 MB / 0.599 GB, free: 2.305 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.0003927/0.4957, allocations: 204.7 kB / 0.5991 GB, free: 2.094 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006047/0.5017, allocations: 4.23 MB / 0.6033 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5017, allocations: 1.312 kB / 0.6033 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5028, allocations: 0.8816 MB / 0.6041 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.5045, allocations: 443.2 kB / 0.6046 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1549/0.6594, allocations: 13.04 MB / 0.6173 GB, free: 150.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/0.6623, allocations: 2.165 MB / 0.6194 GB, free: 150.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004506/0.6668, allocations: 2.907 MB / 0.6223 GB, free: 150.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007137/0.6676, allocations: 349.7 kB / 0.6226 GB, free: 150.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.595e-06/0.6676, allocations: 0 / 0.6226 GB, free: 150.2 MB / 490.7 MB Notification: Performance of Templates: time 0.05381/0.7214, allocations: 29.06 MB / 0.651 GB, free: 144.6 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.042473278008401]