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.001199/0.001199, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0009863/0.0009863, allocations: 162.8 kB / 24.91 MB, free: 9.199 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.9358/0.9358, 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.2868/0.2868, 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.724e-06/1.724e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.628e-05, allocations: 6 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008783/0.008809, allocations: 9.71 MB / 335.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006527/0.01534, allocations: 3.831 MB / 339.5 MB, free: 9.562 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.01677, allocations: 63.69 kB / 339.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.01962, allocations: 2.083 MB / 341.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.02334, allocations: 1.746 MB / 343.4 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.02456, allocations: 0.6626 MB / 344 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00425/0.02881, allocations: 3.771 MB / 347.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.03171, allocations: 2.524 MB / 350.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.03413, allocations: 1.937 MB / 352.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.03615, allocations: 1.749 MB / 354 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004355/0.03659, allocations: 256 kB / 354.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.03789, allocations: 0.9672 MB / 355.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.03909, allocations: 1.671 MB / 356.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009689/0.04006, allocations: 1.032 MB / 357.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003746/0.04381, allocations: 3.806 MB / 361.7 MB, free: 3.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.04381, allocations: 4 kB / 361.7 MB, free: 3.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04381, allocations: 0 / 361.7 MB, free: 3.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.465e-05/0.04391, allocations: 0 / 361.7 MB, free: 3.168 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.004428/0.04834, allocations: 3.748 MB / 365.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.04838, allocations: 19.95 kB / 365.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.05068, allocations: 0.9489 MB / 366.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.05246, allocations: 1.464 MB / 367.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.05256, allocations: 193.2 kB / 368.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.05285, allocations: 252.2 kB / 368.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004532/0.05738, allocations: 4.267 MB / 372.6 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.05745, allocations: 39.67 kB / 372.6 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.05767, allocations: 123.9 kB / 372.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00122/0.05889, allocations: 1.473 MB / 374.2 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003659/0.06255, allocations: 2.096 MB / 376.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.08464, allocations: 27.42 MB / 403.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.08727, allocations: 1.311 MB / 405.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.0876, allocations: 274.6 kB / 405.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003826/0.09142, allocations: 2.989 MB / 408.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.09145, allocations: 43 kB / 408.4 MB, free: 2.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.216e-06/0.09145, allocations: 4 kB / 408.4 MB, free: 2.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.005768/0.09722, allocations: 2.68 MB / 411 MB, free: 15.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.09728, allocations: 162.7 kB / 411.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.09963, allocations: 2.899 MB / 414.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.09968, allocations: 45.64 kB / 414.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.1008, allocations: 2.754 MB / 416.9 MB, free: 9.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.1011, allocations: 464.6 kB / 417.4 MB, free: 9.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000874/0.102, allocations: 1.013 MB / 418.4 MB, free: 8.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.102, allocations: 301.1 kB / 418.7 MB, free: 8.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.1032, allocations: 0.6152 MB / 419.3 MB, free: 7.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/0.1059, allocations: 4.041 MB / 423.3 MB, free: 1.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/0.1104, allocations: 5.109 MB / 428.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.839e-05/0.1105, allocations: 36 kB / 428.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.0052/0.1157, allocations: 3.591 MB / 432.1 MB, free: 7.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.1157, allocations: 67.88 kB / 432.1 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.1158, allocations: 124 kB / 432.2 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.116, allocations: 164 kB / 432.4 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.1186, allocations: 1.213 MB / 433.6 MB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001836/0.1188, allocations: 247 kB / 433.9 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.1216, allocations: 244 kB / 434.1 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/0.1219, allocations: 296 kB / 434.4 MB, free: 4.805 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.001033/0.123, allocations: 0.5601 MB / 434.9 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.1233, allocations: 175.7 kB / 435.1 MB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00081/0.1241, allocations: 0.4933 MB / 435.6 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.1241, allocations: 23.98 kB / 435.6 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1241, allocations: 0 / 435.6 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.1241, allocations: 8.016 kB / 435.6 MB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/0.128, allocations: 2.187 MB / 437.8 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.128, allocations: 4 kB / 437.8 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.1284, allocations: 123.8 kB / 438 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.1286, allocations: 47.52 kB / 438 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.1287, allocations: 24.16 kB / 438 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.13, allocations: 1.414 MB / 439.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.13, allocations: 4 kB / 439.4 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1314, allocations: 1.225 MB / 440.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.1318, allocations: 254 kB / 440.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.132, allocations: 24.08 kB / 440.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.1326, allocations: 19.98 kB / 441 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1327, allocations: 63.81 kB / 441 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.1327, allocations: 20 kB / 441 MB, free: 13.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.1338, allocations: 1.028 MB / 442.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1338, allocations: 0 / 442.1 MB, free: 12.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00338/0.1372, allocations: 0.7889 MB / 442.9 MB, free: 12.09 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.0003399/0.1375, allocations: 140.1 kB / 443 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.1402, allocations: 1.942 MB / 444.9 MB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001744/0.1404, allocations: 93.97 kB / 445 MB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.141, allocations: 344.9 kB / 445.4 MB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.1429, allocations: 0.4913 MB / 445.9 MB, free: 9.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008541/0.1514, allocations: 5.76 MB / 451.6 MB, free: 3.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.1526, allocations: 0.9854 MB / 452.6 MB, free: 2.223 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001289/0.1539, allocations: 427 kB / 453 MB, free: 1.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007305/0.1546, allocations: 481.1 kB / 453.5 MB, free: 1.328 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1546, allocations: 0 / 453.5 MB, free: 1.328 MB / 426.7 MB Notification: Performance of Templates: time 0.1813/0.3359, allocations: 21.94 MB / 475.4 MB, free: 114 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.009691221639514]