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.001192/0.001192, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001497/0.001497, allocations: 162.7 kB / 24.99 MB, free: 8.801 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.9848/0.9848, allocations: 177 MB / 205.2 MB, free: 5.566 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.3149/0.3149, allocations: 34.87 MB / 296.6 MB, free: 0.5742 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.162e-06/1.162e-06, allocations: 3.938 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.445e-05, allocations: 2.312 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.00817/0.008185, allocations: 9.905 MB / 388.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006051/0.01424, allocations: 3.72 MB / 392.4 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.01531, allocations: 67.69 kB / 392.4 MB, free: 4.637 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.01772, allocations: 2.083 MB / 394.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.02056, allocations: 1.738 MB / 396.3 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.02154, allocations: 0.6664 MB / 396.9 MB, free: 136 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.02454, allocations: 3.752 MB / 400.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.02683, allocations: 2.458 MB / 403.1 MB, free: 9.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.0288, allocations: 1.902 MB / 405 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.03069, allocations: 1.859 MB / 406.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000401/0.03109, allocations: 264 kB / 407.2 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.03238, allocations: 0.9633 MB / 408.1 MB, free: 4.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.03345, allocations: 1.683 MB / 409.8 MB, free: 3.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009286/0.03437, allocations: 1.04 MB / 410.8 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.03766, allocations: 3.81 MB / 414.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.03766, allocations: 0 / 414.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03766, allocations: 0 / 414.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.166e-05/0.0377, allocations: 0 / 414.7 MB, free: 14.31 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.004327/0.04203, allocations: 4.387 MB / 419 MB, free: 9.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.04207, allocations: 8.031 kB / 419.1 MB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.04584, allocations: 2.183 MB / 421.2 MB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.04771, allocations: 1.726 MB / 423 MB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/0.04781, allocations: 189.2 kB / 423.1 MB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.04809, allocations: 260.2 kB / 423.4 MB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/0.054, allocations: 5.306 MB / 428.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.683e-05/0.05409, allocations: 39.64 kB / 428.7 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.05433, allocations: 131.9 kB / 428.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/0.05601, allocations: 1.695 MB / 430.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005321/0.06133, allocations: 2.764 MB / 433.3 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1903/0.2517, allocations: 38.59 MB / 471.9 MB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.2556, allocations: 1.624 MB / 473.6 MB, free: 65.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.2563, allocations: 0.4934 MB / 474 MB, free: 65.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003635/0.2599, allocations: 3.158 MB / 477.2 MB, free: 63.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.2599, allocations: 43.77 kB / 477.2 MB, free: 63.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 5.32e-06/0.2599, allocations: 0 / 477.2 MB, free: 63.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01603/0.276, allocations: 8.489 MB / 485.7 MB, free: 60.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.276, allocations: 167.8 kB / 485.9 MB, free: 60.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/0.2791, allocations: 3.182 MB / 489.1 MB, free: 59.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.2792, allocations: 40.77 kB / 489.1 MB, free: 59.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.2803, allocations: 3.016 MB / 492.1 MB, free: 56.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000403/0.2807, allocations: 0.5555 MB / 492.7 MB, free: 56.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008941/0.2816, allocations: 1.173 MB / 493.9 MB, free: 55.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.2816, allocations: 476.8 kB / 494.3 MB, free: 55.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/0.2826, allocations: 0.5494 MB / 494.9 MB, free: 55.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.2851, allocations: 5.652 MB / 0.4888 GB, free: 48.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/0.2895, allocations: 6.83 MB / 0.4955 GB, free: 40.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-05/0.2895, allocations: 34.38 kB / 0.4955 GB, free: 40.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006958/0.2965, allocations: 4.663 MB / 0.5001 GB, free: 38.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.2966, allocations: 57.75 kB / 0.5001 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/0.2968, allocations: 120.9 kB / 0.5002 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008387/0.2976, allocations: 345.5 kB / 0.5006 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.3004, allocations: 1.244 MB / 0.5018 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.3022, allocations: 2.44 MB / 0.5042 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.3053, allocations: 315.2 kB / 0.5045 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/0.3058, allocations: 333.7 kB / 0.5048 GB, free: 36.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (668): * 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: 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001287/0.307, allocations: 0.607 MB / 0.5054 GB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/0.3076, allocations: 322 kB / 0.5057 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.3098, allocations: 1.319 MB / 0.507 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.3098, allocations: 15.88 kB / 0.507 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.3098, allocations: 3.938 kB / 0.507 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3098, allocations: 6.281 kB / 0.507 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007034/0.3168, allocations: 4.207 MB / 0.5111 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3169, allocations: 0 / 0.5111 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.3173, allocations: 169.4 kB / 0.5113 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.3186, allocations: 452.8 kB / 0.5117 GB, free: 33.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/0.3187, allocations: 18.89 kB / 0.5117 GB, free: 33.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.3214, allocations: 2.907 MB / 0.5145 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3214, allocations: 4.641 kB / 0.5145 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.3249, allocations: 2.278 MB / 0.5168 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/0.3256, allocations: 273.2 kB / 0.517 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.3258, allocations: 24.75 kB / 0.5171 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.3264, allocations: 98.31 kB / 0.5172 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.3266, allocations: 74.53 kB / 0.5172 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.3267, allocations: 37.11 kB / 0.5173 GB, free: 29.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001928/0.3286, allocations: 1.353 MB / 0.5186 GB, free: 28.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3286, allocations: 0 / 0.5186 GB, free: 28.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003829/0.3324, allocations: 0.8723 MB / 0.5194 GB, free: 27.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004137/0.3328, allocations: 171.1 kB / 0.5196 GB, free: 27.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004957/0.3378, allocations: 2.557 MB / 0.5221 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.3378, allocations: 0 / 0.5221 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.3388, allocations: 0.6216 MB / 0.5227 GB, free: 24.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.3406, allocations: 344.9 kB / 0.523 GB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/0.3492, allocations: 5.948 MB / 0.5288 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/0.35, allocations: 1.017 MB / 0.5298 GB, free: 18.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002143/0.3522, allocations: 1.395 MB / 0.5312 GB, free: 17.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.3526, allocations: 199.4 kB / 0.5314 GB, free: 17.29 MB / 410.7 MB Notification: Performance of SimCode: time 3.056e-06/0.3526, allocations: 0 / 0.5314 GB, free: 17.29 MB / 410.7 MB Notification: Performance of Templates: time 0.03942/0.3921, allocations: 25.82 MB / 0.5566 GB, free: 8.664 MB / 426.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.298236771021038]