Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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.001696/0.001696, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001486/0.001486, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 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 1.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2314/0.2314, allocations: 46.96 MB / 361.6 MB, free: 4.039 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+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.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_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_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 59.91 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3513, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00937/0.3607, allocations: 6.684 MB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.3674, allocations: 3.158 MB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3684, allocations: 35.88 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.3702, allocations: 0.7936 MB / 0.5722 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.3736, allocations: 1.327 MB / 0.5735 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.375, allocations: 0.5262 MB / 0.574 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003912/0.3789, allocations: 2.605 MB / 0.5766 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.3805, allocations: 1.154 MB / 0.5777 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.3817, allocations: 0.79 MB / 0.5785 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.3834, allocations: 1.226 MB / 0.5797 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003604/0.3838, allocations: 140 kB / 0.5798 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3856, allocations: 0.8463 MB / 0.5806 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.3868, allocations: 1.028 MB / 0.5816 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.388, allocations: 0.8652 MB / 0.5825 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.3941, allocations: 4.044 MB / 0.5864 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3942, allocations: 0 / 0.5864 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3942, allocations: 0 / 0.5864 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.575e-05/0.3943, allocations: 0 / 0.5864 GB, free: 10.86 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.006298/0.4006, allocations: 2.943 MB / 0.5893 GB, free: 7.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4006, allocations: 8.031 kB / 0.5893 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006288/0.4069, allocations: 1.664 MB / 0.5909 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.4101, allocations: 1.271 MB / 0.5922 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4102, allocations: 127.4 kB / 0.5923 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/0.4106, allocations: 160 kB / 0.5925 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009989/0.4206, allocations: 6.456 MB / 0.5988 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.276e-05/0.4207, allocations: 31.7 kB / 0.5988 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.4209, allocations: 83.89 kB / 0.5989 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002559/0.4235, allocations: 1.441 MB / 0.6003 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.434, allocations: 5.716 MB / 0.6059 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03374/0.4678, allocations: 25.24 MB / 0.6305 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.4721, allocations: 1.62 MB / 0.6321 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.4735, allocations: 0.9565 MB / 0.633 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.4736, allocations: 24.31 kB / 0.633 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.4737, allocations: 46.77 kB / 0.6331 GB, free: 9.551 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.877e-06/0.4737, allocations: 0 / 0.6331 GB, free: 9.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01622/0.4899, allocations: 6.511 MB / 0.6394 GB, free: 3.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.49, allocations: 141 kB / 0.6396 GB, free: 2.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/0.4935, allocations: 2.662 MB / 0.6422 GB, free: 164 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.947e-05/0.4936, allocations: 41.7 kB / 0.6422 GB, free: 116 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.4952, allocations: 2.209 MB / 0.6444 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/0.4957, allocations: 480.4 kB / 0.6448 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.4969, allocations: 0.9052 MB / 0.6457 GB, free: 12.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4971, allocations: 353.9 kB / 0.6461 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.4993, allocations: 1.43 MB / 0.6475 GB, free: 10.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004569/0.5039, allocations: 4.303 MB / 0.6517 GB, free: 4.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007923/0.5118, allocations: 6.203 MB / 0.6577 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.747e-05/0.5119, allocations: 28 kB / 0.6577 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0106/0.5225, allocations: 5.485 MB / 0.6631 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.5226, allocations: 51.94 kB / 0.6631 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.5227, allocations: 104 kB / 0.6632 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.5228, allocations: 132 kB / 0.6634 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/0.5272, allocations: 1.236 MB / 0.6646 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/0.5274, allocations: 199.2 kB / 0.6648 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/0.5305, allocations: 251.5 kB / 0.665 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/0.5309, allocations: 288 kB / 0.6653 GB, free: 5.555 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.002371/0.5333, allocations: 1.372 MB / 0.6666 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/0.5338, allocations: 222.5 kB / 0.6668 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.5358, allocations: 1.215 MB / 0.668 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.5358, allocations: 7.984 kB / 0.668 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5358, allocations: 288 / 0.668 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.5363, allocations: 202.3 kB / 0.6682 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.5365, allocations: 16 kB / 0.6682 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.5373, allocations: 59.86 kB / 0.6683 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5374, allocations: 52.33 kB / 0.6683 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003643/0.541, allocations: 2.051 MB / 0.6703 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002759/0.5438, allocations: 2.08 MB / 0.6724 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000962/0.5448, allocations: 0.6709 MB / 0.673 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002484/0.5473, allocations: 1.516 MB / 0.6745 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of Backend: time 7.82e-07/0.5473, allocations: 0 / 0.6745 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006298/0.5535, allocations: 2.716 MB / 0.6772 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01028/0.5638, allocations: 5.592 MB / 0.6826 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of Templates: time 0.05861/0.6224, allocations: 30.83 MB / 0.7127 GB, free: 5.121 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.227191639998637]