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.001653/0.001653, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001005/0.001005, allocations: 161.9 kB / 25.61 MB, free: 8.871 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 1.009/1.009, allocations: 177 MB / 205.9 MB, free: 4.445 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.1917/0.1917, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.834e-06/1.834e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.311e-05/4.495e-05, allocations: 3.297 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.008716/0.008761, allocations: 11.52 MB / 391.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.01496, allocations: 3.833 MB / 395.4 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.01662, allocations: 67.75 kB / 395.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.01882, allocations: 1.385 MB / 396.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.02271, allocations: 1.84 MB / 398.7 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.0239, allocations: 0.5222 MB / 399.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.02794, allocations: 3.988 MB / 403.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003473/0.03141, allocations: 2.149 MB / 405.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003983/0.0354, allocations: 1.875 MB / 407.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.03858, allocations: 1.917 MB / 409.1 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006716/0.03926, allocations: 240 kB / 409.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.04084, allocations: 0.9008 MB / 410.2 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.04205, allocations: 1.683 MB / 411.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.04323, allocations: 0.9925 MB / 412.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.04733, allocations: 4.058 MB / 417 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.04733, allocations: 0 / 417 MB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04733, allocations: 0 / 417 MB, free: 1.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.04744, allocations: 4 kB / 417 MB, free: 1.586 MB / 330.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.005357/0.0528, allocations: 4.448 MB / 421.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.05284, allocations: 16.03 kB / 421.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/0.0573, allocations: 1.84 MB / 423.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.0605, allocations: 1.537 MB / 424.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.0607, allocations: 189 kB / 425 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007628/0.06146, allocations: 244.2 kB / 425.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.0729, allocations: 4.791 MB / 430 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.07303, allocations: 27.77 kB / 430.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.07345, allocations: 119.8 kB / 430.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/0.07582, allocations: 2.163 MB / 432.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00828/0.08409, allocations: 2.565 MB / 434.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.1169, allocations: 33.49 MB / 468.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.1201, allocations: 1.329 MB / 469.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.1207, allocations: 404.8 kB / 470.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006433/0.1271, allocations: 3.926 MB / 474 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.1272, allocations: 50.39 kB / 474.1 MB, free: 6.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=166): time 5.991e-06/0.1272, allocations: 0 / 474.1 MB, free: 6.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=167): time 0.008974/0.1361, allocations: 3.988 MB / 478.1 MB, free: 2.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1362, allocations: 68.34 kB / 478.1 MB, free: 2.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.1388, allocations: 2.676 MB / 480.8 MB, free: 15.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-05/0.1389, allocations: 45.69 kB / 480.9 MB, free: 15.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.1404, allocations: 3.069 MB / 483.9 MB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000532/0.1409, allocations: 0.6863 MB / 484.6 MB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009266/0.1418, allocations: 1.132 MB / 485.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.142, allocations: 0.5354 MB / 486.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007688/0.1428, allocations: 0.4901 MB / 486.8 MB, free: 9.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.1459, allocations: 5.021 MB / 491.8 MB, free: 2.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1904/0.3363, allocations: 6.039 MB / 497.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.786e-05/0.3363, allocations: 28.27 kB / 497.9 MB, free: 100.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.008914/0.3452, allocations: 4.013 MB / 0.4901 GB, free: 99.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.3453, allocations: 53.78 kB / 0.4902 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-05/0.3454, allocations: 105.3 kB / 0.4903 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.3457, allocations: 181 kB / 0.4904 GB, free: 99.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.3476, allocations: 1.106 MB / 0.4915 GB, free: 99.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009934/0.3486, allocations: 1.965 MB / 0.4934 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.3508, allocations: 190.7 kB / 0.4936 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.3511, allocations: 273.6 kB / 0.4939 GB, free: 97.38 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.001245/0.3524, allocations: 0.5689 MB / 0.4944 GB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/0.3527, allocations: 293.1 kB / 0.4947 GB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.354, allocations: 0.9816 MB / 0.4957 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.354, allocations: 18.64 kB / 0.4957 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.354, allocations: 7.875 kB / 0.4957 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.354, allocations: 6.609 kB / 0.4957 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.3602, allocations: 4.328 MB / 0.4999 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.3603, allocations: 7.688 kB / 0.4999 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.3608, allocations: 185.1 kB / 0.5001 GB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/0.361, allocations: 44.84 kB / 0.5002 GB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/0.361, allocations: 36.45 kB / 0.5002 GB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007058/0.3617, allocations: 1.783 MB / 0.5019 GB, free: 94.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3617, allocations: 8 kB / 0.5019 GB, free: 94.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3634, allocations: 1.574 MB / 0.5035 GB, free: 93.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.3637, allocations: 227.8 kB / 0.5037 GB, free: 92.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.3639, allocations: 27.17 kB / 0.5037 GB, free: 92.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.3643, allocations: 38.72 kB / 0.5038 GB, free: 92.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3644, allocations: 86.97 kB / 0.5038 GB, free: 92.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.3645, allocations: 51.47 kB / 0.5039 GB, free: 92.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008625/0.3654, allocations: 1.044 MB / 0.5049 GB, free: 92.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3654, allocations: 4 kB / 0.5049 GB, free: 92.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002415/0.3678, allocations: 0.8608 MB / 0.5058 GB, free: 91.42 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.0002989/0.3681, allocations: 172 kB / 0.5059 GB, free: 91.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.3704, allocations: 2.33 MB / 0.5082 GB, free: 89.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3704, allocations: 4 kB / 0.5082 GB, free: 89.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.3709, allocations: 0.6092 MB / 0.5088 GB, free: 88.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.3718, allocations: 277.2 kB / 0.5091 GB, free: 88.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/0.3798, allocations: 6.999 MB / 0.5159 GB, free: 82.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/0.3807, allocations: 1.161 MB / 0.517 GB, free: 81.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.3818, allocations: 402.7 kB / 0.5174 GB, free: 81.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005863/0.3823, allocations: 467.7 kB / 0.5179 GB, free: 80.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3823, allocations: 0 / 0.5179 GB, free: 80.62 MB / 410.7 MB Notification: Performance of Templates: time 0.03442/0.4168, allocations: 21.7 MB / 0.5391 GB, free: 59.42 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.546506374143064]