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.0009244/0.0009244, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.001012/0.001012, allocations: 161 kB / 24.56 MB, free: 8 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.9521/0.9521, allocations: 177.1 MB / 205 MB, free: 5.59 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.2587/0.2587, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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 1.823e-06/1.823e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.028e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01315/0.01318, allocations: 16.21 MB / 394.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007288/0.02046, allocations: 3.894 MB / 398.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.02252, allocations: 111.6 kB / 398.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.02564, allocations: 2.327 MB / 400.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.03122, allocations: 2.676 MB / 403.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.03201, allocations: 335.3 kB / 403.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007509/0.03952, allocations: 6.655 MB / 410.2 MB, free: 2.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004283/0.0438, allocations: 3.208 MB / 413.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004814/0.04862, allocations: 3.106 MB / 416.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003978/0.0526, allocations: 2.93 MB / 419.5 MB, free: 9.035 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.05398, allocations: 399.9 kB / 419.9 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.05576, allocations: 0.8388 MB / 420.7 MB, free: 7.805 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002561/0.05832, allocations: 2.905 MB / 423.6 MB, free: 4.891 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.06074, allocations: 1.654 MB / 425.3 MB, free: 3.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007332/0.06808, allocations: 6.574 MB / 431.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.06808, allocations: 4 kB / 431.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.06808, allocations: 0 / 431.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003766/0.06846, allocations: 0 / 431.8 MB, free: 12.62 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.009954/0.07842, allocations: 7.76 MB / 439.6 MB, free: 4.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.07846, allocations: 8.031 kB / 439.6 MB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1652/0.2437, allocations: 6.828 MB / 446.4 MB, free: 92.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/0.2484, allocations: 3.166 MB / 449.6 MB, free: 92.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.2486, allocations: 319.6 kB / 449.9 MB, free: 92.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008572/0.2494, allocations: 415.8 kB / 450.3 MB, free: 92.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.2627, allocations: 9.393 MB / 459.7 MB, free: 89.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.217e-05/0.2628, allocations: 36.22 kB / 459.7 MB, free: 89.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.2632, allocations: 202.3 kB / 459.9 MB, free: 89.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003755/0.267, allocations: 4.754 MB / 464.7 MB, free: 88.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.28, allocations: 5.68 MB / 470.4 MB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05217/0.3322, allocations: 60.17 MB / 0.5181 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007183/0.3394, allocations: 3.497 MB / 0.5215 GB, free: 35.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.3406, allocations: 0.7543 MB / 0.5223 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009809/0.3504, allocations: 7.326 MB / 0.5294 GB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.3505, allocations: 63.39 kB / 0.5295 GB, free: 27.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 6.502e-06/0.3505, allocations: 0 / 0.5295 GB, free: 27.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.008358/0.3588, allocations: 4.195 MB / 0.5336 GB, free: 23.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3589, allocations: 107.1 kB / 0.5337 GB, free: 23.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004492/0.3634, allocations: 4.931 MB / 0.5385 GB, free: 18.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.3636, allocations: 60.75 kB / 0.5386 GB, free: 18.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.3657, allocations: 5.55 MB / 0.544 GB, free: 13.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008272/0.3665, allocations: 1.307 MB / 0.5452 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.368, allocations: 2.09 MB / 0.5473 GB, free: 9.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.368, allocations: 480.7 kB / 0.5477 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.3695, allocations: 0.9981 MB / 0.5487 GB, free: 8.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.3738, allocations: 9.068 MB / 0.5576 GB, free: 11.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.3843, allocations: 11.12 MB / 0.5684 GB, free: 12.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002379/0.3846, allocations: 59.94 kB / 0.5685 GB, free: 12.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01498/0.3996, allocations: 7.744 MB / 0.5761 GB, free: 4.938 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.3997, allocations: 92 kB / 0.5761 GB, free: 4.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/0.3999, allocations: 192 kB / 0.5763 GB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.4001, allocations: 252 kB / 0.5766 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004715/0.4048, allocations: 2.074 MB / 0.5786 GB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002508/0.4051, allocations: 374.5 kB / 0.579 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/0.4103, allocations: 1.284 MB / 0.5802 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/0.4122, allocations: 0.5508 MB / 0.5807 GB, free: 128 kB / 442.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.002938/0.4152, allocations: 0.8785 MB / 0.5816 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006562/0.4158, allocations: 0.5203 MB / 0.5821 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.4164, allocations: 0.5144 MB / 0.5826 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.128e-05/0.4164, allocations: 48 kB / 0.5827 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/0.4164, allocations: 4 kB / 0.5827 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.4165, allocations: 11.95 kB / 0.5827 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.4286, allocations: 8.649 MB / 0.5911 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.4286, allocations: 12 kB / 0.5911 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4296, allocations: 427.3 kB / 0.5915 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.559e-05/0.4297, allocations: 23.94 kB / 0.5916 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.4298, allocations: 59.98 kB / 0.5916 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.652e-05/0.4298, allocations: 31.25 kB / 0.5916 GB, free: 4.582 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/0.4298, allocations: 23.86 kB / 0.5917 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.4331, allocations: 2.661 MB / 0.5943 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/0.4337, allocations: 456.2 kB / 0.5947 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.434, allocations: 60 kB / 0.5948 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.4348, allocations: 123.8 kB / 0.5949 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.4351, allocations: 188.7 kB / 0.5951 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.4352, allocations: 95.98 kB / 0.5952 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002608/0.4378, allocations: 1.973 MB / 0.5971 GB, free: 14.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4378, allocations: 0 / 0.5971 GB, free: 14.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005616/0.4434, allocations: 2.032 MB / 0.5991 GB, free: 12.68 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.0004131/0.4438, allocations: 202.6 kB / 0.5993 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005844/0.4497, allocations: 4.227 MB / 0.6034 GB, free: 8.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.4497, allocations: 4 kB / 0.6034 GB, free: 8.266 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.4507, allocations: 0.8826 MB / 0.6042 GB, free: 7.383 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.4522, allocations: 435 kB / 0.6047 GB, free: 6.969 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1491/0.6013, allocations: 13.04 MB / 0.6174 GB, free: 134 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/0.6031, allocations: 2.164 MB / 0.6195 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003837/0.6069, allocations: 2.907 MB / 0.6224 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/0.6075, allocations: 354.5 kB / 0.6227 GB, free: 133.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.744e-06/0.6075, allocations: 0 / 0.6227 GB, free: 133.6 MB / 474.7 MB Notification: Performance of Templates: time 0.05316/0.6607, allocations: 30.16 MB / 0.6521 GB, free: 126.9 MB / 474.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: 4.6735376175493]