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.001871/0.001871, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001963/0.001963, allocations: 165.3 kB / 24.27 MB, free: 148 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3505/0.3505, allocations: 34.27 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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.863e-06/1.863e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.181e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01744/0.01747, allocations: 12.59 MB / 389.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02824, allocations: 4.217 MB / 394.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.03068, allocations: 95.56 kB / 394.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009086/0.03976, allocations: 3.972 MB / 398.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.04615, allocations: 2.103 MB / 400.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.04875, allocations: 0.8926 MB / 401.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007466/0.05622, allocations: 4.621 MB / 405.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007457/0.06367, allocations: 4.078 MB / 409.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006962/0.07064, allocations: 2.803 MB / 412.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005679/0.07631, allocations: 2.627 MB / 415.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001704/0.07802, allocations: 420 kB / 415.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.08139, allocations: 1.088 MB / 416.8 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003837/0.08523, allocations: 2.365 MB / 419.2 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004401/0.08963, allocations: 1.535 MB / 420.7 MB, free: 7.375 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.1031, allocations: 8.154 MB / 428.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1031, allocations: 0 / 428.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1031, allocations: 3.938 kB / 428.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003211/0.1034, allocations: 8 kB / 428.9 MB, free: 15.18 MB / 410.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.02659/0.13, allocations: 7.306 MB / 436.2 MB, free: 7.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1301, allocations: 12.03 kB / 436.2 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.1408, allocations: 2.506 MB / 438.7 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.1491, allocations: 2.454 MB / 441.1 MB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/0.1495, allocations: 299.6 kB / 441.4 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.1517, allocations: 395.8 kB / 441.8 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2033/0.355, allocations: 7.822 MB / 449.6 MB, free: 92.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.3552, allocations: 43.44 kB / 449.7 MB, free: 92.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005929/0.3558, allocations: 186.3 kB / 449.9 MB, free: 92.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003695/0.3595, allocations: 2.191 MB / 452 MB, free: 92.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.3754, allocations: 4.739 MB / 456.8 MB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05688/0.4323, allocations: 51.32 MB / 0.4962 GB, free: 52.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/0.4487, allocations: 2.962 MB / 0.4991 GB, free: 51.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.4511, allocations: 1.014 MB / 0.5001 GB, free: 51.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000796/0.4519, allocations: 255.5 kB / 0.5003 GB, free: 51.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.452, allocations: 59.94 kB / 0.5004 GB, free: 51.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 4.789e-06/0.452, allocations: 0 / 0.5004 GB, free: 51.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.06486/0.5169, allocations: 17.91 MB / 0.5179 GB, free: 39.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.5169, allocations: 156.4 kB / 0.518 GB, free: 39.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004845/0.5217, allocations: 4.509 MB / 0.5224 GB, free: 34.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005633/0.5223, allocations: 65.7 kB / 0.5225 GB, free: 34.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.524, allocations: 3.895 MB / 0.5263 GB, free: 30.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.5251, allocations: 1.011 MB / 0.5273 GB, free: 29.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/0.5271, allocations: 1.795 MB / 0.529 GB, free: 28.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.5272, allocations: 476.8 kB / 0.5295 GB, free: 27.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.5293, allocations: 1.047 MB / 0.5305 GB, free: 26.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003849/0.5331, allocations: 6.898 MB / 0.5372 GB, free: 17.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007509/0.5406, allocations: 8.786 MB / 0.5458 GB, free: 5.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/0.5408, allocations: 40 kB / 0.5459 GB, free: 5.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01485/0.5556, allocations: 6.906 MB / 0.5526 GB, free: 14.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.5558, allocations: 64 kB / 0.5527 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/0.556, allocations: 132.9 kB / 0.5528 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/0.559, allocations: 0.6737 MB / 0.5534 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007143/0.5662, allocations: 1.727 MB / 0.5551 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/0.573, allocations: 3.448 MB / 0.5585 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005792/0.5788, allocations: 435.6 kB / 0.5589 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/0.5802, allocations: 455.8 kB / 0.5594 GB, free: 7.824 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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 (816): * Single equations (assignments): 812 * 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.003078/0.5832, allocations: 0.8147 MB / 0.5601 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/0.5846, allocations: 441.5 kB / 0.5606 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008527/0.5931, allocations: 2.967 MB / 0.5635 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/0.5931, allocations: 24 kB / 0.5635 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5931, allocations: 4 kB / 0.5635 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-05/0.5932, allocations: 11.95 kB / 0.5635 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/0.6161, allocations: 8.615 MB / 0.5719 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.6161, allocations: 4 kB / 0.5719 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003142/0.6192, allocations: 0.5776 MB / 0.5725 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/0.6217, allocations: 0.5124 MB / 0.573 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003832/0.622, allocations: 103.3 kB / 0.5731 GB, free: 9.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.6281, allocations: 3.205 MB / 0.5762 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.6281, allocations: 7.938 kB / 0.5762 GB, free: 6.355 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.6392, allocations: 4.437 MB / 0.5806 GB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002953/0.6422, allocations: 0.7511 MB / 0.5813 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007594/0.6429, allocations: 48 kB / 0.5813 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/0.6454, allocations: 203.7 kB / 0.5815 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005873/0.646, allocations: 205.5 kB / 0.5817 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/0.6463, allocations: 121.3 kB / 0.5818 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003843/0.6501, allocations: 1.863 MB / 0.5837 GB, free: 14.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6501, allocations: 0 / 0.5837 GB, free: 14.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007609/0.6577, allocations: 1.234 MB / 0.5849 GB, free: 13.45 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0009436/0.6587, allocations: 209.4 kB / 0.5851 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.011/0.6697, allocations: 4.329 MB / 0.5893 GB, free: 8.914 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6697, allocations: 0 / 0.5893 GB, free: 8.914 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003807/0.6735, allocations: 1.469 MB / 0.5907 GB, free: 7.426 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.6765, allocations: 495.6 kB / 0.5912 GB, free: 6.957 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1734/0.8499, allocations: 9.404 MB / 0.6004 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/0.8531, allocations: 2.814 MB / 0.6031 GB, free: 119.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004245/0.8573, allocations: 1.858 MB / 0.6049 GB, free: 119.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.8588, allocations: 452.4 kB / 0.6054 GB, free: 119.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8588, allocations: 0 / 0.6054 GB, free: 119.8 MB / 458.7 MB Notification: Performance of Templates: time 0.08044/0.9392, allocations: 49.21 MB / 0.6534 GB, free: 101.5 MB / 458.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.797274062060751]