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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009974/0.0009972, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.19 MB / 345.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8.375 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 63.55 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3008/0.4335, allocations: 44.51 MB / 0.5152 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02102/0.4546, allocations: 9.474 MB / 0.5245 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01159/0.4662, allocations: 196.6 kB / 0.5247 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.468, allocations: 404.7 kB / 0.5251 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006811/0.4749, allocations: 1.651 MB / 0.5267 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4767, allocations: 0.5358 MB / 0.5272 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008614/0.4853, allocations: 5.21 MB / 0.5323 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007155/0.4925, allocations: 5.124 MB / 0.5373 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.4945, allocations: 1.053 MB / 0.5383 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.4967, allocations: 1.816 MB / 0.5401 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.4971, allocations: 126.9 kB / 0.5402 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.4988, allocations: 0.9209 MB / 0.5411 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.5, allocations: 1.58 MB / 0.5426 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.5014, allocations: 1.849 MB / 0.5445 GB, free: 288 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005932/0.5074, allocations: 6.196 MB / 0.5505 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5074, allocations: 0 / 0.5505 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5074, allocations: 0 / 0.5505 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.5076, allocations: 0 / 0.5505 GB, free: 11.47 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01503/0.5226, allocations: 4.183 MB / 0.5546 GB, free: 7.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5227, allocations: 8.031 kB / 0.5546 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006978/0.5296, allocations: 1.913 MB / 0.5565 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.5344, allocations: 2.21 MB / 0.5586 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.5346, allocations: 228 kB / 0.5588 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007194/0.5353, allocations: 303.4 kB / 0.5591 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.5535, allocations: 10.05 MB / 0.5689 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.5536, allocations: 51.64 kB / 0.569 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/0.554, allocations: 138.9 kB / 0.5691 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003145/0.5572, allocations: 1.802 MB / 0.5709 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.575, allocations: 9.06 MB / 0.5797 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/0.6208, allocations: 37.19 MB / 0.6161 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/0.6348, allocations: 3.716 MB / 0.6197 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.6374, allocations: 1.71 MB / 0.6214 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000985/0.6384, allocations: 0.687 MB / 0.622 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.6385, allocations: 47.06 kB / 0.6221 GB, free: 500 kB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 5.761e-06/0.6385, allocations: 0 / 0.6221 GB, free: 500 kB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04407/0.6826, allocations: 12.91 MB / 0.6347 GB, free: 3.457 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.6827, allocations: 141.2 kB / 0.6348 GB, free: 3.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005652/0.6884, allocations: 3.955 MB / 0.6387 GB, free: 15.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.6886, allocations: 45.7 kB / 0.6387 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/0.6908, allocations: 2.969 MB / 0.6416 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000751/0.6916, allocations: 0.55 MB / 0.6422 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005902/0.6922, allocations: 486.1 kB / 0.6426 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6923, allocations: 305.1 kB / 0.6429 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002964/0.6953, allocations: 1.935 MB / 0.6448 GB, free: 9.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005956/0.7013, allocations: 5.513 MB / 0.6502 GB, free: 1.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.7121, allocations: 8.062 MB / 0.6581 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/0.7122, allocations: 40 kB / 0.6581 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01934/0.7316, allocations: 7.937 MB / 0.6658 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.7318, allocations: 60 kB / 0.6659 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002841/0.7321, allocations: 124 kB / 0.666 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/0.7351, allocations: 0.9069 MB / 0.6669 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004627/0.7397, allocations: 1.29 MB / 0.6682 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.7467, allocations: 4.846 MB / 0.6729 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/0.7516, allocations: 303.7 kB / 0.6732 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.7526, allocations: 360 kB / 0.6735 GB, free: 7.926 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (681): * Single equations (assignments): 677 * 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.004053/0.7567, allocations: 1.969 MB / 0.6755 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007935/0.7575, allocations: 331.7 kB / 0.6758 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005696/0.7632, allocations: 2.798 MB / 0.6785 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/0.7633, allocations: 16 kB / 0.6785 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7633, allocations: 3.938 kB / 0.6785 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.7633, allocations: 7.984 kB / 0.6785 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.7773, allocations: 7.222 MB / 0.6856 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.7774, allocations: 7.938 kB / 0.6856 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.7787, allocations: 255.8 kB / 0.6858 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.781, allocations: 0.7108 MB / 0.6865 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/0.7812, allocations: 39.91 kB / 0.6866 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.7874, allocations: 4.415 MB / 0.6909 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.7874, allocations: 7.969 kB / 0.6909 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008791/0.7962, allocations: 5.142 MB / 0.6959 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.7978, allocations: 392.7 kB / 0.6963 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/0.7982, allocations: 24 kB / 0.6963 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.7994, allocations: 86.41 kB / 0.6964 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/0.7998, allocations: 92.52 kB / 0.6965 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.7999, allocations: 43.98 kB / 0.6965 GB, free: 108 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004433/0.8043, allocations: 2.48 MB / 0.6989 GB, free: 13.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.4e-07/0.8044, allocations: 0 / 0.6989 GB, free: 13.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006288/0.8107, allocations: 0.8829 MB / 0.6998 GB, free: 12.77 MB / 0.545 GB 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.0005024/0.8112, allocations: 149.3 kB / 0.6999 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008179/0.8194, allocations: 4.613 MB / 0.7044 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.8194, allocations: 4 kB / 0.7044 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.8215, allocations: 1.365 MB / 0.7058 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.8248, allocations: 407.2 kB / 0.7062 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3142/1.139, allocations: 10.29 MB / 0.7162 GB, free: 153.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004356/1.143, allocations: 3.064 MB / 0.7192 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004999/1.148, allocations: 1.787 MB / 0.721 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008526/1.149, allocations: 254.1 kB / 0.7212 GB, free: 152.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.149, allocations: 0 / 0.7212 GB, free: 152.9 MB / 0.545 GB Notification: Performance of Templates: time 0.05815/1.207, allocations: 33.27 MB / 0.7537 GB, free: 138.4 MB / 0.545 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches