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.0008059/0.0008059, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001885, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007288/0.0007288, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001744, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.974/0.974, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08938/1.063, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2759/0.2759, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02419/0.3001, allocations: 13.24 MB / 292.6 MB, free: 6.48 MB / 282.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 8.42e-07/8.42e-07, allocations: 0 / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.555e-05, allocations: 6.25 kB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01083/0.01084, allocations: 9.821 MB / 303.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008123/0.01897, allocations: 3.861 MB / 307.6 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.02026, allocations: 67.62 kB / 307.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.02308, allocations: 1.985 MB / 309.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.0258, allocations: 1.715 MB / 311.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.02672, allocations: 0.6119 MB / 311.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.02964, allocations: 3.693 MB / 315.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.03147, allocations: 2.244 MB / 317.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.03328, allocations: 2.026 MB / 319.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.03488, allocations: 1.742 MB / 321.6 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.03519, allocations: 256 kB / 321.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.03641, allocations: 0.9984 MB / 322.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009438/0.03735, allocations: 1.5 MB / 324.4 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008168/0.03817, allocations: 0.8528 MB / 325.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.04095, allocations: 3.545 MB / 328.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.04096, allocations: 0 / 328.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.04096, allocations: 0 / 328.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.518e-05/0.04102, allocations: 0 / 328.8 MB, free: 2.098 MB / 314.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.004125/0.04514, allocations: 4.546 MB / 333.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.04518, allocations: 8.922 kB / 333.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.04737, allocations: 0.941 MB / 334.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.04894, allocations: 1.468 MB / 335.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.04903, allocations: 189.2 kB / 335.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.0493, allocations: 260.2 kB / 336.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.05321, allocations: 4.271 MB / 340.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/0.05327, allocations: 27.75 kB / 340.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.05347, allocations: 123.9 kB / 340.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001247/0.05472, allocations: 1.481 MB / 342.1 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.05767, allocations: 2.113 MB / 344.2 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.07521, allocations: 27.41 MB / 371.6 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.07755, allocations: 1.265 MB / 372.9 MB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.07786, allocations: 282 kB / 373.2 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003351/0.08121, allocations: 2.973 MB / 376.1 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.08124, allocations: 47 kB / 376.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=103): time 2.164e-06/0.08125, allocations: 0 / 376.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.005163/0.08641, allocations: 2.629 MB / 378.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.08646, allocations: 141 kB / 378.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.08847, allocations: 2.899 MB / 381.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.08851, allocations: 41.7 kB / 381.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.08964, allocations: 2.758 MB / 384.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.08988, allocations: 468.6 kB / 385.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007185/0.0906, allocations: 1.013 MB / 386.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.09067, allocations: 301.1 kB / 386.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/0.09148, allocations: 0.6152 MB / 387 MB, free: 5.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.09378, allocations: 4.041 MB / 391.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.09704, allocations: 5.116 MB / 396.2 MB, free: 8.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/0.09707, allocations: 36 kB / 396.2 MB, free: 8.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003532/0.1006, allocations: 3.588 MB / 399.8 MB, free: 5.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.1007, allocations: 68 kB / 399.9 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.497e-05/0.1007, allocations: 124 kB / 400 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.276e-05/0.1008, allocations: 164 kB / 400.2 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.103, allocations: 1.353 MB / 401.5 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001356/0.1031, allocations: 247 kB / 401.7 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.1047, allocations: 243.7 kB / 402 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.1049, allocations: 300 kB / 402.3 MB, free: 2.887 MB / 394.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.0007936/0.1057, allocations: 0.5562 MB / 402.8 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.1059, allocations: 171.8 kB / 403 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.1065, allocations: 0.505 MB / 403.5 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.1066, allocations: 12 kB / 403.5 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1066, allocations: 4 kB / 403.5 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1066, allocations: 7.984 kB / 403.5 MB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.1093, allocations: 2.193 MB / 405.7 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1093, allocations: 0 / 405.7 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.1097, allocations: 147.8 kB / 405.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.1099, allocations: 253.9 kB / 406.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.1101, allocations: 51.78 kB / 406.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.1101, allocations: 16 kB / 406.2 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009833/0.1111, allocations: 1.414 MB / 407.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1111, allocations: 7.922 kB / 407.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1121, allocations: 1.22 MB / 408.8 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.1123, allocations: 27.94 kB / 408.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.1126, allocations: 19.98 kB / 408.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.1127, allocations: 55.89 kB / 408.9 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.1128, allocations: 20 kB / 408.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000844/0.1136, allocations: 1.032 MB / 410 MB, free: 10.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1136, allocations: 0 / 410 MB, free: 10.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002017/0.1156, allocations: 0.7889 MB / 410.8 MB, free: 10.16 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.000238/0.1159, allocations: 148.3 kB / 410.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1175, allocations: 1.93 MB / 412.8 MB, free: 8.086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001377/0.1177, allocations: 106.1 kB / 412.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.118, allocations: 340.5 kB / 413.3 MB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.1192, allocations: 0.6717 MB / 413.9 MB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007292/0.1265, allocations: 5.885 MB / 419.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.1272, allocations: 0.9902 MB / 420.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.1282, allocations: 427.2 kB / 421.2 MB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.1288, allocations: 473.2 kB / 421.7 MB, free: 15.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1288, allocations: 0 / 421.7 MB, free: 15.09 MB / 426.7 MB Notification: Performance of Templates: time 0.1645/0.2933, allocations: 22.54 MB / 444.2 MB, free: 111.6 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 -ignoreHideResult -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.844678860157728]