Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001362/0.001362, allocations: 81.91 kB / 21.42 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.001667/0.001667, allocations: 164.4 kB / 24.82 MB, free: 9.312 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.028/1.028, allocations: 177 MB / 205.1 MB, free: 5.484 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.2832/0.2832, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.291e-05, allocations: 7.094 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01174/0.01176, allocations: 9.709 MB / 389 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.01728, allocations: 3.689 MB / 392.6 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.01828, allocations: 71.62 kB / 392.7 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.0206, allocations: 2.055 MB / 394.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.0242, allocations: 1.742 MB / 396.5 MB, free: 484 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.02539, allocations: 0.6625 MB / 397.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003788/0.02918, allocations: 3.763 MB / 400.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.03171, allocations: 2.462 MB / 403.4 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.03433, allocations: 1.937 MB / 405.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.0362, allocations: 1.839 MB / 407.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.03651, allocations: 256 kB / 407.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.03808, allocations: 0.9788 MB / 408.4 MB, free: 4.508 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.03917, allocations: 1.667 MB / 410.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.0402, allocations: 1.032 MB / 411.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.04302, allocations: 3.798 MB / 414.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.04304, allocations: 0 / 414.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04304, allocations: 0 / 414.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.919e-05/0.04307, allocations: 0 / 414.9 MB, free: 13.99 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.004377/0.04744, allocations: 4.261 MB / 419.2 MB, free: 9.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.04748, allocations: 12.03 kB / 419.2 MB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.05007, allocations: 1.282 MB / 420.5 MB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.05165, allocations: 1.609 MB / 422.1 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.05175, allocations: 193.2 kB / 422.3 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.05203, allocations: 256.2 kB / 422.5 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/0.05664, allocations: 4.805 MB / 427.3 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.959e-05/0.0567, allocations: 39.64 kB / 427.3 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.0569, allocations: 119.9 kB / 427.5 MB, free: 404 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00118/0.05808, allocations: 1.469 MB / 428.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/0.06126, allocations: 2.081 MB / 431 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2032/0.2644, allocations: 38.42 MB / 469.4 MB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003455/0.2679, allocations: 1.329 MB / 470.8 MB, free: 60.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.2683, allocations: 340.9 kB / 471.1 MB, free: 60.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003206/0.2715, allocations: 3.244 MB / 474.3 MB, free: 58.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2716, allocations: 53.14 kB / 474.4 MB, free: 58.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 3.316e-06/0.2716, allocations: 2.953 kB / 474.4 MB, free: 58.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.006286/0.2778, allocations: 3.112 MB / 477.5 MB, free: 58.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2779, allocations: 161.3 kB / 477.7 MB, free: 58.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.2802, allocations: 3.247 MB / 480.9 MB, free: 57.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.2802, allocations: 40.77 kB / 481 MB, free: 57.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.2813, allocations: 3.103 MB / 484.1 MB, free: 55.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.2815, allocations: 486.6 kB / 484.5 MB, free: 55.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008264/0.2823, allocations: 1.187 MB / 485.7 MB, free: 54.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.2824, allocations: 484 kB / 486.2 MB, free: 53.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/0.283, allocations: 453.5 kB / 486.6 MB, free: 53.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.285, allocations: 5.735 MB / 492.4 MB, free: 46.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003266/0.2883, allocations: 6.764 MB / 499.1 MB, free: 39.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.2884, allocations: 34.12 kB / 499.2 MB, free: 39.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003873/0.2922, allocations: 4.228 MB / 0.4916 GB, free: 37.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.2923, allocations: 56.97 kB / 0.4917 GB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.79e-05/0.2924, allocations: 130.1 kB / 0.4918 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.2925, allocations: 167.5 kB / 0.4919 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.2946, allocations: 1.214 MB / 0.4931 GB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001662/0.2948, allocations: 242 kB / 0.4934 GB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.2966, allocations: 242.2 kB / 0.4936 GB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.2969, allocations: 297.2 kB / 0.4939 GB, free: 37.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008424/0.2978, allocations: 0.6139 MB / 0.4945 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.2981, allocations: 311.4 kB / 0.4948 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006756/0.2987, allocations: 0.5573 MB / 0.4953 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.2988, allocations: 12.5 kB / 0.4953 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.2988, allocations: 5.5 kB / 0.4953 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2988, allocations: 7.875 kB / 0.4953 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.3018, allocations: 2.382 MB / 0.4977 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3018, allocations: 2.344 kB / 0.4977 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.3021, allocations: 125.2 kB / 0.4978 GB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.3023, allocations: 46.36 kB / 0.4978 GB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.3024, allocations: 17.78 kB / 0.4978 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006837/0.303, allocations: 1.796 MB / 0.4996 GB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.303, allocations: 2.219 kB / 0.4996 GB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3041, allocations: 1.458 MB / 0.501 GB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.3044, allocations: 265.2 kB / 0.5013 GB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.3045, allocations: 17.39 kB / 0.5013 GB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.305, allocations: 21.41 kB / 0.5013 GB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.305, allocations: 58.61 kB / 0.5014 GB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.3051, allocations: 27.75 kB / 0.5014 GB, free: 32.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.3062, allocations: 1.281 MB / 0.5026 GB, free: 31.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3062, allocations: 3.938 kB / 0.5026 GB, free: 31.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002281/0.3084, allocations: 0.7828 MB / 0.5034 GB, free: 31.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * Array equations: 3 * 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.0002382/0.3087, allocations: 167.6 kB / 0.5036 GB, free: 31.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.3106, allocations: 2.092 MB / 0.5056 GB, free: 30.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3106, allocations: 0 / 0.5056 GB, free: 30.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.311, allocations: 440 kB / 0.506 GB, free: 30.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/0.3119, allocations: 341 kB / 0.5064 GB, free: 30.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.3173, allocations: 5.795 MB / 0.512 GB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/0.318, allocations: 0.9864 MB / 0.513 GB, free: 27.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008587/0.3189, allocations: 428.5 kB / 0.5134 GB, free: 26.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.3194, allocations: 0.505 MB / 0.5139 GB, free: 26.86 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3194, allocations: 0 / 0.5139 GB, free: 26.86 MB / 410.7 MB Notification: Performance of Templates: time 0.03918/0.3586, allocations: 22 MB / 0.5354 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.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.229840569663793]