Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.0009359/0.0009359, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0008892/0.0008892, allocations: 161 kB / 24.56 MB, free: 12 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.9542/0.9542, allocations: 177.1 MB / 205 MB, free: 5.633 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.2887/0.2887, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.5e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009269/0.009304, allocations: 9.946 MB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005664/0.01497, allocations: 3.732 MB / 391.7 MB, free: 4.914 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008841/0.01585, allocations: 63.69 kB / 391.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.01824, allocations: 2.09 MB / 393.9 MB, free: 2.754 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.02073, allocations: 1.738 MB / 395.6 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.02168, allocations: 0.6664 MB / 396.3 MB, free: 348 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003054/0.02474, allocations: 3.751 MB / 400 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.02697, allocations: 2.458 MB / 402.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.02877, allocations: 1.902 MB / 404.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.03059, allocations: 1.859 MB / 406.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004252/0.03101, allocations: 260 kB / 406.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.03215, allocations: 0.975 MB / 407.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009575/0.0331, allocations: 1.683 MB / 409.2 MB, free: 3.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007964/0.0339, allocations: 1.036 MB / 410.2 MB, free: 2.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.03678, allocations: 3.81 MB / 414 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.03678, allocations: 0 / 414 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03679, allocations: 0 / 414 MB, free: 14.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.67e-05/0.03684, allocations: 0 / 414 MB, free: 14.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.004211/0.04105, allocations: 4.383 MB / 418.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.04109, allocations: 8.031 kB / 418.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.04463, allocations: 2.191 MB / 420.6 MB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.04653, allocations: 1.726 MB / 422.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/0.04662, allocations: 193.2 kB / 422.5 MB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.04691, allocations: 260.2 kB / 422.8 MB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/0.05225, allocations: 5.294 MB / 428 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.0523, allocations: 43.64 kB / 428.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.05258, allocations: 127.9 kB / 428.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001561/0.05414, allocations: 1.695 MB / 429.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00457/0.05871, allocations: 2.764 MB / 432.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1823/0.241, allocations: 38.6 MB / 471.3 MB, free: 60.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004249/0.2452, allocations: 1.63 MB / 472.9 MB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.2459, allocations: 497.3 kB / 473.4 MB, free: 60 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003703/0.2496, allocations: 3.147 MB / 476.5 MB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2497, allocations: 50.52 kB / 476.6 MB, free: 58.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.016e-06/0.2497, allocations: 0 / 476.6 MB, free: 58.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01724/0.2669, allocations: 8.493 MB / 485.1 MB, free: 55.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2669, allocations: 172.1 kB / 485.2 MB, free: 55.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.27, allocations: 3.182 MB / 488.4 MB, free: 54.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.27, allocations: 44.05 kB / 488.5 MB, free: 54.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.2712, allocations: 3.012 MB / 491.5 MB, free: 52.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.2716, allocations: 0.5591 MB / 492 MB, free: 51.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.2726, allocations: 1.168 MB / 493.2 MB, free: 51.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.2727, allocations: 476.8 kB / 493.7 MB, free: 50.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.2737, allocations: 0.5515 MB / 494.2 MB, free: 50.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.2762, allocations: 5.654 MB / 499.9 MB, free: 43.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.28, allocations: 6.823 MB / 0.4948 GB, free: 36.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.987e-05/0.2801, allocations: 37.59 kB / 0.4949 GB, free: 36.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.005548/0.2856, allocations: 4.663 MB / 0.4994 GB, free: 34.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.2857, allocations: 56.22 kB / 0.4995 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/0.2858, allocations: 121.9 kB / 0.4996 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.2864, allocations: 340.4 kB / 0.4999 GB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.2885, allocations: 1.244 MB / 0.5011 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.2898, allocations: 2.436 MB / 0.5035 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.2917, allocations: 324.7 kB / 0.5038 GB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.2919, allocations: 328.9 kB / 0.5041 GB, free: 31.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008451/0.2928, allocations: 0.6143 MB / 0.5047 GB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.2931, allocations: 319.5 kB / 0.505 GB, free: 31.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.2949, allocations: 1.312 MB / 0.5063 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.2949, allocations: 16.22 kB / 0.5063 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2949, allocations: 5.75 kB / 0.5063 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.2949, allocations: 3.469 kB / 0.5063 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005112/0.3, allocations: 4.212 MB / 0.5104 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3, allocations: 0 / 0.5104 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.3004, allocations: 177 kB / 0.5106 GB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.3015, allocations: 445 kB / 0.511 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.3015, allocations: 19.98 kB / 0.5111 GB, free: 29.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.3037, allocations: 2.918 MB / 0.5139 GB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3037, allocations: 3.906 kB / 0.5139 GB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.3064, allocations: 2.279 MB / 0.5161 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.3066, allocations: 275.8 kB / 0.5164 GB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.3068, allocations: 22.75 kB / 0.5164 GB, free: 25.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.3074, allocations: 97.08 kB / 0.5165 GB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3075, allocations: 76.31 kB / 0.5166 GB, free: 25.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.3075, allocations: 33.92 kB / 0.5166 GB, free: 25.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001373/0.3089, allocations: 1.35 MB / 0.5179 GB, free: 25.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3089, allocations: 0 / 0.5179 GB, free: 25.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002299/0.3112, allocations: 0.8716 MB / 0.5188 GB, free: 24.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002828/0.3115, allocations: 172 kB / 0.519 GB, free: 24.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002802/0.3143, allocations: 2.561 MB / 0.5215 GB, free: 22.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3143, allocations: 0 / 0.5215 GB, free: 22.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.3149, allocations: 0.6139 MB / 0.5221 GB, free: 21.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3159, allocations: 350.6 kB / 0.5224 GB, free: 21.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.3215, allocations: 5.949 MB / 0.5282 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.3222, allocations: 1.013 MB / 0.5292 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001655/0.3238, allocations: 1.392 MB / 0.5305 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.3242, allocations: 199.7 kB / 0.5307 GB, free: 14.14 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3242, allocations: 0 / 0.5307 GB, free: 14.14 MB / 410.7 MB Notification: Performance of Templates: time 0.03876/0.3629, allocations: 25.82 MB / 0.556 GB, free: 6.438 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.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.277288976125419]