Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 100.9 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3479/0.3479, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3072, allocations: 62.01 MB / 0.5151 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.03681/0.3441, allocations: 49.65 MB / 0.5636 GB, free: 2.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02558/0.3697, allocations: 10.28 MB / 0.5737 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01227/0.382, allocations: 210.7 kB / 0.5739 GB, free: 11.49 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005719/0.3878, allocations: 2.679 MB / 0.5765 GB, free: 10.15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004781/0.3926, allocations: 1.675 MB / 0.5781 GB, free: 8.934 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.3948, allocations: 0.6474 MB / 0.5788 GB, free: 8.285 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007274/0.4021, allocations: 5.341 MB / 0.584 GB, free: 2.938 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004826/0.4069, allocations: 3.693 MB / 0.5876 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.4095, allocations: 1.327 MB / 0.5889 GB, free: 13.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.4132, allocations: 2.153 MB / 0.591 GB, free: 11.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.4146, allocations: 232 kB / 0.5912 GB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.4179, allocations: 1.018 MB / 0.5922 GB, free: 10.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.4205, allocations: 1.773 MB / 0.5939 GB, free: 8.664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003366/0.4238, allocations: 2.054 MB / 0.5959 GB, free: 6.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00658/0.4304, allocations: 6.53 MB / 0.6023 GB, free: 48 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4305, allocations: 4 kB / 0.6023 GB, free: 44 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4305, allocations: 0 / 0.6023 GB, free: 44 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.4306, allocations: 0 / 0.6023 GB, free: 44 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01591/0.4465, allocations: 5.145 MB / 0.6073 GB, free: 10.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4466, allocations: 8.031 kB / 0.6073 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006453/0.453, allocations: 1.887 MB / 0.6092 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/0.4575, allocations: 2.225 MB / 0.6114 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4577, allocations: 221.8 kB / 0.6116 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006204/0.4583, allocations: 307.8 kB / 0.6119 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.4759, allocations: 10.23 MB / 0.6219 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.4761, allocations: 47.59 kB / 0.6219 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000396/0.4765, allocations: 143.9 kB / 0.622 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003067/0.4796, allocations: 1.86 MB / 0.6238 GB, free: 9.199 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.4977, allocations: 9.191 MB / 0.6328 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04889/0.5466, allocations: 37.63 MB / 0.6696 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.5595, allocations: 3.724 MB / 0.6732 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.5618, allocations: 1.706 MB / 0.6749 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009822/0.5628, allocations: 0.6784 MB / 0.6755 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.5629, allocations: 55.05 kB / 0.6756 GB, free: 2.836 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 4.689e-06/0.5629, allocations: 0 / 0.6756 GB, free: 2.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.2896/0.8525, allocations: 12.93 MB / 0.6882 GB, free: 129.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.8526, allocations: 143.8 kB / 0.6883 GB, free: 129.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/0.8578, allocations: 3.981 MB / 0.6922 GB, free: 127.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003292/0.8581, allocations: 45.17 kB / 0.6923 GB, free: 127.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.8597, allocations: 3.008 MB / 0.6952 GB, free: 125.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/0.8604, allocations: 0.5454 MB / 0.6957 GB, free: 125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.8616, allocations: 1.146 MB / 0.6969 GB, free: 124.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.8617, allocations: 306.6 kB / 0.6972 GB, free: 124.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.864, allocations: 1.937 MB / 0.6991 GB, free: 123.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004372/0.8684, allocations: 5.52 MB / 0.7044 GB, free: 118.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009497/0.8779, allocations: 8.095 MB / 0.7123 GB, free: 111.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002483/0.8783, allocations: 37.41 kB / 0.7124 GB, free: 111.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02722/0.9055, allocations: 7.942 MB / 0.7201 GB, free: 108.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005724/0.9061, allocations: 62.36 kB / 0.7202 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005771/0.9067, allocations: 133.1 kB / 0.7203 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/0.9116, allocations: 0.907 MB / 0.7212 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007074/0.9187, allocations: 1.29 MB / 0.7225 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.9241, allocations: 4.839 MB / 0.7272 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/0.9286, allocations: 297.6 kB / 0.7275 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009327/0.9296, allocations: 361.4 kB / 0.7278 GB, free: 105.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (684): * Single equations (assignments): 680 * 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.004066/0.9336, allocations: 1.986 MB / 0.7298 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008504/0.9345, allocations: 338.6 kB / 0.7301 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.9397, allocations: 2.791 MB / 0.7328 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/0.9397, allocations: 19.94 kB / 0.7328 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.9398, allocations: 4 kB / 0.7328 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.9398, allocations: 7.797 kB / 0.7328 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.9538, allocations: 7.255 MB / 0.7399 GB, free: 95.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.9538, allocations: 0 / 0.7399 GB, free: 95.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.955, allocations: 243.8 kB / 0.7402 GB, free: 95.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.957, allocations: 0.7108 MB / 0.7409 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.9572, allocations: 36.34 kB / 0.7409 GB, free: 94.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/0.9619, allocations: 4.43 MB / 0.7452 GB, free: 89.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/0.962, allocations: 11.86 kB / 0.7452 GB, free: 89.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04288/1.005, allocations: 26.82 MB / 0.7714 GB, free: 62.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/1.006, allocations: 392.6 kB / 0.7718 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007926/1.007, allocations: 24 kB / 0.7718 GB, free: 62.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.008, allocations: 75.91 kB / 0.7719 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/1.009, allocations: 96.52 kB / 0.772 GB, free: 61.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/1.009, allocations: 47.97 kB / 0.772 GB, free: 61.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003654/1.013, allocations: 2.485 MB / 0.7744 GB, free: 59.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.013, allocations: 0 / 0.7744 GB, free: 59.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005403/1.018, allocations: 1.182 MB / 0.7756 GB, free: 58.29 MB / 490.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 (104): * Single equations (assignments): 100 * 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.0003983/1.019, allocations: 158.7 kB / 0.7758 GB, free: 58.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005932/1.025, allocations: 4.606 MB / 0.7803 GB, free: 53.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.025, allocations: 3.938 kB / 0.7803 GB, free: 53.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.026, allocations: 1.366 MB / 0.7816 GB, free: 52.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.029, allocations: 400.6 kB / 0.782 GB, free: 51.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/1.044, allocations: 11.42 MB / 0.7931 GB, free: 40.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004076/1.048, allocations: 3.156 MB / 0.7962 GB, free: 37.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004402/1.053, allocations: 1.81 MB / 0.798 GB, free: 35.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008575/1.054, allocations: 255.3 kB / 0.7982 GB, free: 35.03 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/1.054, allocations: 0 / 0.7982 GB, free: 35.03 MB / 490.7 MB Notification: Performance of Templates: time 0.07007/1.124, allocations: 39.67 MB / 0.837 GB, free: 11.49 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches