Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001093/0.001093, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001535/0.001535, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2759/0.2759, allocations: 32.8 MB / 294.3 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.836e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01592/0.01596, allocations: 12.67 MB / 388.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009114/0.02507, allocations: 4.236 MB / 392.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.02705, allocations: 95.56 kB / 393 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004358/0.03141, allocations: 3.983 MB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.0356, allocations: 2.111 MB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.03719, allocations: 0.8887 MB / 400 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00562/0.0428, allocations: 4.64 MB / 404.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006126/0.04893, allocations: 4.063 MB / 408.7 MB, free: 3.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005931/0.05486, allocations: 2.943 MB / 411.7 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.05834, allocations: 2.506 MB / 414.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.05943, allocations: 412 kB / 414.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.06147, allocations: 1.077 MB / 415.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002382/0.06385, allocations: 2.353 MB / 418 MB, free: 10.47 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00362/0.06747, allocations: 1.519 MB / 419.5 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008671/0.07614, allocations: 5.083 MB / 424.6 MB, free: 3.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.07616, allocations: 3.984 kB / 424.6 MB, free: 3.844 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.07616, allocations: 0 / 424.6 MB, free: 3.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003434/0.0765, allocations: 0 / 424.6 MB, free: 3.844 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.01193/0.08844, allocations: 6.595 MB / 431.2 MB, free: 13.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.08848, allocations: 12.03 kB / 431.2 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.09321, allocations: 2.502 MB / 433.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/0.09684, allocations: 2.408 MB / 436.1 MB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.09703, allocations: 295.6 kB / 436.4 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008094/0.09784, allocations: 391.8 kB / 436.8 MB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1867/0.2845, allocations: 6.8 MB / 443.6 MB, free: 91.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.2847, allocations: 41.52 kB / 443.6 MB, free: 91.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007059/0.2854, allocations: 183 kB / 443.8 MB, free: 91.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001609/0.287, allocations: 1.961 MB / 445.8 MB, free: 91.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007887/0.2949, allocations: 3.463 MB / 449.2 MB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.3243, allocations: 46.63 MB / 495.9 MB, free: 55.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/0.3288, allocations: 1.868 MB / 497.7 MB, free: 55.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.3297, allocations: 0.5891 MB / 498.3 MB, free: 55.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00652/0.3362, allocations: 4.857 MB / 0.4914 GB, free: 52.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3363, allocations: 48.73 kB / 0.4914 GB, free: 52.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 4.048e-06/0.3363, allocations: 1.031 kB / 0.4914 GB, free: 52.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01982/0.3561, allocations: 9.85 MB / 0.501 GB, free: 48.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.3561, allocations: 143.8 kB / 0.5012 GB, free: 48.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/0.3613, allocations: 3.798 MB / 0.5049 GB, free: 47.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003145/0.3616, allocations: 51.92 kB / 0.5049 GB, free: 47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/0.3642, allocations: 3.856 MB / 0.5087 GB, free: 44.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009115/0.3652, allocations: 0.6867 MB / 0.5094 GB, free: 43.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.3668, allocations: 1.373 MB / 0.5107 GB, free: 42.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.3668, allocations: 484.9 kB / 0.5112 GB, free: 42.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.368, allocations: 0.6411 MB / 0.5118 GB, free: 42.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/0.3709, allocations: 6.675 MB / 0.5183 GB, free: 33.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.376, allocations: 8.101 MB / 0.5262 GB, free: 22.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.3761, allocations: 40 kB / 0.5263 GB, free: 22.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.008765/0.3849, allocations: 5.551 MB / 0.5317 GB, free: 17.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.385, allocations: 68 kB / 0.5318 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.3851, allocations: 146.7 kB / 0.5319 GB, free: 17.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.3856, allocations: 291.2 kB / 0.5322 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.3884, allocations: 1.53 MB / 0.5337 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.3899, allocations: 2.239 MB / 0.5359 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/0.3935, allocations: 378.2 kB / 0.5362 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005333/0.3941, allocations: 394.8 kB / 0.5366 GB, free: 13.02 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.001788/0.3958, allocations: 0.6984 MB / 0.5373 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/0.3966, allocations: 397.6 kB / 0.5377 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.3981, allocations: 1.136 MB / 0.5388 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.3981, allocations: 16 kB / 0.5388 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3981, allocations: 4 kB / 0.5388 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3982, allocations: 7.734 kB / 0.5388 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/0.4057, allocations: 5.354 MB / 0.544 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4057, allocations: 4 kB / 0.544 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.4064, allocations: 291.3 kB / 0.5443 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.4067, allocations: 116.8 kB / 0.5444 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-05/0.4068, allocations: 35.66 kB / 0.5444 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009974/0.4078, allocations: 1.965 MB / 0.5464 GB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4078, allocations: 15.97 kB / 0.5464 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.4103, allocations: 2.402 MB / 0.5487 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.4111, allocations: 0.4907 MB / 0.5492 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.4114, allocations: 31.75 kB / 0.5492 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.4121, allocations: 103.9 kB / 0.5493 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4122, allocations: 116.6 kB / 0.5494 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.4123, allocations: 55.98 kB / 0.5495 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001806/0.4141, allocations: 1.61 MB / 0.5511 GB, free: 15.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4141, allocations: 0 / 0.5511 GB, free: 15.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004203/0.4183, allocations: 1.031 MB / 0.5521 GB, free: 14.25 MB / 426.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.000404/0.4187, allocations: 182.6 kB / 0.5523 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0051/0.4238, allocations: 3.051 MB / 0.5552 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.4238, allocations: 4 kB / 0.5552 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009603/0.4248, allocations: 0.7483 MB / 0.556 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.4271, allocations: 427.3 kB / 0.5564 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.442, allocations: 8.376 MB / 0.5646 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.4443, allocations: 1.37 MB / 0.5659 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003506/0.4478, allocations: 1.663 MB / 0.5675 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.4484, allocations: 236.4 kB / 0.5677 GB, free: 13.99 MB / 442.7 MB Notification: Performance of SimCode: time 2.424e-06/0.4484, allocations: 0 / 0.5677 GB, free: 13.99 MB / 442.7 MB Notification: Performance of Templates: time 0.05588/0.5043, allocations: 28.39 MB / 0.5955 GB, free: 2.172 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.714209583122283]