Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.00158/0.00158, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001761/0.001761, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9497/0.9497, allocations: 177 MB / 205.1 MB, free: 5.473 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.2655/0.2655, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.054e-05, allocations: 3.297 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009037/0.009068, allocations: 11.52 MB / 390.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007032/0.0161, allocations: 3.847 MB / 394.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.01822, allocations: 67.75 kB / 394.7 MB, free: 2.297 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.02053, allocations: 1.385 MB / 396.1 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.02422, allocations: 1.836 MB / 397.9 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.02532, allocations: 0.5222 MB / 398.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.02959, allocations: 3.982 MB / 402.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.03236, allocations: 2.157 MB / 404.6 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.03518, allocations: 1.878 MB / 406.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.0381, allocations: 1.917 MB / 408.3 MB, free: 4.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.03878, allocations: 240 kB / 408.6 MB, free: 4.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.04034, allocations: 0.9048 MB / 409.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.0417, allocations: 1.671 MB / 411.2 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.0431, allocations: 1.008 MB / 412.2 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.0476, allocations: 4.046 MB / 416.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.0476, allocations: 4 kB / 416.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.0476, allocations: 0 / 416.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.04773, allocations: 0 / 416.2 MB, free: 12.65 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.005909/0.05364, allocations: 4.455 MB / 420.7 MB, free: 8.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.05369, allocations: 8.031 kB / 420.7 MB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.05921, allocations: 1.832 MB / 422.5 MB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.0614, allocations: 1.553 MB / 424.1 MB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.06152, allocations: 185 kB / 424.2 MB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.06191, allocations: 248.2 kB / 424.5 MB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00656/0.06847, allocations: 4.784 MB / 429.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/0.06853, allocations: 27.75 kB / 429.3 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.06881, allocations: 115.8 kB / 429.4 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002402/0.07122, allocations: 2.171 MB / 431.6 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005913/0.07713, allocations: 2.54 MB / 434.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/0.2698, allocations: 33.48 MB / 467.6 MB, free: 66.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.2726, allocations: 1.326 MB / 468.9 MB, free: 66.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.2731, allocations: 412.4 kB / 469.3 MB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005256/0.2783, allocations: 3.921 MB / 473.3 MB, free: 65.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2784, allocations: 47.5 kB / 473.3 MB, free: 65.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 3.687e-06/0.2784, allocations: 0 / 473.3 MB, free: 65.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.007076/0.2855, allocations: 3.994 MB / 477.3 MB, free: 64.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.2855, allocations: 66.44 kB / 477.4 MB, free: 64.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.2876, allocations: 2.675 MB / 480 MB, free: 64.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.2877, allocations: 44.86 kB / 480.1 MB, free: 64.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.2887, allocations: 3.073 MB / 483.2 MB, free: 61.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.2891, allocations: 0.6945 MB / 483.8 MB, free: 61.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008332/0.29, allocations: 1.128 MB / 485 MB, free: 60.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2901, allocations: 0.5454 MB / 485.5 MB, free: 60.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/0.2908, allocations: 497.6 kB / 486 MB, free: 60.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.2927, allocations: 5.021 MB / 491 MB, free: 54.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.2963, allocations: 6.042 MB / 497.1 MB, free: 47.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-05/0.2963, allocations: 31.31 kB / 497.1 MB, free: 47.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.005581/0.3019, allocations: 4.007 MB / 0.4894 GB, free: 46.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.042e-05/0.302, allocations: 51.22 kB / 0.4894 GB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/0.3021, allocations: 106 kB / 0.4895 GB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.3025, allocations: 182.8 kB / 0.4897 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.3048, allocations: 1.095 MB / 0.4908 GB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.3058, allocations: 1.986 MB / 0.4927 GB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.3085, allocations: 197.7 kB / 0.4929 GB, free: 44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/0.309, allocations: 271.3 kB / 0.4931 GB, free: 43.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (628): * Single equations (assignments): 621 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00138/0.3104, allocations: 0.5704 MB / 0.4937 GB, free: 43.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/0.3109, allocations: 282.8 kB / 0.494 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3123, allocations: 0.9845 MB / 0.4949 GB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/0.3123, allocations: 22.95 kB / 0.495 GB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.3123, allocations: 1.219 kB / 0.495 GB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3123, allocations: 3.281 kB / 0.495 GB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006658/0.319, allocations: 4.333 MB / 0.4992 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.319, allocations: 4 kB / 0.4992 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.3194, allocations: 192.9 kB / 0.4994 GB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.3196, allocations: 39.75 kB / 0.4994 GB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.3196, allocations: 34.36 kB / 0.4994 GB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/0.3203, allocations: 1.781 MB / 0.5012 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3203, allocations: 10.41 kB / 0.5012 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.322, allocations: 1.57 MB / 0.5027 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.3225, allocations: 229.6 kB / 0.5029 GB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.3227, allocations: 26.16 kB / 0.503 GB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.3231, allocations: 27.34 kB / 0.503 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3232, allocations: 100.2 kB / 0.5031 GB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.3232, allocations: 43.56 kB / 0.5031 GB, free: 37.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009822/0.3242, allocations: 1.052 MB / 0.5042 GB, free: 37.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3242, allocations: 3.281 kB / 0.5042 GB, free: 37.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00323/0.3274, allocations: 0.8585 MB / 0.505 GB, free: 37.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.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 (120): * Single equations (assignments): 113 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003726/0.3278, allocations: 173.4 kB / 0.5052 GB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.3308, allocations: 2.322 MB / 0.5074 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3308, allocations: 7.125 kB / 0.5074 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.3313, allocations: 0.61 MB / 0.508 GB, free: 36.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3324, allocations: 283.1 kB / 0.5083 GB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009191/0.3416, allocations: 6.995 MB / 0.5151 GB, free: 32.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.3428, allocations: 1.16 MB / 0.5163 GB, free: 31.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001197/0.344, allocations: 403.1 kB / 0.5167 GB, free: 31.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.3445, allocations: 467.4 kB / 0.5171 GB, free: 30.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3445, allocations: 0 / 0.5171 GB, free: 30.98 MB / 410.7 MB Notification: Performance of Templates: time 0.03815/0.3827, allocations: 21.23 MB / 0.5378 GB, free: 14.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.192281141877174]