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.001916/0.001916, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002329/0.002329, allocations: 215.4 kB / 23.74 MB, free: 4.656 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.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2518/0.2518, allocations: 46.94 MB / 360.8 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] 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.002258/0.002258, allocations: 67.91 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3553, allocations: 66.02 MB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.0115/0.3668, allocations: 7.55 MB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.3738, allocations: 3.403 MB / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006475/0.3745, allocations: 39.81 kB / 0.5718 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.3763, allocations: 0.8092 MB / 0.5726 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.379, allocations: 1.327 MB / 0.5739 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3801, allocations: 0.5262 MB / 0.5744 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.3833, allocations: 2.605 MB / 0.577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.3847, allocations: 1.154 MB / 0.5781 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008877/0.3856, allocations: 0.7822 MB / 0.5789 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3871, allocations: 1.234 MB / 0.5801 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.3874, allocations: 144 kB / 0.5802 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.389, allocations: 0.9633 MB / 0.5811 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000966/0.39, allocations: 1.032 MB / 0.5822 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.3911, allocations: 1.207 MB / 0.5833 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.3956, allocations: 4.036 MB / 0.5873 GB, free: 9.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3956, allocations: 0 / 0.5873 GB, free: 9.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3956, allocations: 0 / 0.5873 GB, free: 9.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.715e-05/0.3956, allocations: 0 / 0.5873 GB, free: 9.531 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.004939/0.4006, allocations: 2.943 MB / 0.5902 GB, free: 6.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4006, allocations: 12.03 kB / 0.5902 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005787/0.4064, allocations: 1.66 MB / 0.5918 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.4091, allocations: 1.267 MB / 0.593 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.4092, allocations: 131.4 kB / 0.5931 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.4096, allocations: 160 kB / 0.5933 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.42, allocations: 6.452 MB / 0.5996 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.503e-05/0.4201, allocations: 35.7 kB / 0.5996 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.4204, allocations: 87.89 kB / 0.5997 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/0.4231, allocations: 1.433 MB / 0.6011 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.4343, allocations: 5.728 MB / 0.6067 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0341/0.4684, allocations: 26.65 MB / 0.6327 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/0.4726, allocations: 1.611 MB / 0.6343 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.474, allocations: 0.9608 MB / 0.6353 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.4742, allocations: 28.52 kB / 0.6353 GB, free: 6.844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.4742, allocations: 42.83 kB / 0.6353 GB, free: 6.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.136e-06/0.4742, allocations: 0 / 0.6353 GB, free: 6.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01657/0.4908, allocations: 6.505 MB / 0.6417 GB, free: 280 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.4909, allocations: 148.9 kB / 0.6418 GB, free: 100 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/0.495, allocations: 2.882 MB / 0.6446 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.4951, allocations: 45.69 kB / 0.6447 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.4971, allocations: 2.194 MB / 0.6468 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00054/0.4976, allocations: 468.5 kB / 0.6473 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.4988, allocations: 0.9091 MB / 0.6481 GB, free: 9.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4989, allocations: 313.1 kB / 0.6484 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.5012, allocations: 1.418 MB / 0.6498 GB, free: 7.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/0.5062, allocations: 4.299 MB / 0.654 GB, free: 2.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008027/0.5142, allocations: 6.208 MB / 0.6601 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/0.5143, allocations: 28 kB / 0.6601 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009457/0.5238, allocations: 5.523 MB / 0.6655 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.5239, allocations: 52 kB / 0.6656 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-05/0.524, allocations: 100 kB / 0.6657 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.5241, allocations: 140 kB / 0.6658 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/0.5283, allocations: 1.221 MB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001876/0.5285, allocations: 207.1 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.5311, allocations: 243.7 kB / 0.6674 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.5315, allocations: 284 kB / 0.6677 GB, free: 2.648 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.00215/0.5336, allocations: 1.387 MB / 0.669 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/0.5341, allocations: 250.3 kB / 0.6693 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.5362, allocations: 1.237 MB / 0.6705 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.5362, allocations: 15.94 kB / 0.6705 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.5362, allocations: 3.938 kB / 0.6705 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5363, allocations: 7.969 kB / 0.6705 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/0.544, allocations: 4.519 MB / 0.6749 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.544, allocations: 8.062 kB / 0.6749 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.5458, allocations: 367.3 kB / 0.6753 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.5459, allocations: 8 kB / 0.6753 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.5459, allocations: 20 kB / 0.6753 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.5459, allocations: 11.98 kB / 0.6753 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.5459, allocations: 11.94 kB / 0.6753 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.5488, allocations: 2.174 MB / 0.6775 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.5492, allocations: 242.1 kB / 0.6777 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.5495, allocations: 23.98 kB / 0.6777 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.5504, allocations: 63.91 kB / 0.6778 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.5505, allocations: 67.78 kB / 0.6778 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.5506, allocations: 39.92 kB / 0.6779 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002652/0.5533, allocations: 1.815 MB / 0.6796 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5533, allocations: 0 / 0.6796 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003076/0.5564, allocations: 0.6132 MB / 0.6802 GB, free: 5.586 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.000353/0.5567, allocations: 166.8 kB / 0.6804 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005093/0.5618, allocations: 3.15 MB / 0.6835 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5618, allocations: 0 / 0.6835 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.5629, allocations: 0.749 MB / 0.6842 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.5646, allocations: 261.8 kB / 0.6845 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009501/0.5741, allocations: 5.629 MB / 0.69 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/0.5768, allocations: 2.209 MB / 0.6921 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003485/0.5803, allocations: 1.455 MB / 0.6935 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/0.5809, allocations: 167.4 kB / 0.6937 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of SimCode: time 2.304e-06/0.5809, allocations: 0 / 0.6937 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of Templates: time 0.05089/0.6318, allocations: 22.78 MB / 0.7159 GB, free: 0.9688 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.920353526016697]