Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001582, allocations: 168.3 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.8 MB, free: 5.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3827/0.3827, allocations: 43.57 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005137, allocations: 16 kB / 384 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.154, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3154/0.4695, allocations: 60.1 MB / 0.4911 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0304/0.4999, allocations: 12.45 MB / 0.5033 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01508/0.515, allocations: 277.8 kB / 0.5036 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01396/0.529, allocations: 3.118 MB / 0.5066 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03412/0.5632, allocations: 9.107 MB / 0.5155 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.5687, allocations: 0.6212 MB / 0.5161 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.5801, allocations: 5.196 MB / 0.5212 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.5923, allocations: 6.013 MB / 0.527 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.5962, allocations: 1.476 MB / 0.5285 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.6005, allocations: 2.295 MB / 0.5307 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.6018, allocations: 172 kB / 0.5309 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.6051, allocations: 0.8075 MB / 0.5317 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003108/0.6082, allocations: 1.983 MB / 0.5336 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002197/0.6104, allocations: 1.006 MB / 0.5346 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008429/0.6188, allocations: 6.64 MB / 0.5411 GB, free: 11.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.6189, allocations: 4 kB / 0.5411 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6189, allocations: 0 / 0.5411 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003896/0.6193, allocations: 0 / 0.5411 GB, free: 11.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01784/0.6372, allocations: 5.367 MB / 0.5463 GB, free: 5.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.6372, allocations: 11.97 kB / 0.5463 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00716/0.6444, allocations: 2.032 MB / 0.5483 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006528/0.6509, allocations: 2.72 MB / 0.551 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.6513, allocations: 307.8 kB / 0.5513 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/0.653, allocations: 407.6 kB / 0.5517 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02671/0.6798, allocations: 12.88 MB / 0.5642 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002299/0.68, allocations: 51.55 kB / 0.5643 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.6815, allocations: 191.8 kB / 0.5645 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004304/0.6858, allocations: 2.37 MB / 0.5668 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02742/0.7133, allocations: 11.79 MB / 0.5783 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07246/0.7858, allocations: 48.08 MB / 0.6253 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2847/1.071, allocations: 5.718 MB / 0.6308 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/1.075, allocations: 3.608 MB / 0.6344 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008338/1.076, allocations: 0.6995 MB / 0.635 GB, free: 138.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.076, allocations: 61.05 kB / 0.6351 GB, free: 138.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 4.529e-06/1.076, allocations: 0 / 0.6351 GB, free: 138.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.07282/1.149, allocations: 28.49 MB / 0.6629 GB, free: 130.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.149, allocations: 157.2 kB / 0.6631 GB, free: 130.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/1.162, allocations: 4.495 MB / 0.6675 GB, free: 128.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009613/1.163, allocations: 61.77 kB / 0.6675 GB, free: 128.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004226/1.167, allocations: 3.543 MB / 0.671 GB, free: 125.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003003/1.17, allocations: 0.9519 MB / 0.6719 GB, free: 125.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/1.171, allocations: 136.9 kB / 0.6721 GB, free: 125.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006225/1.172, allocations: 0.5952 MB / 0.6726 GB, free: 124.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006129/1.178, allocations: 3.432 MB / 0.676 GB, free: 123.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007157/1.185, allocations: 7.379 MB / 0.6832 GB, free: 117.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/1.191, allocations: 4.899 MB / 0.688 GB, free: 115.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-05/1.191, allocations: 42.84 kB / 0.688 GB, free: 115.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01834/1.209, allocations: 11.75 MB / 0.6995 GB, free: 106.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.21, allocations: 64 kB / 0.6996 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/1.21, allocations: 136 kB / 0.6997 GB, free: 106.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/1.212, allocations: 1.142 MB / 0.7008 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006269/1.219, allocations: 1.784 MB / 0.7025 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/1.225, allocations: 6.011 MB / 0.7084 GB, free: 98.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007359/1.233, allocations: 426.9 kB / 0.7088 GB, free: 97.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/1.234, allocations: 455.8 kB / 0.7093 GB, free: 97.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006291/1.241, allocations: 2.424 MB / 0.7116 GB, free: 94.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/1.242, allocations: 410.7 kB / 0.712 GB, free: 94.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.254, allocations: 6.563 MB / 0.7184 GB, free: 87.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/1.254, allocations: 28 kB / 0.7184 GB, free: 87.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/1.254, allocations: 4 kB / 0.7184 GB, free: 87.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.393e-05/1.254, allocations: 15.95 kB / 0.7185 GB, free: 87.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.278, allocations: 13.78 MB / 0.7319 GB, free: 73.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.278, allocations: 4 kB / 0.7319 GB, free: 73.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/1.28, allocations: 0.5973 MB / 0.7325 GB, free: 73.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/1.283, allocations: 0.9451 MB / 0.7334 GB, free: 72.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/1.283, allocations: 91.84 kB / 0.7335 GB, free: 72.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006067/1.289, allocations: 5.744 MB / 0.7391 GB, free: 66.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.289, allocations: 4 kB / 0.7391 GB, free: 66.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.304, allocations: 11.05 MB / 0.7499 GB, free: 55.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002804/1.307, allocations: 0.9485 MB / 0.7508 GB, free: 54.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/1.308, allocations: 42.38 kB / 0.7509 GB, free: 54.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/1.311, allocations: 187.8 kB / 0.7511 GB, free: 54.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005881/1.312, allocations: 204.7 kB / 0.7513 GB, free: 53.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003772/1.312, allocations: 103.9 kB / 0.7514 GB, free: 53.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005724/1.318, allocations: 2.823 MB / 0.7541 GB, free: 50.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.318, allocations: 480 / 0.7541 GB, free: 50.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008597/1.327, allocations: 1.262 MB / 0.7554 GB, free: 49.65 MB / 494.1 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 (228): * Single equations (assignments): 224 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/1.328, allocations: 191.1 kB / 0.7555 GB, free: 49.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01315/1.341, allocations: 8.106 MB / 0.7635 GB, free: 41.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.341, allocations: 0 / 0.7635 GB, free: 41.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00463/1.346, allocations: 3.208 MB / 0.7666 GB, free: 38.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/1.351, allocations: 0.4936 MB / 0.7671 GB, free: 37.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/1.375, allocations: 14.63 MB / 0.7814 GB, free: 23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005531/1.381, allocations: 3.801 MB / 0.7851 GB, free: 19.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006749/1.388, allocations: 2.369 MB / 0.7874 GB, free: 16.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/1.39, allocations: 439 kB / 0.7878 GB, free: 16.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.973e-06/1.39, allocations: 0 / 0.7878 GB, free: 16.36 MB / 494.1 MB Notification: Performance of Templates: time 0.3506/1.74, allocations: 54.06 MB / 0.8406 GB, free: 139.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches