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.0008096/0.0008096, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003185/0.003185, allocations: 157.2 kB / 24.7 MB, free: 9.422 MB / 18.57 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 0.8778/0.8778, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2291/0.2291, allocations: 34.25 MB / 295.6 MB, free: 0.6641 MB / 266.7 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.303e-06/1.303e-06, allocations: 0 / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.94e-05, allocations: 5.094 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.1922/0.1922, allocations: 15.71 MB / 459.1 MB, free: 34.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009043/0.2012, allocations: 5.107 MB / 464.3 MB, free: 31.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.2033, allocations: 132.2 kB / 464.4 MB, free: 31.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.206, allocations: 3.114 MB / 467.5 MB, free: 30.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.2094, allocations: 2.712 MB / 470.2 MB, free: 29.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2108, allocations: 1.131 MB / 471.3 MB, free: 28.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00559/0.2164, allocations: 9.035 MB / 480.4 MB, free: 25.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.2196, allocations: 4.582 MB / 485 MB, free: 23.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.2235, allocations: 3.58 MB / 488.5 MB, free: 22.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.2276, allocations: 3.878 MB / 492.4 MB, free: 21.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.2282, allocations: 472.4 kB / 492.9 MB, free: 21.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.23, allocations: 1.287 MB / 494.2 MB, free: 21.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.232, allocations: 3.016 MB / 497.2 MB, free: 19.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.2336, allocations: 1.878 MB / 499.1 MB, free: 18.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007641/0.2412, allocations: 10.13 MB / 0.4973 GB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2412, allocations: 0 / 0.4973 GB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2412, allocations: 0 / 0.4973 GB, free: 12.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001515/0.2414, allocations: 0 / 0.4973 GB, free: 12.95 MB / 410.7 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.01003/0.2514, allocations: 7.477 MB / 0.5046 GB, free: 7.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.2514, allocations: 8.031 kB / 0.5046 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007289/0.2587, allocations: 3.993 MB / 0.5085 GB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/0.2635, allocations: 3.924 MB / 0.5123 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004045/0.2639, allocations: 320.4 kB / 0.5126 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000558/0.2645, allocations: 432 kB / 0.513 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.2794, allocations: 15.67 MB / 0.5283 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.2796, allocations: 67.47 kB / 0.5284 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/0.28, allocations: 199.7 kB / 0.5286 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00361/0.2836, allocations: 3.38 MB / 0.5319 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.3013, allocations: 14.78 MB / 0.5463 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05094/0.3522, allocations: 51.78 MB / 0.5969 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.3632, allocations: 7.181 MB / 0.6039 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004204/0.3674, allocations: 4.476 MB / 0.6083 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/0.3681, allocations: 0.6498 MB / 0.6089 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3681, allocations: 69.06 kB / 0.609 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=367): time 4.738e-06/0.3682, allocations: 0 / 0.609 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.2778/0.646, allocations: 41.37 MB / 0.6494 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.6461, allocations: 116.7 kB / 0.6495 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004953/0.651, allocations: 4.467 MB / 0.6538 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/0.6521, allocations: 88.48 kB / 0.6539 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.6537, allocations: 3.934 MB / 0.6578 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.6553, allocations: 1.53 MB / 0.6593 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.657, allocations: 1.562 MB / 0.6608 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.657, allocations: 307.8 kB / 0.6611 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/0.6611, allocations: 4.08 MB / 0.6651 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006659/0.6677, allocations: 7.867 MB / 0.6727 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/0.681, allocations: 12.87 MB / 0.6853 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001793/0.6811, allocations: 40.94 kB / 0.6853 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.0232/0.7043, allocations: 14.68 MB / 0.6997 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.7044, allocations: 65.03 kB / 0.6998 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.7045, allocations: 127.8 kB / 0.6999 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005102/0.7096, allocations: 2.927 MB / 0.7027 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/0.7146, allocations: 1.806 MB / 0.7045 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.7281, allocations: 15.57 MB / 0.7197 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006452/0.7346, allocations: 0.61 MB / 0.7203 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/0.7361, allocations: 431.9 kB / 0.7207 GB, free: 102.4 MB / 0.5261 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.005809/0.742, allocations: 2.875 MB / 0.7235 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/0.743, allocations: 453 kB / 0.7239 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.754, allocations: 10.88 MB / 0.7346 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-05/0.7541, allocations: 59.67 kB / 0.7346 GB, free: 89.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.7541, allocations: 15.98 kB / 0.7346 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.214e-05/0.7541, allocations: 15.94 kB / 0.7347 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/0.7793, allocations: 19.65 MB / 0.7539 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/0.7793, allocations: 16.03 kB / 0.7539 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/0.7814, allocations: 0.6825 MB / 0.7545 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004131/0.7855, allocations: 2.719 MB / 0.7572 GB, free: 66.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006795/0.7862, allocations: 80 kB / 0.7573 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.7967, allocations: 14.19 MB / 0.7711 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.7967, allocations: 15.94 kB / 0.7711 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.8123, allocations: 15.5 MB / 0.7863 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.8137, allocations: 0.493 MB / 0.7867 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009584/0.8147, allocations: 72 kB / 0.7868 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/0.8166, allocations: 431.3 kB / 0.7872 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/0.8172, allocations: 273.8 kB / 0.7875 GB, free: 34.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/0.8174, allocations: 119.3 kB / 0.7876 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002768/0.8202, allocations: 2.671 MB / 0.7902 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8202, allocations: 0 / 0.7902 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007219/0.8274, allocations: 1.863 MB / 0.792 GB, free: 30.19 MB / 0.5261 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.001017/0.8284, allocations: 252.2 kB / 0.7923 GB, free: 29.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01313/0.8415, allocations: 9.648 MB / 0.8017 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/0.8415, allocations: 0 / 0.8017 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005505/0.8471, allocations: 4.069 MB / 0.8057 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/0.8511, allocations: 0.6073 MB / 0.8063 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/0.8756, allocations: 16.53 MB / 0.8224 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006727/0.8823, allocations: 4.028 MB / 0.8263 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/0.8844, allocations: 400.4 kB / 0.8267 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/0.8844, allocations: 4 kB / 0.8267 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.3384/1.223, allocations: 144.3 MB / 0.9677 GB, free: 63.48 MB / 0.5417 GB " [Timeout remaining time 659] 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: 10.763376126997173]