Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001888/0.001888, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00239/0.00239, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.363e-05, allocations: 4.672 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.2162/0.2162, allocations: 6.68 MB / 449.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.2233, allocations: 3.176 MB / 452.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.2245, allocations: 37 kB / 452.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.2264, allocations: 0.8236 MB / 453.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.2302, allocations: 1.368 MB / 454.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.2317, allocations: 0.5607 MB / 455.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004168/0.2359, allocations: 2.955 MB / 458.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.2381, allocations: 1.408 MB / 459.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.2403, allocations: 1.211 MB / 460.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.2429, allocations: 1.31 MB / 462.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.2432, allocations: 141.9 kB / 462.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.2453, allocations: 0.8715 MB / 463.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.2463, allocations: 1.072 MB / 464.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008939/0.2472, allocations: 0.652 MB / 464.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005176/0.2524, allocations: 4.047 MB / 468.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2524, allocations: 0 / 468.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2524, allocations: 0 / 468.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.165e-05/0.2525, allocations: 5.375 kB / 468.9 MB, free: 7.457 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006914/0.2594, allocations: 2.956 MB / 471.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2594, allocations: 10.31 kB / 471.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/0.2659, allocations: 1.749 MB / 473.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.269, allocations: 1.27 MB / 474.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2691, allocations: 122.8 kB / 475 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/0.2695, allocations: 160.8 kB / 475.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.2798, allocations: 6.475 MB / 481.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.745e-05/0.2799, allocations: 35.7 kB / 481.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.2802, allocations: 79.89 kB / 481.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/0.283, allocations: 1.437 MB / 483.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.295, allocations: 5.735 MB / 489 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03495/0.3299, allocations: 25.33 MB / 0.5022 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/0.3345, allocations: 1.645 MB / 0.5038 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.336, allocations: 0.9554 MB / 0.5048 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.3362, allocations: 20.31 kB / 0.5048 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.3362, allocations: 47.05 kB / 0.5048 GB, free: 10.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.476e-06/0.3362, allocations: 3.938 kB / 0.5048 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01825/0.3545, allocations: 6.766 MB / 0.5115 GB, free: 3.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.3546, allocations: 141 kB / 0.5116 GB, free: 3.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/0.3587, allocations: 2.736 MB / 0.5143 GB, free: 424 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.3589, allocations: 37.7 kB / 0.5143 GB, free: 380 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.3605, allocations: 2.194 MB / 0.5164 GB, free: 14.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/0.361, allocations: 472.5 kB / 0.5169 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.3623, allocations: 0.8896 MB / 0.5178 GB, free: 12.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3625, allocations: 353.7 kB / 0.5181 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.3649, allocations: 1.43 MB / 0.5195 GB, free: 11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005191/0.3701, allocations: 4.31 MB / 0.5237 GB, free: 5.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008705/0.3788, allocations: 6.228 MB / 0.5298 GB, free: 13.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/0.3789, allocations: 28.19 kB / 0.5298 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01692/0.3958, allocations: 5.513 MB / 0.5352 GB, free: 8.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3959, allocations: 48 kB / 0.5352 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/0.3961, allocations: 100 kB / 0.5353 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.3963, allocations: 140.9 kB / 0.5355 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007302/0.4036, allocations: 1.228 MB / 0.5367 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002755/0.4039, allocations: 199.2 kB / 0.5369 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005553/0.4094, allocations: 299.5 kB / 0.5371 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/0.4105, allocations: 276 kB / 0.5374 GB, free: 5.754 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * 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.003936/0.4144, allocations: 1.399 MB / 0.5388 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008579/0.4153, allocations: 222.5 kB / 0.539 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.4188, allocations: 1.211 MB / 0.5402 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/0.4188, allocations: 12 kB / 0.5402 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4189, allocations: 0 / 0.5402 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.4189, allocations: 7.984 kB / 0.5402 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.434, allocations: 3.987 MB / 0.5441 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/0.434, allocations: 11.94 kB / 0.5441 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/0.4371, allocations: 371.2 kB / 0.5444 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.803e-05/0.4371, allocations: 8 kB / 0.5445 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.4373, allocations: 27.98 kB / 0.5445 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/0.4373, allocations: 8.375 kB / 0.5445 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.4373, allocations: 11.94 kB / 0.5445 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/0.442, allocations: 2.113 MB / 0.5466 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.4432, allocations: 226.2 kB / 0.5468 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/0.4439, allocations: 27.91 kB / 0.5468 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/0.446, allocations: 95.84 kB / 0.5469 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.4463, allocations: 67.78 kB / 0.547 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.4465, allocations: 35.98 kB / 0.547 GB, free: 11.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005044/0.4515, allocations: 1.574 MB / 0.5485 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4515, allocations: 0 / 0.5485 GB, free: 10.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00717/0.4587, allocations: 0.6678 MB / 0.5492 GB, free: 9.477 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * 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.0008575/0.4595, allocations: 170.9 kB / 0.5493 GB, free: 9.301 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009285/0.4688, allocations: 3.166 MB / 0.5524 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.4688, allocations: 0 / 0.5524 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.4707, allocations: 0.7469 MB / 0.5532 GB, free: 5.414 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/0.4742, allocations: 251.5 kB / 0.5534 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.4858, allocations: 5.55 MB / 0.5588 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/0.488, allocations: 1.643 MB / 0.5604 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003384/0.4914, allocations: 1.425 MB / 0.5618 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/0.492, allocations: 160.5 kB / 0.562 GB, free: 12.25 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.492, allocations: 0 / 0.562 GB, free: 12.25 MB / 478.1 MB Notification: Performance of Templates: time 0.04173/0.5337, allocations: 17.96 MB / 0.5795 GB, free: 10.55 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.244050361216068]