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.00186/0.00186, allocations: 121.1 kB / 19.13 MB, free: 3.922 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.002167/0.002167, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.473/1.473, allocations: 227.4 MB / 252.3 MB, free: 88 kB / 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.2226/0.2226, allocations: 46.17 MB / 351.8 MB, free: 14.29 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 0.002323/0.002323, allocations: 80.12 kB / 490.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1242, allocations: 62.45 MB / 0.5403 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009594/0.1338, allocations: 7.459 MB / 0.5476 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.1408, allocations: 3.356 MB / 0.5509 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000934/0.1418, allocations: 35.94 kB / 0.5509 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.1437, allocations: 0.8015 MB / 0.5517 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003111/0.1469, allocations: 1.286 MB / 0.553 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1482, allocations: 0.5262 MB / 0.5535 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.152, allocations: 2.612 MB / 0.556 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.1538, allocations: 1.233 MB / 0.5572 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1552, allocations: 0.7627 MB / 0.558 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.157, allocations: 1.121 MB / 0.5591 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003949/0.1574, allocations: 140 kB / 0.5592 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.1593, allocations: 0.9204 MB / 0.5601 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.1604, allocations: 1.005 MB / 0.5611 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.1618, allocations: 1.211 MB / 0.5623 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.1672, allocations: 4.038 MB / 0.5662 GB, free: 9.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1672, allocations: 4 kB / 0.5662 GB, free: 9.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1672, allocations: 0 / 0.5662 GB, free: 9.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001198/0.1674, allocations: 0 / 0.5662 GB, free: 9.645 MB / 430.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.006124/0.1735, allocations: 3.013 MB / 0.5692 GB, free: 6.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1736, allocations: 8.031 kB / 0.5692 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006125/0.1797, allocations: 1.664 MB / 0.5708 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.1827, allocations: 1.332 MB / 0.5721 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.1828, allocations: 123.4 kB / 0.5722 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/0.1832, allocations: 164 kB / 0.5724 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.1941, allocations: 6.46 MB / 0.5787 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-05/0.1943, allocations: 35.7 kB / 0.5787 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.1946, allocations: 87.89 kB / 0.5788 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/0.1973, allocations: 1.441 MB / 0.5802 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.2084, allocations: 5.728 MB / 0.5858 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3109/0.5194, allocations: 26.75 MB / 0.6119 GB, free: 39.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.5239, allocations: 2.134 MB / 0.614 GB, free: 39.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.5257, allocations: 1.038 MB / 0.615 GB, free: 39.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.526, allocations: 176.7 kB / 0.6152 GB, free: 38.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.526, allocations: 46.92 kB / 0.6152 GB, free: 38.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 4.178e-06/0.526, allocations: 3.969 kB / 0.6152 GB, free: 38.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01797/0.544, allocations: 6.502 MB / 0.6216 GB, free: 37.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.5441, allocations: 139.9 kB / 0.6217 GB, free: 36.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005799/0.5499, allocations: 2.89 MB / 0.6245 GB, free: 35.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.5502, allocations: 41.92 kB / 0.6246 GB, free: 35.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.5516, allocations: 2.194 MB / 0.6267 GB, free: 34.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/0.5522, allocations: 474.8 kB / 0.6272 GB, free: 34.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.5534, allocations: 0.903 MB / 0.6281 GB, free: 33.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.5534, allocations: 301.1 kB / 0.6283 GB, free: 33.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.5556, allocations: 1.432 MB / 0.6297 GB, free: 32.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/0.5587, allocations: 4.294 MB / 0.6339 GB, free: 28.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005437/0.5642, allocations: 6.213 MB / 0.64 GB, free: 23.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/0.5644, allocations: 27.22 kB / 0.64 GB, free: 23.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00863/0.573, allocations: 5.525 MB / 0.6454 GB, free: 21.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.682e-05/0.5732, allocations: 53.72 kB / 0.6455 GB, free: 21.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.5733, allocations: 101.5 kB / 0.6456 GB, free: 21.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.5734, allocations: 138.6 kB / 0.6457 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.5772, allocations: 1.226 MB / 0.6469 GB, free: 21.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001474/0.5774, allocations: 203.9 kB / 0.6471 GB, free: 20.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.5806, allocations: 241 kB / 0.6473 GB, free: 20.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/0.5811, allocations: 285.8 kB / 0.6476 GB, free: 20.84 MB / 462.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.002156/0.5833, allocations: 1.388 MB / 0.649 GB, free: 20.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006703/0.5839, allocations: 252.1 kB / 0.6492 GB, free: 20.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.586, allocations: 1.237 MB / 0.6504 GB, free: 18.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.586, allocations: 15.94 kB / 0.6504 GB, free: 18.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.586, allocations: 0 / 0.6504 GB, free: 18.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.586, allocations: 13.02 kB / 0.6504 GB, free: 18.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007802/0.5939, allocations: 4.546 MB / 0.6549 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.5939, allocations: 4 kB / 0.6549 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.5956, allocations: 367.8 kB / 0.6552 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/0.5957, allocations: 8 kB / 0.6552 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.686e-05/0.5958, allocations: 24 kB / 0.6553 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.5958, allocations: 11.98 kB / 0.6553 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.5958, allocations: 11.88 kB / 0.6553 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.5981, allocations: 2.169 MB / 0.6574 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.5988, allocations: 315.2 kB / 0.6577 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005621/0.5993, allocations: 27.98 kB / 0.6577 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.6007, allocations: 61.62 kB / 0.6578 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.6009, allocations: 63.81 kB / 0.6578 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/0.601, allocations: 47.97 kB / 0.6579 GB, free: 11.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002925/0.6039, allocations: 1.823 MB / 0.6597 GB, free: 9.199 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6039, allocations: 0 / 0.6597 GB, free: 9.199 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004145/0.6081, allocations: 0.6132 MB / 0.6603 GB, free: 8.586 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.0005008/0.6086, allocations: 154.3 kB / 0.6604 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004719/0.6133, allocations: 3.285 MB / 0.6636 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.6134, allocations: 0 / 0.6636 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.6143, allocations: 0.7911 MB / 0.6644 GB, free: 4.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.617, allocations: 276.4 kB / 0.6647 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/0.6268, allocations: 5.902 MB / 0.6704 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003072/0.6299, allocations: 2.203 MB / 0.6726 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009622/0.6309, allocations: 211.4 kB / 0.6728 GB, free: 11.69 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6309, allocations: 0 / 0.6728 GB, free: 11.69 MB / 478.1 MB Notification: Performance of Templates: time 0.06102/0.6919, allocations: 37.6 MB / 0.7095 GB, free: 6.172 MB / 0.4981 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.943649851949885]