Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.001509/0.001509, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.001377/0.001377, allocations: 165 kB / 23.8 MB, free: 0.7734 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.8531/0.8531, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1278/0.1278, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.36e-05, allocations: 4.281 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01929/0.01931, allocations: 11.47 MB / 359.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.03482, allocations: 3.852 MB / 363 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.03725, allocations: 75.69 kB / 363.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005718/0.04297, allocations: 2.932 MB / 366 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005843/0.04881, allocations: 1.998 MB / 368 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.05025, allocations: 0.76 MB / 368.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004597/0.05484, allocations: 4.136 MB / 372.9 MB, free: 116 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003999/0.05884, allocations: 3.265 MB / 376.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.06252, allocations: 2.448 MB / 378.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/0.06581, allocations: 2.26 MB / 380.9 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006753/0.06649, allocations: 348 kB / 381.2 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.06808, allocations: 1.018 MB / 382.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.06965, allocations: 2.077 MB / 384.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.07078, allocations: 1.308 MB / 385.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.07479, allocations: 4.585 MB / 390.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.07479, allocations: 0 / 390.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.0748, allocations: 8 kB / 390.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.07484, allocations: 0 / 390.2 MB, free: 14.7 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.006098/0.08094, allocations: 5.692 MB / 395.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.08098, allocations: 12.03 kB / 395.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003871/0.08485, allocations: 2.381 MB / 398.3 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.08696, allocations: 2.106 MB / 400.4 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.08709, allocations: 246.2 kB / 400.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.08743, allocations: 315.8 kB / 401 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006647/0.09408, allocations: 5.878 MB / 406.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.406e-05/0.09415, allocations: 39.64 kB / 406.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/0.09443, allocations: 151.9 kB / 407 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001908/0.09634, allocations: 1.861 MB / 408.9 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004906/0.1012, allocations: 2.949 MB / 411.8 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/0.3054, allocations: 41.9 MB / 453.7 MB, free: 53.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.3084, allocations: 1.283 MB / 455 MB, free: 53.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.3089, allocations: 416.8 kB / 455.4 MB, free: 53.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004405/0.3133, allocations: 3.366 MB / 458.8 MB, free: 52.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3133, allocations: 50.14 kB / 458.8 MB, free: 52.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.547e-06/0.3133, allocations: 0 / 458.8 MB, free: 52.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.008233/0.3216, allocations: 6.033 MB / 464.9 MB, free: 49.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3216, allocations: 143.1 kB / 465 MB, free: 49.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.3246, allocations: 3.559 MB / 468.6 MB, free: 49.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.3246, allocations: 40.98 kB / 468.6 MB, free: 48.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.326, allocations: 3.523 MB / 472.1 MB, free: 47.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.3262, allocations: 0.5296 MB / 472.7 MB, free: 46.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009152/0.3271, allocations: 1.255 MB / 473.9 MB, free: 46.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.3272, allocations: 492.2 kB / 474.4 MB, free: 46.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.328, allocations: 0.5354 MB / 474.9 MB, free: 46.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.3308, allocations: 6.234 MB / 481.2 MB, free: 38.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005011/0.3358, allocations: 7.49 MB / 488.7 MB, free: 31.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.534e-05/0.3359, allocations: 43.19 kB / 488.7 MB, free: 31.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01243/0.3483, allocations: 4.963 MB / 493.7 MB, free: 30.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.3484, allocations: 64 kB / 493.7 MB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.3485, allocations: 140 kB / 493.9 MB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.3488, allocations: 216.4 kB / 494.1 MB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008669/0.3575, allocations: 1.35 MB / 495.4 MB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.3585, allocations: 2.084 MB / 497.5 MB, free: 26.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/0.3642, allocations: 347.2 kB / 497.8 MB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.3645, allocations: 367.7 kB / 498.2 MB, free: 25.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 721 * 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 prepare postOptimizeDAE: time 0.004026/0.3685, allocations: 0.6481 MB / 498.9 MB, free: 25.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.3689, allocations: 351.9 kB / 499.2 MB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.3699, allocations: 0.7273 MB / 499.9 MB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.3699, allocations: 16 kB / 499.9 MB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3699, allocations: 0 / 499.9 MB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3699, allocations: 3.656 kB / 499.9 MB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.3811, allocations: 3.832 MB / 0.492 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3811, allocations: 4 kB / 0.492 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.3818, allocations: 212 kB / 0.4922 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.3819, allocations: 54.58 kB / 0.4922 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.382, allocations: 20 kB / 0.4922 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006974/0.3827, allocations: 1.827 MB / 0.494 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3827, allocations: 0 / 0.494 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.3874, allocations: 1.74 MB / 0.4957 GB, free: 17.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.3879, allocations: 418.7 kB / 0.4961 GB, free: 16.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.3881, allocations: 20.7 kB / 0.4961 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007553/0.3889, allocations: 87.19 kB / 0.4962 GB, free: 16.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.389, allocations: 87.33 kB / 0.4963 GB, free: 16.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.3891, allocations: 35.61 kB / 0.4964 GB, free: 16.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001642/0.3907, allocations: 1.513 MB / 0.4978 GB, free: 15.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3907, allocations: 0 / 0.4978 GB, free: 15.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008883/0.3996, allocations: 0.9157 MB / 0.4987 GB, free: 14.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * 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 (95): * Single equations (assignments): 91 * 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.0003294/0.3999, allocations: 173.4 kB / 0.4989 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003467/0.4034, allocations: 2.615 MB / 0.5014 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4034, allocations: 3.938 kB / 0.5014 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.404, allocations: 0.5128 MB / 0.5019 GB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.4055, allocations: 373.1 kB / 0.5023 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.4129, allocations: 7.104 MB / 0.5092 GB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.4137, allocations: 1.202 MB / 0.5104 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001915/0.4157, allocations: 1.554 MB / 0.5119 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.4159, allocations: 216.5 kB / 0.5121 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.416, allocations: 0 / 0.5121 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of Templates: time 0.03534/0.4513, allocations: 22.42 MB / 0.534 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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.134136532898992]