Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009709/0.0009709, allocations: 81.86 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 171.2 kB / 24.82 MB, free: 8.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2699/0.2699, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.474e-05, allocations: 5.828 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007442/0.007457, allocations: 9.712 MB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004438/0.0119, allocations: 3.689 MB / 389.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.01252, allocations: 67.62 kB / 390 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.01466, allocations: 2.051 MB / 392 MB, free: 4.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.01683, allocations: 1.758 MB / 393.8 MB, free: 3.055 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.0176, allocations: 0.6587 MB / 394.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002801/0.0204, allocations: 3.758 MB / 398.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.02239, allocations: 2.454 MB / 400.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.02412, allocations: 1.949 MB / 402.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.02563, allocations: 1.835 MB / 404.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.02591, allocations: 260 kB / 404.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.02708, allocations: 0.9671 MB / 405.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.02811, allocations: 1.671 MB / 407.3 MB, free: 5.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007643/0.02888, allocations: 1.032 MB / 408.3 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.03196, allocations: 3.802 MB / 412.1 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.03196, allocations: 4 kB / 412.1 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.03196, allocations: 0 / 412.1 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.089e-05/0.03199, allocations: 4 kB / 412.2 MB, free: 0.5703 MB / 378.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.004437/0.03643, allocations: 4.254 MB / 416.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.03649, allocations: 12.03 kB / 416.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/0.03915, allocations: 1.282 MB / 417.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.04088, allocations: 1.601 MB / 419.3 MB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.04099, allocations: 189.2 kB / 419.5 MB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.04128, allocations: 260.2 kB / 419.7 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/0.04567, allocations: 4.801 MB / 424.5 MB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.722e-05/0.04577, allocations: 39.64 kB / 424.6 MB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.04596, allocations: 123.9 kB / 424.7 MB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001242/0.0472, allocations: 1.473 MB / 426.2 MB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.05016, allocations: 2.07 MB / 428.2 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2189/0.2691, allocations: 38.43 MB / 466.7 MB, free: 62.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.272, allocations: 1.339 MB / 468 MB, free: 62.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.2724, allocations: 338 kB / 468.3 MB, free: 62.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004002/0.2764, allocations: 3.245 MB / 471.6 MB, free: 61.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2765, allocations: 50.08 kB / 471.6 MB, free: 61.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 3.547e-06/0.2765, allocations: 3.75 kB / 471.6 MB, free: 61.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.006361/0.2828, allocations: 3.107 MB / 474.8 MB, free: 60.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.2829, allocations: 161.5 kB / 474.9 MB, free: 60.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.2852, allocations: 3.256 MB / 478.2 MB, free: 59.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.2853, allocations: 44.55 kB / 478.2 MB, free: 59.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.2864, allocations: 3.1 MB / 481.3 MB, free: 58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.2866, allocations: 479.8 kB / 481.8 MB, free: 57.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007823/0.2874, allocations: 1.191 MB / 483 MB, free: 57.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.2874, allocations: 484.2 kB / 483.4 MB, free: 56.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.288, allocations: 446.8 kB / 483.9 MB, free: 56.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.2904, allocations: 5.732 MB / 489.6 MB, free: 49.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/0.2942, allocations: 6.76 MB / 496.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.2e-05/0.2942, allocations: 36.34 kB / 496.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004575/0.2988, allocations: 4.226 MB / 0.4889 GB, free: 40.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.2988, allocations: 60.72 kB / 0.489 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.299, allocations: 128.3 kB / 0.4891 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.2991, allocations: 165.6 kB / 0.4892 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.3012, allocations: 1.224 MB / 0.4904 GB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002167/0.3014, allocations: 241.5 kB / 0.4907 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.3033, allocations: 241.4 kB / 0.4909 GB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/0.3036, allocations: 298.3 kB / 0.4912 GB, free: 39.78 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.0009072/0.3045, allocations: 0.6185 MB / 0.4918 GB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.3048, allocations: 311 kB / 0.4921 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.3056, allocations: 0.5557 MB / 0.4926 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.3056, allocations: 16.38 kB / 0.4926 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3056, allocations: 1.281 kB / 0.4926 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3056, allocations: 4.422 kB / 0.4926 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.3092, allocations: 2.381 MB / 0.495 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.3092, allocations: 1.625 kB / 0.495 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.3095, allocations: 130.8 kB / 0.4951 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.3097, allocations: 44.27 kB / 0.4951 GB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.3097, allocations: 14.31 kB / 0.4951 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008973/0.3106, allocations: 1.802 MB / 0.4969 GB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3107, allocations: 6.781 kB / 0.4969 GB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.312, allocations: 1.454 MB / 0.4983 GB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.3123, allocations: 262 kB / 0.4986 GB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.3125, allocations: 24.38 kB / 0.4986 GB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.3129, allocations: 17.19 kB / 0.4986 GB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.313, allocations: 64.31 kB / 0.4987 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.3131, allocations: 29.84 kB / 0.4987 GB, free: 34.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001407/0.3145, allocations: 1.284 MB / 0.5 GB, free: 34.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3145, allocations: 1.969 kB / 0.5 GB, free: 34.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002688/0.3172, allocations: 0.7816 MB / 0.5007 GB, free: 34.21 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.0003056/0.3175, allocations: 152.9 kB / 0.5009 GB, free: 34.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.3196, allocations: 2.099 MB / 0.5029 GB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3196, allocations: 0 / 0.5029 GB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.32, allocations: 445.8 kB / 0.5034 GB, free: 33.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.3213, allocations: 333.8 kB / 0.5037 GB, free: 33.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/0.3287, allocations: 5.802 MB / 0.5093 GB, free: 30.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/0.3297, allocations: 0.9932 MB / 0.5103 GB, free: 29.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001124/0.3308, allocations: 426.3 kB / 0.5107 GB, free: 29.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/0.3315, allocations: 0.5042 MB / 0.5112 GB, free: 29.53 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3315, allocations: 0 / 0.5112 GB, free: 29.53 MB / 410.7 MB Notification: Performance of Templates: time 0.03954/0.371, allocations: 21.99 MB / 0.5327 GB, free: 14.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.042540790978819]