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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 120 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3637/0.3637, allocations: 44.14 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.91 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3399, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.04847/0.3884, allocations: 65.62 MB / 0.5705 GB, free: 7.316 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03404/0.4225, allocations: 12.94 MB / 0.5831 GB, free: 14.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01375/0.4363, allocations: 279.7 kB / 0.5834 GB, free: 14.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007581/0.4439, allocations: 3.722 MB / 0.587 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.4507, allocations: 1.908 MB / 0.5889 GB, free: 11.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.4529, allocations: 0.7443 MB / 0.5896 GB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008699/0.4616, allocations: 6.273 MB / 0.5957 GB, free: 4.457 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007088/0.4688, allocations: 4.844 MB / 0.6004 GB, free: 15.54 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.4718, allocations: 1.666 MB / 0.6021 GB, free: 13.87 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003962/0.4758, allocations: 2.648 MB / 0.6047 GB, free: 11.21 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.477, allocations: 308 kB / 0.605 GB, free: 10.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.4805, allocations: 1.104 MB / 0.606 GB, free: 9.809 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0032/0.4837, allocations: 2.162 MB / 0.6081 GB, free: 7.641 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004698/0.4884, allocations: 2.551 MB / 0.6106 GB, free: 5.074 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009948/0.4984, allocations: 7.889 MB / 0.6183 GB, free: 13.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4985, allocations: 0 / 0.6183 GB, free: 13.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4985, allocations: 3.938 kB / 0.6183 GB, free: 13.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002778/0.4987, allocations: 4 kB / 0.6183 GB, free: 13.15 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02476/0.5235, allocations: 6.239 MB / 0.6244 GB, free: 6.844 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.5236, allocations: 8.031 kB / 0.6244 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007741/0.5313, allocations: 1.959 MB / 0.6264 GB, free: 4.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007149/0.5385, allocations: 2.659 MB / 0.629 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.5389, allocations: 295.6 kB / 0.6292 GB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/0.5411, allocations: 387.8 kB / 0.6296 GB, free: 1.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.5669, allocations: 12.39 MB / 0.6417 GB, free: 4.375 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/0.5672, allocations: 55.42 kB / 0.6418 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.5687, allocations: 187.8 kB / 0.6419 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00446/0.5732, allocations: 2.257 MB / 0.6441 GB, free: 1.879 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/0.5985, allocations: 11.35 MB / 0.6552 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3075/0.9061, allocations: 46.5 MB / 0.7006 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01713/0.9233, allocations: 5.478 MB / 0.706 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003901/0.9273, allocations: 3.436 MB / 0.7093 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009444/0.9282, allocations: 0.7018 MB / 0.71 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.9283, allocations: 53.34 kB / 0.7101 GB, free: 100.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 5.229e-06/0.9283, allocations: 0 / 0.7101 GB, free: 100.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.08094/1.009, allocations: 27.36 MB / 0.7368 GB, free: 91.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/1.009, allocations: 152 kB / 0.7369 GB, free: 91.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0078/1.017, allocations: 4.416 MB / 0.7413 GB, free: 89.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008984/1.018, allocations: 64.2 kB / 0.7413 GB, free: 89.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/1.02, allocations: 3.417 MB / 0.7447 GB, free: 87.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.021, allocations: 0.887 MB / 0.7455 GB, free: 86.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/1.023, allocations: 1.42 MB / 0.7469 GB, free: 86.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/1.023, allocations: 301.1 kB / 0.7472 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.027, allocations: 3.284 MB / 0.7504 GB, free: 84.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005177/1.032, allocations: 7.114 MB / 0.7574 GB, free: 75.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.043, allocations: 11.18 MB / 0.7683 GB, free: 62.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/1.043, allocations: 40.66 kB / 0.7683 GB, free: 62.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.0173/1.061, allocations: 11.32 MB / 0.7794 GB, free: 50.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.061, allocations: 64 kB / 0.7794 GB, free: 50.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/1.061, allocations: 139.9 kB / 0.7796 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/1.063, allocations: 1.115 MB / 0.7806 GB, free: 49.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00552/1.069, allocations: 1.696 MB / 0.7823 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/1.076, allocations: 6.013 MB / 0.7882 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005791/1.081, allocations: 395.6 kB / 0.7886 GB, free: 41.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.083, allocations: 455.1 kB / 0.789 GB, free: 40.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (819): * Single equations (assignments): 815 * 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.004897/1.088, allocations: 2.331 MB / 0.7913 GB, free: 38.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.089, allocations: 394.8 kB / 0.7916 GB, free: 38.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.099, allocations: 6.194 MB / 0.7977 GB, free: 31.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/1.099, allocations: 24 kB / 0.7977 GB, free: 31.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/1.099, allocations: 4 kB / 0.7977 GB, free: 31.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/1.1, allocations: 15.91 kB / 0.7977 GB, free: 31.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/1.122, allocations: 13.08 MB / 0.8105 GB, free: 18.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.122, allocations: 8.312 kB / 0.8105 GB, free: 18.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/1.125, allocations: 0.5382 MB / 0.811 GB, free: 18.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/1.128, allocations: 0.9411 MB / 0.812 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004152/1.128, allocations: 91.83 kB / 0.812 GB, free: 17.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/1.134, allocations: 5.734 MB / 0.8176 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.134, allocations: 4 kB / 0.8176 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08539/1.22, allocations: 50.39 MB / 0.8669 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/1.223, allocations: 0.8901 MB / 0.8677 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.224, allocations: 47.67 kB / 0.8678 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.227, allocations: 163.8 kB / 0.8679 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007402/1.227, allocations: 189.6 kB / 0.8681 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003893/1.228, allocations: 104.2 kB / 0.8682 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005104/1.233, allocations: 2.778 MB / 0.8709 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/1.233, allocations: 0 / 0.8709 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007136/1.24, allocations: 1.581 MB / 0.8725 GB, free: 2.793 MB / 0.5261 GB 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.0005911/1.241, allocations: 184.6 kB / 0.8726 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2381/1.479, allocations: 7.722 MB / 0.8802 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.479, allocations: 0 / 0.8802 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0052/1.484, allocations: 3.015 MB / 0.8831 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00501/1.489, allocations: 498.3 kB / 0.8836 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/1.515, allocations: 16.08 MB / 0.8993 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007467/1.523, allocations: 3.738 MB / 0.903 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009732/1.533, allocations: 2.317 MB / 0.9052 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002811/1.536, allocations: 421.9 kB / 0.9056 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.536, allocations: 0 / 0.9056 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1181/1.654, allocations: 66.62 MB / 0.9707 GB, free: 107.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches