Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001011/0.001011, allocations: 81.95 kB / 21.44 MB, free: 3.059 MB / 18.57 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.0009649/0.0009649, allocations: 165.8 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9405/0.9405, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.149/0.149, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.218e-05, allocations: 2.312 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.005984/0.006006, allocations: 9.76 MB / 358.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005935/0.01194, allocations: 3.682 MB / 362.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.01339, allocations: 67.62 kB / 362.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.01611, allocations: 2.063 MB / 364.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.01954, allocations: 1.777 MB / 366.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.02062, allocations: 0.6625 MB / 366.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003767/0.02439, allocations: 3.704 MB / 370.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.02709, allocations: 2.481 MB / 373.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.02984, allocations: 1.964 MB / 375.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.03249, allocations: 1.851 MB / 376.9 MB, free: 13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008141/0.0333, allocations: 260 kB / 377.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.03667, allocations: 0.9673 MB / 378.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004516/0.04119, allocations: 1.699 MB / 379.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.04301, allocations: 1.044 MB / 380.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008115/0.05113, allocations: 3.86 MB / 384.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.05113, allocations: 0 / 384.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.05113, allocations: 0 / 384.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000132/0.05126, allocations: 4 kB / 384.8 MB, free: 5.152 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.01568/0.06694, allocations: 4.276 MB / 389 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.06699, allocations: 12.03 kB / 389 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.07287, allocations: 1.278 MB / 390.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.07566, allocations: 1.632 MB / 392 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.07579, allocations: 189.2 kB / 392.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/0.07619, allocations: 252.2 kB / 392.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006735/0.08292, allocations: 4.781 MB / 397.2 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-05/0.08302, allocations: 39.64 kB / 397.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.08332, allocations: 127.9 kB / 397.3 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001821/0.08514, allocations: 1.465 MB / 398.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00494/0.09008, allocations: 2.081 MB / 400.9 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/0.1148, allocations: 38.47 MB / 439.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.1177, allocations: 1.319 MB / 440.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.1181, allocations: 331.8 kB / 441 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004155/0.1222, allocations: 3.243 MB / 444.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1223, allocations: 45.89 kB / 444.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.737e-06/0.1223, allocations: 0 / 444.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.00729/0.1296, allocations: 3.117 MB / 447.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1296, allocations: 162.7 kB / 447.6 MB, free: 3.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.1324, allocations: 3.261 MB / 450.8 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/0.1325, allocations: 41.7 kB / 450.9 MB, free: 480 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1401/0.2726, allocations: 3.11 MB / 454 MB, free: 89.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.2731, allocations: 486.4 kB / 454.4 MB, free: 89.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009474/0.274, allocations: 1.182 MB / 455.6 MB, free: 89.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.2741, allocations: 481.9 kB / 456.1 MB, free: 88.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.2749, allocations: 447.4 kB / 456.5 MB, free: 88.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.2769, allocations: 5.732 MB / 462.3 MB, free: 81.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.2807, allocations: 6.758 MB / 469 MB, free: 74.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.2808, allocations: 38.69 kB / 469.1 MB, free: 74.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.006283/0.2871, allocations: 4.226 MB / 473.3 MB, free: 74.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/0.2872, allocations: 67.5 kB / 473.3 MB, free: 74.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001577/0.2873, allocations: 127.6 kB / 473.5 MB, free: 74.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.2875, allocations: 163.9 kB / 473.6 MB, free: 74.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.2901, allocations: 1.21 MB / 474.8 MB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001722/0.2903, allocations: 246.1 kB / 475.1 MB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.293, allocations: 244.6 kB / 475.3 MB, free: 74.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.2932, allocations: 301.2 kB / 475.6 MB, free: 74.06 MB / 378.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.0009597/0.2942, allocations: 0.6051 MB / 476.2 MB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.2945, allocations: 315.5 kB / 476.5 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008105/0.2954, allocations: 0.5596 MB / 477.1 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.2954, allocations: 16.59 kB / 477.1 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2954, allocations: 0 / 477.1 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2954, allocations: 11.33 kB / 477.1 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.2995, allocations: 2.402 MB / 479.5 MB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2995, allocations: 0 / 479.5 MB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.2999, allocations: 128.9 kB / 479.6 MB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.3001, allocations: 45.56 kB / 479.7 MB, free: 72.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.3001, allocations: 15.47 kB / 479.7 MB, free: 72.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/0.301, allocations: 1.793 MB / 481.5 MB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.301, allocations: 2.156 kB / 481.5 MB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3023, allocations: 1.455 MB / 483 MB, free: 70.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.3027, allocations: 344 kB / 483.3 MB, free: 70.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.3029, allocations: 29.5 kB / 483.3 MB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.3035, allocations: 15.31 kB / 483.3 MB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.3036, allocations: 58.58 kB / 483.4 MB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.3037, allocations: 26.72 kB / 483.4 MB, free: 70.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.3049, allocations: 1.3 MB / 484.7 MB, free: 69.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3049, allocations: 0 / 484.7 MB, free: 69.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003157/0.308, allocations: 0.8082 MB / 485.5 MB, free: 68.82 MB / 378.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.000291/0.3083, allocations: 169.9 kB / 485.7 MB, free: 68.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.3109, allocations: 2.09 MB / 487.8 MB, free: 66.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3109, allocations: 0 / 487.8 MB, free: 66.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.3114, allocations: 438.5 kB / 488.2 MB, free: 66.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3127, allocations: 340.2 kB / 488.5 MB, free: 66.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/0.3202, allocations: 5.816 MB / 494.4 MB, free: 60.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.3211, allocations: 0.996 MB / 495.4 MB, free: 60.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001245/0.3224, allocations: 423.5 kB / 495.8 MB, free: 59.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006566/0.323, allocations: 0.5043 MB / 496.3 MB, free: 59.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.323, allocations: 0 / 496.3 MB, free: 59.38 MB / 378.7 MB Notification: Performance of Templates: time 0.03656/0.3596, allocations: 22.92 MB / 0.507 GB, free: 37.12 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.126887857913971]