Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001272/0.001272, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001447/0.001447, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.463/1.463, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2342/0.2342, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.TestMove") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 83.86 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3294, allocations: 65.98 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01447/0.3438, allocations: 7.55 MB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009971/0.3538, allocations: 3.391 MB / 0.5719 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.3556, allocations: 35.88 kB / 0.5719 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.3584, allocations: 0.8092 MB / 0.5727 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005118/0.3635, allocations: 1.319 MB / 0.574 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.3655, allocations: 0.53 MB / 0.5745 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005572/0.3711, allocations: 2.597 MB / 0.577 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.3736, allocations: 1.021 MB / 0.578 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.3755, allocations: 0.7666 MB / 0.5788 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.3785, allocations: 1.234 MB / 0.58 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007986/0.3793, allocations: 140 kB / 0.5801 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.3824, allocations: 0.9633 MB / 0.581 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001962/0.3844, allocations: 1.032 MB / 0.5821 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.387, allocations: 1.199 MB / 0.5832 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008098/0.3951, allocations: 4.042 MB / 0.5872 GB, free: 10.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3951, allocations: 4 kB / 0.5872 GB, free: 10.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3951, allocations: 0 / 0.5872 GB, free: 10.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.3952, allocations: 0 / 0.5872 GB, free: 10.26 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.008674/0.4039, allocations: 3.018 MB / 0.5901 GB, free: 7.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.404, allocations: 8.031 kB / 0.5901 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.4141, allocations: 1.664 MB / 0.5918 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.4173, allocations: 1.329 MB / 0.5931 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4174, allocations: 123.4 kB / 0.5932 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/0.4178, allocations: 164 kB / 0.5933 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.4281, allocations: 6.456 MB / 0.5996 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.395e-05/0.4282, allocations: 31.7 kB / 0.5997 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.4284, allocations: 83.89 kB / 0.5997 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002677/0.4311, allocations: 1.441 MB / 0.6012 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.4418, allocations: 5.728 MB / 0.6067 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03476/0.4766, allocations: 26.76 MB / 0.6329 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/0.4812, allocations: 2.079 MB / 0.6349 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4827, allocations: 0.9746 MB / 0.6359 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.4829, allocations: 178.5 kB / 0.636 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4829, allocations: 38.89 kB / 0.6361 GB, free: 6.484 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.487e-06/0.4829, allocations: 224 / 0.6361 GB, free: 6.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01717/0.5001, allocations: 6.501 MB / 0.6424 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.5002, allocations: 148.9 kB / 0.6426 GB, free: 15.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.5043, allocations: 2.886 MB / 0.6454 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.5044, allocations: 37.7 kB / 0.6454 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.5062, allocations: 2.194 MB / 0.6476 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/0.5067, allocations: 476.4 kB / 0.648 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.5079, allocations: 0.9013 MB / 0.6489 GB, free: 9.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5081, allocations: 305.1 kB / 0.6492 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.5104, allocations: 1.426 MB / 0.6506 GB, free: 7.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004737/0.5151, allocations: 4.295 MB / 0.6548 GB, free: 1.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/0.5229, allocations: 6.2 MB / 0.6608 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.177e-05/0.523, allocations: 28 kB / 0.6608 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009575/0.5326, allocations: 5.526 MB / 0.6662 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.5326, allocations: 52 kB / 0.6663 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.5327, allocations: 100 kB / 0.6664 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.5329, allocations: 139.9 kB / 0.6665 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/0.5372, allocations: 1.225 MB / 0.6677 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002074/0.5375, allocations: 207.2 kB / 0.6679 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.5405, allocations: 239.6 kB / 0.6681 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/0.541, allocations: 288 kB / 0.6684 GB, free: 2.336 MB / 0.4981 GB 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.002201/0.5432, allocations: 1.384 MB / 0.6698 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/0.5436, allocations: 250.3 kB / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.5459, allocations: 1.249 MB / 0.6712 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.5459, allocations: 12 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5459, allocations: 3.938 kB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.5459, allocations: 3.984 kB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008818/0.5547, allocations: 4.551 MB / 0.6757 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.5547, allocations: 12.06 kB / 0.6757 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.5567, allocations: 367.3 kB / 0.6761 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/0.5567, allocations: 8 kB / 0.6761 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.5568, allocations: 23.98 kB / 0.6761 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.5568, allocations: 8 kB / 0.6761 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.5568, allocations: 7.938 kB / 0.6761 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.5598, allocations: 2.172 MB / 0.6782 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/0.5604, allocations: 319.2 kB / 0.6785 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.5607, allocations: 24.28 kB / 0.6785 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009531/0.5616, allocations: 59.91 kB / 0.6786 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.5618, allocations: 71.8 kB / 0.6787 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.5619, allocations: 35.94 kB / 0.6787 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002953/0.5648, allocations: 1.811 MB / 0.6805 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5648, allocations: 0 / 0.6805 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0041/0.5689, allocations: 0.6249 MB / 0.6811 GB, free: 5.137 MB / 0.5137 GB 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.0004131/0.5693, allocations: 162.8 kB / 0.6812 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005581/0.5749, allocations: 3.154 MB / 0.6843 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5749, allocations: 0 / 0.6843 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.576, allocations: 0.746 MB / 0.685 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.5777, allocations: 260.9 kB / 0.6853 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/0.587, allocations: 5.629 MB / 0.6908 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/0.5894, allocations: 2.206 MB / 0.6929 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003239/0.5927, allocations: 1.463 MB / 0.6944 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/0.5932, allocations: 167.4 kB / 0.6945 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of SimCode: time 7.72e-07/0.5932, allocations: 0 / 0.6945 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of Templates: time 0.04427/0.6375, allocations: 20.9 MB / 0.7149 GB, free: 2.379 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.3031997522339225]