Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001194/0.001194, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002786, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001079/0.001079, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002368, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09215/1.108, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2456/0.2456, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02506/0.2706, allocations: 13.1 MB / 291.3 MB, free: 7.355 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.653e-05, allocations: 3.188 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008881/0.008908, allocations: 9.831 MB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007116/0.01602, allocations: 3.872 MB / 306.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.01758, allocations: 71.62 kB / 306.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.01977, allocations: 1.985 MB / 308.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.02274, allocations: 1.699 MB / 310.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.02375, allocations: 0.6234 MB / 310.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003592/0.02734, allocations: 3.675 MB / 314.4 MB, free: 452 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.02995, allocations: 2.248 MB / 316.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.03229, allocations: 2.026 MB / 318.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.03419, allocations: 1.738 MB / 320.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004981/0.03469, allocations: 260 kB / 320.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.03613, allocations: 0.9945 MB / 321.7 MB, free: 9.102 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.0372, allocations: 1.504 MB / 323.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009242/0.03813, allocations: 0.8529 MB / 324 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.04162, allocations: 3.545 MB / 327.6 MB, free: 3.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.04164, allocations: 3.938 kB / 327.6 MB, free: 3.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.04164, allocations: 0 / 327.6 MB, free: 3.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.14e-05/0.0417, allocations: 4 kB / 327.6 MB, free: 3.172 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.004512/0.04621, allocations: 4.546 MB / 332.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.04625, allocations: 12.03 kB / 332.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.04841, allocations: 0.9372 MB / 333.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.05007, allocations: 1.464 MB / 334.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/0.05016, allocations: 193.2 kB / 334.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.05043, allocations: 260.2 kB / 335 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/0.05458, allocations: 4.263 MB / 339.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/0.05464, allocations: 35.67 kB / 339.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.05484, allocations: 127.9 kB / 339.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/0.05605, allocations: 1.481 MB / 340.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.05933, allocations: 2.101 MB / 343 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.08063, allocations: 27.42 MB / 370.4 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.0831, allocations: 1.263 MB / 371.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.08341, allocations: 271 kB / 371.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003623/0.08704, allocations: 2.981 MB / 374.9 MB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.08707, allocations: 47.06 kB / 374.9 MB, free: 1.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=103): time 3.887e-06/0.08707, allocations: 0 / 374.9 MB, free: 1.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.005238/0.09231, allocations: 2.626 MB / 377.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.09236, allocations: 141 kB / 377.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.09455, allocations: 2.899 MB / 380.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.09459, allocations: 37.7 kB / 380.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.09562, allocations: 2.762 MB / 383.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.09584, allocations: 464.6 kB / 383.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006817/0.09652, allocations: 1.013 MB / 384.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.09658, allocations: 301.1 kB / 385.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/0.09737, allocations: 0.6152 MB / 385.8 MB, free: 6.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.1001, allocations: 4.041 MB / 389.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/0.1038, allocations: 5.119 MB / 394.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.499e-05/0.1039, allocations: 36 kB / 395 MB, free: 10.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004177/0.1081, allocations: 3.586 MB / 398.6 MB, free: 6.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.1081, allocations: 63.94 kB / 398.6 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.013e-05/0.1082, allocations: 124 kB / 398.7 MB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/0.1083, allocations: 167.9 kB / 398.9 MB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.1104, allocations: 1.357 MB / 400.3 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.1106, allocations: 251.1 kB / 400.5 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.1126, allocations: 243.7 kB / 400.8 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.1128, allocations: 288 kB / 401 MB, free: 3.98 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.0009051/0.1137, allocations: 0.5679 MB / 401.6 MB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/0.114, allocations: 167.8 kB / 401.8 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.1147, allocations: 0.5128 MB / 402.3 MB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.1147, allocations: 12 kB / 402.3 MB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1147, allocations: 0 / 402.3 MB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.1147, allocations: 7.984 kB / 402.3 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.1179, allocations: 2.179 MB / 404.5 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1179, allocations: 0 / 404.5 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.1182, allocations: 147.8 kB / 404.6 MB, free: 312 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/0.1189, allocations: 258.1 kB / 404.9 MB, free: 52 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.1191, allocations: 51.69 kB / 404.9 MB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.1192, allocations: 12 kB / 404.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.1203, allocations: 1.418 MB / 406.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.1203, allocations: 11.91 kB / 406.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.1215, allocations: 1.217 MB / 407.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.1217, allocations: 19.94 kB / 407.6 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.1222, allocations: 20 kB / 407.6 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.1223, allocations: 59.83 kB / 407.7 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.1223, allocations: 20 kB / 407.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000974/0.1233, allocations: 1.032 MB / 408.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1233, allocations: 0 / 408.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002878/0.1262, allocations: 0.789 MB / 409.5 MB, free: 11.25 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.0003371/0.1265, allocations: 144.1 kB / 409.7 MB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.129, allocations: 1.94 MB / 411.6 MB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001624/0.1291, allocations: 96.16 kB / 411.7 MB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007513/0.1299, allocations: 344.6 kB / 412 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.1318, allocations: 0.6807 MB / 412.7 MB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.1423, allocations: 5.881 MB / 418.6 MB, free: 2.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.1437, allocations: 0.9941 MB / 419.6 MB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001194/0.1449, allocations: 423.1 kB / 420 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006639/0.1455, allocations: 481.2 kB / 420.5 MB, free: 172 kB / 410.7 MB Notification: Performance of SimCode: time 2.795e-06/0.1455, allocations: 0 / 420.5 MB, free: 172 kB / 410.7 MB Notification: Performance of Templates: time 0.1756/0.3212, allocations: 22.52 MB / 443 MB, free: 122.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.788234569132328]