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.0008885/0.0008885, allocations: 84.2 kB / 20.94 MB, free: 3.609 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.0009444/0.0009444, allocations: 169 kB / 24.25 MB, free: 312 kB / 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.939/0.939, allocations: 158.6 MB / 186 MB, free: 2.93 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.1338/0.1338, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.753e-06/1.753e-06, allocations: 3.938 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.842e-05, allocations: 2.312 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01491/0.01495, allocations: 11.43 MB / 359.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009443/0.02439, allocations: 3.848 MB / 363 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.02675, allocations: 75.69 kB / 363 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00379/0.03054, allocations: 2.912 MB / 365.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00496/0.0355, allocations: 1.998 MB / 367.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.03733, allocations: 0.7717 MB / 368.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006176/0.04351, allocations: 4.118 MB / 372.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004892/0.0484, allocations: 3.265 MB / 376.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005752/0.05415, allocations: 2.366 MB / 378.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004028/0.05818, allocations: 2.323 MB / 380.8 MB, free: 8.488 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.05937, allocations: 356 kB / 381.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.06156, allocations: 1.037 MB / 382.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.0639, allocations: 2.092 MB / 384.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002755/0.06666, allocations: 1.309 MB / 385.6 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.07418, allocations: 4.631 MB / 390.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.07419, allocations: 0 / 390.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.07419, allocations: 0 / 390.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002864/0.07448, allocations: 4 kB / 390.2 MB, free: 15.04 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.01334/0.08782, allocations: 5.911 MB / 396.1 MB, free: 9.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.08788, allocations: 12.03 kB / 396.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005553/0.09343, allocations: 2.389 MB / 398.5 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/0.09815, allocations: 2.133 MB / 400.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.09839, allocations: 250.2 kB / 400.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009704/0.09936, allocations: 315.8 kB / 401.2 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.1127, allocations: 6.323 MB / 407.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.1128, allocations: 39.64 kB / 407.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/0.1132, allocations: 159.8 kB / 407.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.1153, allocations: 1.982 MB / 409.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.1259, allocations: 3.527 MB / 413.2 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2269/0.3528, allocations: 42.23 MB / 455.5 MB, free: 52.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007133/0.3599, allocations: 2.015 MB / 457.5 MB, free: 52.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.3611, allocations: 0.5546 MB / 458 MB, free: 52.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000517/0.3616, allocations: 230.7 kB / 458.3 MB, free: 52.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.3617, allocations: 53.8 kB / 458.3 MB, free: 52.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 4.769e-06/0.3617, allocations: 0.9688 kB / 458.3 MB, free: 52.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.02585/0.3875, allocations: 10.22 MB / 468.5 MB, free: 50.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3876, allocations: 150.7 kB / 468.7 MB, free: 50.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.3908, allocations: 3.46 MB / 472.1 MB, free: 49.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.391, allocations: 47.3 kB / 472.2 MB, free: 49.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.3923, allocations: 3.419 MB / 475.6 MB, free: 47.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005817/0.3929, allocations: 0.6695 MB / 476.3 MB, free: 47.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.394, allocations: 1.298 MB / 477.6 MB, free: 47.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.394, allocations: 480.4 kB / 478 MB, free: 46.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.3951, allocations: 0.6353 MB / 478.7 MB, free: 46.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/0.3976, allocations: 6.115 MB / 484.8 MB, free: 39.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/0.4023, allocations: 7.464 MB / 492.3 MB, free: 32.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.991e-05/0.4024, allocations: 36.66 kB / 492.3 MB, free: 32.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.009521/0.4119, allocations: 5.579 MB / 497.9 MB, free: 28.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.4119, allocations: 60 kB / 497.9 MB, free: 28.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.4121, allocations: 135.3 kB / 498.1 MB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.4135, allocations: 0.6192 MB / 498.7 MB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.4162, allocations: 1.378 MB / 0.4883 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.4193, allocations: 3.209 MB / 0.4915 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/0.423, allocations: 355.7 kB / 0.4918 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006161/0.4236, allocations: 372 kB / 0.4922 GB, free: 23.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (722): * Single equations (assignments): 718 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001561/0.4252, allocations: 0.6497 MB / 0.4928 GB, free: 22.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/0.4257, allocations: 369.8 kB / 0.4931 GB, free: 22.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.4281, allocations: 1.604 MB / 0.4947 GB, free: 20.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.4281, allocations: 24 kB / 0.4947 GB, free: 20.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.4282, allocations: 4 kB / 0.4947 GB, free: 20.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4282, allocations: 9.5 kB / 0.4948 GB, free: 20.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007286/0.4355, allocations: 5.231 MB / 0.4999 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.4355, allocations: 1.641 kB / 0.4999 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.4362, allocations: 303.2 kB / 0.5002 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.4373, allocations: 442.9 kB / 0.5006 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.96e-05/0.4374, allocations: 41.53 kB / 0.5006 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.4399, allocations: 2.93 MB / 0.5035 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.4399, allocations: 4 kB / 0.5035 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.4434, allocations: 2.638 MB / 0.5061 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.4445, allocations: 0.5187 MB / 0.5066 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/0.4448, allocations: 27.98 kB / 0.5066 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007848/0.4455, allocations: 123.8 kB / 0.5067 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.4458, allocations: 118.2 kB / 0.5068 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.4459, allocations: 58.86 kB / 0.5069 GB, free: 7.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001725/0.4476, allocations: 1.475 MB / 0.5083 GB, free: 6.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4476, allocations: 0 / 0.5083 GB, free: 6.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003835/0.4514, allocations: 1.031 MB / 0.5093 GB, free: 5.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 122 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004354/0.4518, allocations: 178.2 kB / 0.5095 GB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.4563, allocations: 2.944 MB / 0.5124 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4563, allocations: 0 / 0.5124 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4573, allocations: 0.7766 MB / 0.5131 GB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.4595, allocations: 399.6 kB / 0.5135 GB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.471, allocations: 7.332 MB / 0.5207 GB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.4722, allocations: 1.228 MB / 0.5219 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00264/0.4749, allocations: 1.599 MB / 0.5234 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/0.4756, allocations: 268.4 kB / 0.5237 GB, free: 6.578 MB / 394.7 MB Notification: Performance of SimCode: time 2.805e-06/0.4756, allocations: 0 / 0.5237 GB, free: 6.578 MB / 394.7 MB Notification: Performance of Templates: time 0.04769/0.5232, allocations: 31.33 MB / 0.5543 GB, free: 7.383 MB / 426.7 MB " [Timeout remaining time 659] 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.382335752015933]