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.0009039/0.0009039, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009399/0.0009399, allocations: 165 kB / 24.91 MB, free: 9.188 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.9716/0.9716, allocations: 177 MB / 205.2 MB, free: 5.469 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.2747/0.2747, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.714e-06/1.714e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.997e-05, allocations: 3.016 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01225/0.01228, allocations: 9.759 MB / 335.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.01904, allocations: 3.834 MB / 339.6 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008119/0.01986, allocations: 63.69 kB / 339.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.02191, allocations: 2.047 MB / 341.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.02423, allocations: 1.714 MB / 343.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.02508, allocations: 0.6703 MB / 344.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.02806, allocations: 3.764 MB / 347.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.03025, allocations: 2.407 MB / 350.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.03233, allocations: 1.906 MB / 352.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.03418, allocations: 1.757 MB / 353.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004624/0.03464, allocations: 256 kB / 354.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.03592, allocations: 0.9907 MB / 355.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.03692, allocations: 1.667 MB / 356.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.03775, allocations: 1.032 MB / 357.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.04067, allocations: 3.81 MB / 361.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.04068, allocations: 0 / 361.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04068, allocations: 4 kB / 361.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.034e-05/0.04075, allocations: 0 / 361.6 MB, free: 3.262 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.004008/0.04476, allocations: 3.748 MB / 365.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.04479, allocations: 12.03 kB / 365.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.04712, allocations: 0.945 MB / 366.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.04869, allocations: 1.468 MB / 367.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.04877, allocations: 193.2 kB / 368 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.04904, allocations: 256.2 kB / 368.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.05307, allocations: 4.267 MB / 372.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/0.05313, allocations: 35.64 kB / 372.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.05332, allocations: 127.8 kB / 372.7 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/0.05472, allocations: 1.469 MB / 374.1 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.05765, allocations: 2.109 MB / 376.3 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/0.07451, allocations: 27.42 MB / 403.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.07706, allocations: 1.3 MB / 405 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.07739, allocations: 275.5 kB / 405.2 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003214/0.0806, allocations: 2.985 MB / 408.2 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.08063, allocations: 43 kB / 408.3 MB, free: 2.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 2.615e-06/0.08063, allocations: 4 kB / 408.3 MB, free: 2.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.005927/0.08656, allocations: 2.676 MB / 411 MB, free: 15.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.08662, allocations: 166.7 kB / 411.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.0887, allocations: 2.899 MB / 414 MB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.08875, allocations: 41.7 kB / 414.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.08984, allocations: 2.751 MB / 416.8 MB, free: 9.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.09028, allocations: 464.6 kB / 417.3 MB, free: 9.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007348/0.09101, allocations: 1.013 MB / 418.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.09108, allocations: 301.1 kB / 418.6 MB, free: 8.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.09191, allocations: 0.6191 MB / 419.2 MB, free: 7.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/0.09451, allocations: 4.033 MB / 423.2 MB, free: 1.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.09808, allocations: 5.116 MB / 428.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-05/0.09812, allocations: 36 kB / 428.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003303/0.1014, allocations: 3.591 MB / 432 MB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.1015, allocations: 63.94 kB / 432 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.499e-05/0.1015, allocations: 124 kB / 432.1 MB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.609e-05/0.1016, allocations: 172 kB / 432.3 MB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.1036, allocations: 1.275 MB / 433.6 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/0.1037, allocations: 247 kB / 433.8 MB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.1053, allocations: 243.8 kB / 434.1 MB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.1055, allocations: 296 kB / 434.4 MB, free: 4.84 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.0008276/0.1064, allocations: 0.564 MB / 434.9 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.1066, allocations: 163.8 kB / 435.1 MB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.1074, allocations: 0.505 MB / 435.6 MB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.1075, allocations: 16 kB / 435.6 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1075, allocations: 0 / 435.6 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1075, allocations: 7.984 kB / 435.6 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.1101, allocations: 2.182 MB / 437.8 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1101, allocations: 4 kB / 437.8 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.1105, allocations: 139.8 kB / 437.9 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.1106, allocations: 47.78 kB / 438 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.1106, allocations: 20 kB / 438 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009085/0.1116, allocations: 1.425 MB / 439.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1116, allocations: 0 / 439.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.1125, allocations: 1.221 MB / 440.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.1127, allocations: 254 kB / 440.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.1129, allocations: 23.92 kB / 440.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.1133, allocations: 19.98 kB / 440.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.735e-05/0.1133, allocations: 55.84 kB / 441 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.1134, allocations: 20 kB / 441 MB, free: 13.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007784/0.1142, allocations: 1.036 MB / 442 MB, free: 12.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1142, allocations: 0 / 442 MB, free: 12.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002194/0.1164, allocations: 0.7889 MB / 442.8 MB, free: 12.12 MB / 426.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.0002308/0.1166, allocations: 136.2 kB / 443 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.1182, allocations: 1.947 MB / 444.9 MB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001292/0.1183, allocations: 92.16 kB / 445 MB, free: 9.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.1187, allocations: 345.6 kB / 445.3 MB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.1198, allocations: 0.5011 MB / 445.8 MB, free: 9.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.1255, allocations: 5.756 MB / 451.6 MB, free: 3.254 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.1263, allocations: 0.9854 MB / 452.6 MB, free: 2.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008391/0.1271, allocations: 427.1 kB / 453 MB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006249/0.1278, allocations: 477.1 kB / 453.5 MB, free: 1.359 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1278, allocations: 0 / 453.5 MB, free: 1.359 MB / 426.7 MB Notification: Performance of Templates: time 0.1481/0.2759, allocations: 21.94 MB / 475.4 MB, free: 113.9 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 -s gbode -gbm=radauIIA3 -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: 3.6350469440221786]