Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.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.001399/0.001399, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.001384/0.001385, allocations: 205 kB / 21.4 MB, free: 1.645 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.54/1.54, allocations: 227.4 MB / 251.7 MB, free: 56 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.244/0.244, allocations: 46.17 MB / 351.1 MB, free: 14.28 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.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 82.47 kB / 490.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1401, allocations: 62.45 MB / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02064/0.1607, allocations: 18.14 MB / 0.5574 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.1732, allocations: 5.288 MB / 0.5626 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00453/0.1778, allocations: 111.7 kB / 0.5627 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007581/0.1854, allocations: 3.052 MB / 0.5657 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009004/0.1945, allocations: 2.533 MB / 0.5681 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.1976, allocations: 1.014 MB / 0.5691 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01268/0.2103, allocations: 7.674 MB / 0.5766 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006701/0.2171, allocations: 4.171 MB / 0.5807 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004544/0.2216, allocations: 2.243 MB / 0.5829 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005425/0.2271, allocations: 3.228 MB / 0.586 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001395/0.2285, allocations: 459.9 kB / 0.5865 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.2316, allocations: 1.291 MB / 0.5877 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.2348, allocations: 2.801 MB / 0.5905 GB, free: 8 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00486/0.2396, allocations: 3.173 MB / 0.5936 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.2556, allocations: 9.979 MB / 0.6033 GB, free: 2.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2556, allocations: 0 / 0.6033 GB, free: 2.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.2557, allocations: 0 / 0.6033 GB, free: 2.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003674/0.256, allocations: 7.938 kB / 0.6033 GB, free: 2.785 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.3503/0.6063, allocations: 7.375 MB / 0.6105 GB, free: 56.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.6064, allocations: 10.64 kB / 0.6105 GB, free: 56.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01915/0.6256, allocations: 3.877 MB / 0.6143 GB, free: 55.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008866/0.6345, allocations: 4.027 MB / 0.6183 GB, free: 54.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.6348, allocations: 322.6 kB / 0.6186 GB, free: 53.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.6373, allocations: 431 kB / 0.619 GB, free: 53.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/0.6672, allocations: 15.6 MB / 0.6342 GB, free: 44.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/0.6674, allocations: 60.66 kB / 0.6343 GB, free: 44.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006445/0.668, allocations: 191.8 kB / 0.6344 GB, free: 44.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005018/0.6731, allocations: 3.384 MB / 0.6378 GB, free: 41.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/0.697, allocations: 14.82 MB / 0.6522 GB, free: 26.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0784/0.7754, allocations: 55.08 MB / 0.706 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/0.7959, allocations: 8.212 MB / 0.714 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007684/0.8036, allocations: 4.835 MB / 0.7188 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002564/0.8062, allocations: 2.204 MB / 0.7209 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.321e-05/0.8063, allocations: 69.08 kB / 0.721 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 6.772e-06/0.8063, allocations: 0 / 0.721 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.111/0.9173, allocations: 40.29 MB / 0.7603 GB, free: 10.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.9175, allocations: 116 kB / 0.7604 GB, free: 9.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006858/0.9243, allocations: 4.295 MB / 0.7646 GB, free: 5.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/0.9257, allocations: 81.7 kB / 0.7647 GB, free: 5.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003549/0.9292, allocations: 3.941 MB / 0.7685 GB, free: 1.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002725/0.932, allocations: 1.554 MB / 0.7701 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002665/0.9346, allocations: 1.58 MB / 0.7716 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9348, allocations: 306 kB / 0.7719 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006669/0.9415, allocations: 4.072 MB / 0.7759 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/0.9521, allocations: 7.853 MB / 0.7835 GB, free: 308 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/0.9704, allocations: 12.88 MB / 0.7961 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.422e-05/0.9706, allocations: 36 kB / 0.7962 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.03792/1.008, allocations: 14.75 MB / 0.8106 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/1.009, allocations: 60 kB / 0.8106 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/1.009, allocations: 128 kB / 0.8107 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/1.023, allocations: 2.932 MB / 0.8136 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/1.034, allocations: 1.811 MB / 0.8154 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03235/1.067, allocations: 15.96 MB / 0.831 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007339/1.074, allocations: 0.4995 MB / 0.8314 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/1.076, allocations: 435.9 kB / 0.8319 GB, free: 12.66 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007227/1.083, allocations: 2.869 MB / 0.8347 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.084, allocations: 480.8 kB / 0.8351 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.306/1.39, allocations: 10.93 MB / 0.8458 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001535/1.39, allocations: 64.02 kB / 0.8459 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-05/1.39, allocations: 9.906 kB / 0.8459 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/1.391, allocations: 17.34 kB / 0.8459 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04497/1.436, allocations: 21.57 MB / 0.8669 GB, free: 201.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.772e-05/1.436, allocations: 15.22 kB / 0.867 GB, free: 201.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003475/1.439, allocations: 0.6798 MB / 0.8676 GB, free: 201.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00726/1.446, allocations: 2.727 MB / 0.8703 GB, free: 201.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009923/1.447, allocations: 82.45 kB / 0.8704 GB, free: 201 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/1.463, allocations: 14.56 MB / 0.8846 GB, free: 193.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/1.463, allocations: 23.53 kB / 0.8846 GB, free: 193.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02216/1.485, allocations: 15.59 MB / 0.8998 GB, free: 181.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.487, allocations: 0.511 MB / 0.9003 GB, free: 181 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/1.488, allocations: 79.98 kB / 0.9004 GB, free: 180.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.49, allocations: 313.5 kB / 0.9007 GB, free: 180.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006963/1.491, allocations: 269.8 kB / 0.901 GB, free: 180.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/1.491, allocations: 114.4 kB / 0.9011 GB, free: 180.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003056/1.494, allocations: 2.681 MB / 0.9037 GB, free: 177.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/1.494, allocations: 0 / 0.9037 GB, free: 177.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005451/1.5, allocations: 1.653 MB / 0.9053 GB, free: 175.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005966/1.501, allocations: 249.2 kB / 0.9055 GB, free: 175.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.513, allocations: 10.1 MB / 0.9154 GB, free: 165.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/1.513, allocations: 8 kB / 0.9154 GB, free: 165.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005051/1.518, allocations: 4.372 MB / 0.9197 GB, free: 161.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/1.522, allocations: 0.7088 MB / 0.9204 GB, free: 160.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/1.542, allocations: 15.86 MB / 0.9359 GB, free: 144.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004014/1.547, allocations: 4.547 MB / 0.9403 GB, free: 140 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005059/1.552, allocations: 2.72 MB / 0.943 GB, free: 137.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.553, allocations: 347.3 kB / 0.9433 GB, free: 136.9 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/1.553, allocations: 0 / 0.9433 GB, free: 136.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.09622/1.649, allocations: 68.64 MB / 1.01 GB, free: 68.59 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.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: 8.425624971278012]