Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001321/0.001321, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001984/0.001984, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 18.57 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.102/1.102, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.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.3661/0.3661, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 179] 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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.798e-05, allocations: 6.312 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01104/0.01106, allocations: 12.31 MB / 390.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009013/0.02008, allocations: 4.201 MB / 395 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.02144, allocations: 99.5 kB / 395.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003851/0.02529, allocations: 3.921 MB / 399 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.02882, allocations: 2.111 MB / 401.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.03022, allocations: 0.8887 MB / 402 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003543/0.03376, allocations: 4.647 MB / 406.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003241/0.037, allocations: 4.059 MB / 410.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.03996, allocations: 2.951 MB / 413.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.04235, allocations: 2.486 MB / 416.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005176/0.04287, allocations: 416 kB / 416.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.04429, allocations: 1.08 MB / 417.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.04575, allocations: 2.341 MB / 420 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.04702, allocations: 1.523 MB / 421.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004039/0.05106, allocations: 5.079 MB / 426.6 MB, free: 2.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.05107, allocations: 0 / 426.6 MB, free: 2.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05107, allocations: 0 / 426.6 MB, free: 2.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.506e-05/0.05116, allocations: 0 / 426.6 MB, free: 2.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.007449/0.05861, allocations: 6.399 MB / 433 MB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.05868, allocations: 15.91 kB / 433 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.06202, allocations: 1.597 MB / 434.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.06447, allocations: 2.189 MB / 436.8 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.06464, allocations: 295.6 kB / 437.1 MB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.06506, allocations: 395.7 kB / 437.5 MB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2447/0.3098, allocations: 6.137 MB / 443.6 MB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003297/0.3101, allocations: 42.97 kB / 443.7 MB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001479/0.3116, allocations: 181.6 kB / 443.8 MB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00149/0.3131, allocations: 1.792 MB / 445.6 MB, free: 90.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005719/0.3188, allocations: 2.699 MB / 448.3 MB, free: 90.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02672/0.3455, allocations: 46.09 MB / 494.4 MB, free: 54.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.3491, allocations: 1.617 MB / 496 MB, free: 54.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.3496, allocations: 0.4978 MB / 496.5 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004927/0.3545, allocations: 4.477 MB / 0.4893 GB, free: 52.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3546, allocations: 52.11 kB / 0.4893 GB, free: 52.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.647e-06/0.3546, allocations: 0 / 0.4893 GB, free: 52.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01411/0.3687, allocations: 5.953 MB / 0.4951 GB, free: 50.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3687, allocations: 147.7 kB / 0.4953 GB, free: 50.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.3727, allocations: 3.79 MB / 0.499 GB, free: 49.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.3728, allocations: 47.02 kB / 0.499 GB, free: 49.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.3745, allocations: 3.895 MB / 0.5028 GB, free: 46.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.375, allocations: 0.6826 MB / 0.5035 GB, free: 45.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.3765, allocations: 1.402 MB / 0.5049 GB, free: 44.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.3766, allocations: 482.2 kB / 0.5053 GB, free: 44.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.3777, allocations: 0.5713 MB / 0.5059 GB, free: 44.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.381, allocations: 6.645 MB / 0.5124 GB, free: 35.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005384/0.3864, allocations: 7.942 MB / 0.5201 GB, free: 26.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-05/0.3864, allocations: 46.62 kB / 0.5202 GB, free: 26.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.006081/0.3925, allocations: 5.131 MB / 0.5252 GB, free: 23.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.3926, allocations: 68 kB / 0.5253 GB, free: 22.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.3927, allocations: 144 kB / 0.5254 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/0.3931, allocations: 247.2 kB / 0.5256 GB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.3955, allocations: 1.459 MB / 0.527 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.3969, allocations: 2.149 MB / 0.5291 GB, free: 19.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.3993, allocations: 276.9 kB / 0.5294 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.3996, allocations: 348 kB / 0.5297 GB, free: 18.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (802): * Single equations (assignments): 798 * 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.001219/0.4008, allocations: 0.6985 MB / 0.5304 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.4012, allocations: 389.7 kB / 0.5308 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.4025, allocations: 0.9967 MB / 0.5318 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.4025, allocations: 16 kB / 0.5318 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.4025, allocations: 0 / 0.5318 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.4026, allocations: 10.47 kB / 0.5318 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006485/0.4091, allocations: 5.081 MB / 0.5368 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.4091, allocations: 4 kB / 0.5368 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.4097, allocations: 255.6 kB / 0.537 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002531/0.4099, allocations: 80.52 kB / 0.5371 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.41, allocations: 31.8 kB / 0.5371 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009134/0.4109, allocations: 1.885 MB / 0.539 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.4109, allocations: 9.828 kB / 0.539 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.4128, allocations: 2.203 MB / 0.5411 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.4133, allocations: 454.1 kB / 0.5415 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.4134, allocations: 32 kB / 0.5416 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.414, allocations: 39.83 kB / 0.5416 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4142, allocations: 116.2 kB / 0.5417 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.4142, allocations: 36 kB / 0.5418 GB, free: 7.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.4155, allocations: 1.503 MB / 0.5432 GB, free: 5.918 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4155, allocations: 0 / 0.5432 GB, free: 5.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003599/0.4191, allocations: 1.029 MB / 0.5442 GB, free: 4.891 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (143): * Single equations (assignments): 139 * 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.0004007/0.4195, allocations: 195.9 kB / 0.5444 GB, free: 4.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003136/0.4226, allocations: 2.823 MB / 0.5472 GB, free: 2.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4226, allocations: 4 kB / 0.5472 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.4232, allocations: 0.6566 MB / 0.5478 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.4246, allocations: 431.6 kB / 0.5482 GB, free: 1.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.4363, allocations: 8.345 MB / 0.5564 GB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.4377, allocations: 1.366 MB / 0.5577 GB, free: 7.441 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001306/0.439, allocations: 0.5112 MB / 0.5582 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008757/0.4399, allocations: 0.5957 MB / 0.5588 GB, free: 6.328 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4399, allocations: 4 kB / 0.5588 GB, free: 6.324 MB / 426.7 MB Notification: Performance of Templates: time 0.05385/0.4937, allocations: 30.33 MB / 0.5884 GB, free: 8.273 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.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: 5.078551436308771]