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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001442/0.001442, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2746/0.2746, allocations: 46.95 MB / 360.9 MB, free: 4.066 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.002127/0.002127, allocations: 71.89 kB / 0.4966 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3594, allocations: 66.04 MB / 0.5611 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009734/0.3691, allocations: 6.68 MB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008013/0.3771, allocations: 3.161 MB / 0.5707 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.3786, allocations: 43.81 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.3808, allocations: 0.7898 MB / 0.5715 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.3849, allocations: 1.323 MB / 0.5728 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.3869, allocations: 0.5223 MB / 0.5733 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00471/0.3916, allocations: 2.605 MB / 0.5758 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.3938, allocations: 1.149 MB / 0.577 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.3954, allocations: 0.7861 MB / 0.5777 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.3976, allocations: 1.187 MB / 0.5789 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004387/0.3981, allocations: 140 kB / 0.579 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.4, allocations: 0.8384 MB / 0.5798 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.4011, allocations: 1.028 MB / 0.5808 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.4022, allocations: 0.8651 MB / 0.5817 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.4074, allocations: 4.046 MB / 0.5856 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4074, allocations: 0 / 0.5856 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4074, allocations: 0 / 0.5856 GB, free: 11.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001047/0.4075, allocations: 0 / 0.5856 GB, free: 11.06 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.006465/0.4139, allocations: 2.943 MB / 0.5885 GB, free: 8.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.414, allocations: 12.03 kB / 0.5885 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006159/0.4201, allocations: 1.66 MB / 0.5901 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.4238, allocations: 1.271 MB / 0.5914 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.424, allocations: 127.3 kB / 0.5915 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.4244, allocations: 168 kB / 0.5917 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.4376, allocations: 6.456 MB / 0.598 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4377, allocations: 39.7 kB / 0.598 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.438, allocations: 79.89 kB / 0.5981 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002668/0.4406, allocations: 1.433 MB / 0.5995 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.4524, allocations: 5.72 MB / 0.6051 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/0.4871, allocations: 25.23 MB / 0.6297 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/0.4914, allocations: 1.616 MB / 0.6313 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4929, allocations: 0.9604 MB / 0.6322 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.493, allocations: 24.27 kB / 0.6322 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.493, allocations: 50.81 kB / 0.6323 GB, free: 9.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.647e-06/0.4931, allocations: 0 / 0.6323 GB, free: 9.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01651/0.5096, allocations: 6.51 MB / 0.6386 GB, free: 3.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.5097, allocations: 140.9 kB / 0.6388 GB, free: 3.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.5134, allocations: 2.662 MB / 0.6414 GB, free: 380 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.5135, allocations: 41.7 kB / 0.6414 GB, free: 332 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.5153, allocations: 2.217 MB / 0.6436 GB, free: 14.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/0.5159, allocations: 480.4 kB / 0.644 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.5171, allocations: 0.9052 MB / 0.6449 GB, free: 12.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.5173, allocations: 349.9 kB / 0.6453 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.5196, allocations: 1.426 MB / 0.6467 GB, free: 10.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/0.5244, allocations: 4.299 MB / 0.6509 GB, free: 5.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/0.533, allocations: 6.202 MB / 0.6569 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.5331, allocations: 32 kB / 0.6569 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01056/0.5437, allocations: 5.485 MB / 0.6623 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.131e-05/0.5438, allocations: 52 kB / 0.6623 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.5439, allocations: 100.1 kB / 0.6624 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.5441, allocations: 139.9 kB / 0.6626 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/0.5485, allocations: 1.224 MB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001956/0.5487, allocations: 203.2 kB / 0.664 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.5516, allocations: 243.6 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/0.5521, allocations: 288 kB / 0.6645 GB, free: 5.773 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.002167/0.5542, allocations: 1.387 MB / 0.6658 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004364/0.5547, allocations: 226.5 kB / 0.666 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.5567, allocations: 1.207 MB / 0.6672 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.5567, allocations: 12.14 kB / 0.6672 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.5567, allocations: 0 / 0.6672 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.5568, allocations: 15.91 kB / 0.6672 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007764/0.5645, allocations: 3.939 MB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.5645, allocations: 7.984 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.5664, allocations: 363.9 kB / 0.6714 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/0.5664, allocations: 8 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/0.5665, allocations: 28 kB / 0.6715 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.5665, allocations: 11.94 kB / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.5665, allocations: 7.984 kB / 0.6715 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.5694, allocations: 2.143 MB / 0.6736 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.57, allocations: 198.4 kB / 0.6738 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.5702, allocations: 23.98 kB / 0.6738 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.5711, allocations: 55.92 kB / 0.6739 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.5713, allocations: 71.77 kB / 0.6739 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.27e-05/0.5713, allocations: 40 kB / 0.674 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002372/0.5737, allocations: 1.508 MB / 0.6754 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5737, allocations: 0 / 0.6754 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003212/0.5769, allocations: 0.6131 MB / 0.676 GB, free: 9.719 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.0003338/0.5773, allocations: 154.9 kB / 0.6762 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005299/0.5826, allocations: 3.156 MB / 0.6793 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5826, allocations: 1.875 kB / 0.6793 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5837, allocations: 0.7385 MB / 0.68 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.5852, allocations: 235.3 kB / 0.6802 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00996/0.5952, allocations: 5.589 MB / 0.6857 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.5974, allocations: 1.638 MB / 0.6873 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003239/0.6007, allocations: 1.425 MB / 0.6887 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.6012, allocations: 163.4 kB / 0.6888 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/0.6012, allocations: 3.938 kB / 0.6888 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of Templates: time 0.0434/0.6446, allocations: 19.26 MB / 0.7076 GB, free: 9.488 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/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_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.503603857010603]