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.001064/0.001064, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002723, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007265/0.0007265, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009543/0.001681, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.965/0.965, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08832/1.053, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.2816/0.2816, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02379/0.3054, allocations: 13.24 MB / 292.6 MB, free: 6.465 MB / 282.7 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.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|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.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 293.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.061e-05, allocations: 2.312 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005731/0.005741, allocations: 7.246 MB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004609/0.01035, allocations: 3.387 MB / 304.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005301/0.01088, allocations: 39.88 kB / 304.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.01201, allocations: 0.8286 MB / 305.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.01406, allocations: 1.349 MB / 306.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.01489, allocations: 0.5298 MB / 307.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.01734, allocations: 2.878 MB / 310.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.01896, allocations: 1.246 MB / 311.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.02042, allocations: 1.297 MB / 312.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.02153, allocations: 1.223 MB / 313.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.02168, allocations: 140 kB / 314 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.02275, allocations: 0.8968 MB / 314.9 MB, free: 80 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008034/0.02356, allocations: 0.97 MB / 315.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.02399, allocations: 0.5333 MB / 316.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.02587, allocations: 2.607 MB / 319 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.02589, allocations: 3.984 kB / 319 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02589, allocations: 0 / 319 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.083e-05/0.02592, allocations: 0 / 319 MB, free: 11.95 MB / 314.7 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.002789/0.02871, allocations: 3.263 MB / 322.3 MB, free: 8.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.02874, allocations: 12.92 kB / 322.3 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.03098, allocations: 0.8006 MB / 323.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.032, allocations: 1.001 MB / 324.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.03207, allocations: 119.4 kB / 324.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.03226, allocations: 156.3 kB / 324.3 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.03492, allocations: 3.176 MB / 327.5 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.03497, allocations: 43.61 kB / 327.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.03511, allocations: 83.89 kB / 327.6 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000977/0.03608, allocations: 1.214 MB / 328.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.03833, allocations: 1.641 MB / 330.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.05106, allocations: 21.39 MB / 351.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.05236, allocations: 0.7323 MB / 352.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.05256, allocations: 174 kB / 352.8 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/0.0546, allocations: 1.952 MB / 354.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.05463, allocations: 42.5 kB / 354.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 1.964e-06/0.05463, allocations: 0 / 354.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.003021/0.05765, allocations: 1.613 MB / 356.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.0577, allocations: 136.5 kB / 356.5 MB, free: 4.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.05942, allocations: 2.276 MB / 358.8 MB, free: 2.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.05945, allocations: 37.7 kB / 358.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007806/0.06024, allocations: 2.174 MB / 361 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.06042, allocations: 385.2 kB / 361.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/0.06097, allocations: 0.8304 MB / 362.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.06106, allocations: 361.8 kB / 362.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.06172, allocations: 0.5029 MB / 363.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.06374, allocations: 3.378 MB / 366.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.06664, allocations: 4.303 MB / 370.8 MB, free: 3.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-05/0.06667, allocations: 28 kB / 370.8 MB, free: 3.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.002623/0.06929, allocations: 2.998 MB / 373.8 MB, free: 416 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.06933, allocations: 52 kB / 373.8 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.722e-05/0.06939, allocations: 104 kB / 373.9 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.588e-05/0.06947, allocations: 140.8 kB / 374.1 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.07111, allocations: 1.119 MB / 375.2 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.444e-05/0.07121, allocations: 207.2 kB / 375.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.0724, allocations: 199.8 kB / 375.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.07259, allocations: 248 kB / 375.8 MB, free: 14.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.0005619/0.07315, allocations: 500 kB / 376.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.07331, allocations: 123.9 kB / 376.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.07367, allocations: 361.6 kB / 376.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.07368, allocations: 8 kB / 376.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.07369, allocations: 4 kB / 376.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.07369, allocations: 3.984 kB / 376.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.07598, allocations: 2.071 MB / 378.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.07598, allocations: 4 kB / 378.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.07626, allocations: 127.8 kB / 379 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.07641, allocations: 202.9 kB / 379.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.07642, allocations: 8 kB / 379.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.07645, allocations: 20 kB / 379.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.07645, allocations: 8 kB / 379.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.07646, allocations: 15.88 kB / 379.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.07701, allocations: 1.018 MB / 380.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.07713, allocations: 23.98 kB / 380.3 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.07746, allocations: 19.98 kB / 380.3 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.07752, allocations: 55.8 kB / 380.4 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.07755, allocations: 24 kB / 380.4 MB, free: 9.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006651/0.07821, allocations: 0.9155 MB / 381.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07821, allocations: 0 / 381.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001557/0.07977, allocations: 0.621 MB / 381.9 MB, free: 8.043 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 61 * 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.000235/0.08, allocations: 156.1 kB / 382.1 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.08126, allocations: 1.619 MB / 383.7 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-05/0.08135, allocations: 67.92 kB / 383.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.08151, allocations: 180.1 kB / 383.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.08241, allocations: 0.489 MB / 384.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.08784, allocations: 4.42 MB / 388.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.0884, allocations: 0.7176 MB / 389.6 MB, free: 248 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006613/0.08906, allocations: 341.6 kB / 389.9 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.08944, allocations: 361.2 kB / 390.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/0.08944, allocations: 0 / 390.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of Templates: time 0.0235/0.1129, allocations: 15.92 MB / 406.2 MB, free: 15.84 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.493903643451631]