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.001401/0.001401, allocations: 88.52 kB / 20.68 MB, free: 1.02 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.001415/0.001415, allocations: 162 kB / 23.96 MB, free: 4.141 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.479/1.479, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 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.215/0.215, allocations: 34.27 MB / 294.8 MB, free: 14.51 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 1.413e-06/1.413e-06, allocations: 0 / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.716e-05, allocations: 2.281 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2511/0.2512, allocations: 15.71 MB / 458.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.2633, allocations: 5.109 MB / 463.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003575/0.2669, allocations: 126.5 kB / 463.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006483/0.2733, allocations: 3.13 MB / 466.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007576/0.2809, allocations: 2.712 MB / 469.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.2834, allocations: 1.127 MB / 470.6 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.2946, allocations: 9.031 MB / 479.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00767/0.3022, allocations: 4.589 MB / 484.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008784/0.311, allocations: 3.586 MB / 487.8 MB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007282/0.3183, allocations: 3.878 MB / 491.7 MB, free: 4.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.3201, allocations: 468 kB / 492.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.3238, allocations: 1.287 MB / 493.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004032/0.3278, allocations: 3.019 MB / 496.4 MB, free: 104 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004278/0.3321, allocations: 1.869 MB / 498.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.3461, allocations: 10.14 MB / 0.4965 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3461, allocations: 4 kB / 0.4965 GB, free: 4.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3461, allocations: 0 / 0.4965 GB, free: 4.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003485/0.3465, allocations: 0 / 0.4965 GB, free: 4.051 MB / 398.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.01771/0.3642, allocations: 7.465 MB / 0.5038 GB, free: 12.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3642, allocations: 15.97 kB / 0.5038 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/0.381, allocations: 3.99 MB / 0.5077 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.3934, allocations: 3.924 MB / 0.5116 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/0.3939, allocations: 316.4 kB / 0.5119 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/0.3964, allocations: 428.1 kB / 0.5123 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04355/0.44, allocations: 15.68 MB / 0.5276 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.4402, allocations: 63.53 kB / 0.5276 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007773/0.4409, allocations: 203.7 kB / 0.5278 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007059/0.448, allocations: 3.38 MB / 0.5311 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0336/0.4816, allocations: 14.78 MB / 0.5456 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09972/0.5813, allocations: 51.79 MB / 0.5961 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/0.6024, allocations: 7.179 MB / 0.6032 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008272/0.6107, allocations: 4.485 MB / 0.6075 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/0.6125, allocations: 0.6382 MB / 0.6082 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.592e-05/0.6126, allocations: 65.08 kB / 0.6082 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=367): time 9.848e-06/0.6126, allocations: 0 / 0.6082 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=419): time 0.3413/0.9539, allocations: 41.36 MB / 0.6486 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.954, allocations: 115.6 kB / 0.6487 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007216/0.9612, allocations: 4.475 MB / 0.6531 GB, free: 163 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009205/0.9621, allocations: 86.47 kB / 0.6532 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002518/0.9647, allocations: 3.931 MB / 0.657 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002113/0.9668, allocations: 1.538 MB / 0.6585 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003634/0.9704, allocations: 1.561 MB / 0.66 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.9705, allocations: 306.3 kB / 0.6603 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006166/0.9766, allocations: 4.08 MB / 0.6643 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008692/0.9853, allocations: 7.866 MB / 0.672 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/0.9986, allocations: 12.88 MB / 0.6846 GB, free: 142 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.9987, allocations: 34.56 kB / 0.6846 GB, free: 142 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02505/1.024, allocations: 14.69 MB / 0.699 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/1.024, allocations: 63.94 kB / 0.699 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/1.024, allocations: 128 kB / 0.6991 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008029/1.032, allocations: 2.919 MB / 0.702 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006793/1.039, allocations: 1.809 MB / 0.7038 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/1.056, allocations: 15.56 MB / 0.719 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/1.064, allocations: 0.6199 MB / 0.7196 GB, free: 112 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.066, allocations: 431.9 kB / 0.72 GB, free: 111.6 MB / 0.5294 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.005143/1.071, allocations: 2.875 MB / 0.7228 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.072, allocations: 453 kB / 0.7232 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/1.089, allocations: 10.88 MB / 0.7338 GB, free: 97.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-05/1.089, allocations: 66.05 kB / 0.7339 GB, free: 97.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.089, allocations: 12 kB / 0.7339 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/1.089, allocations: 15.94 kB / 0.7339 GB, free: 97.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03215/1.121, allocations: 19.64 MB / 0.7531 GB, free: 77.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.121, allocations: 12 kB / 0.7531 GB, free: 77.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/1.124, allocations: 0.6786 MB / 0.7538 GB, free: 76.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008028/1.133, allocations: 2.732 MB / 0.7564 GB, free: 74.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/1.134, allocations: 83.98 kB / 0.7565 GB, free: 73.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/1.15, allocations: 14.18 MB / 0.7704 GB, free: 59.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.15, allocations: 19.88 kB / 0.7704 GB, free: 59.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02125/1.171, allocations: 15.5 MB / 0.7855 GB, free: 43.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.172, allocations: 496.9 kB / 0.786 GB, free: 43.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000727/1.173, allocations: 75.98 kB / 0.7861 GB, free: 43.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/1.176, allocations: 431.3 kB / 0.7865 GB, free: 42.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/1.177, allocations: 277.8 kB / 0.7868 GB, free: 42.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002995/1.177, allocations: 115.7 kB / 0.7869 GB, free: 42.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002938/1.18, allocations: 2.667 MB / 0.7895 GB, free: 39.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.18, allocations: 4 kB / 0.7895 GB, free: 39.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005614/1.186, allocations: 1.859 MB / 0.7913 GB, free: 37.88 MB / 0.5294 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.0006164/1.187, allocations: 246.1 kB / 0.7915 GB, free: 37.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.198, allocations: 9.652 MB / 0.8009 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.198, allocations: 4 kB / 0.801 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004655/1.203, allocations: 4.071 MB / 0.8049 GB, free: 23.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/1.206, allocations: 0.6079 MB / 0.8055 GB, free: 23.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/1.228, allocations: 15.94 MB / 0.8211 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004263/1.232, allocations: 4.036 MB / 0.825 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005395/1.237, allocations: 2.693 MB / 0.8277 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.239, allocations: 352.3 kB / 0.828 GB, free: 4 kB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/1.239, allocations: 3.938 kB / 0.828 GB, free: 0 / 0.5294 GB Notification: Performance of Templates: time 0.3074/1.546, allocations: 67.57 MB / 0.894 GB, free: 145.2 MB / 0.545 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.1.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.447986260056496]